UNPKG

fhirbuilder

Version:
72 lines (71 loc) 2.36 kB
import { IElement } from 'fhirtypes/dist/r4'; import { ILocationPosition, IOperationOutcome } from 'fhirtypes/dist/r4'; import { BackboneElement, IValidatable, ISerializable } from '../base'; /** * @version R4 (v4.0.1) * @summary FHIR® Specification by HL7® * @description Class for LocationPosition BackboneElement undefined * @property {number} longitude * @property {IElement} _longitude * @property {number} latitude * @property {IElement} _latitude * @property {number} altitude * @property {IElement} _altitude * @author Roberto Araneda Espinoza */ export declare class LocationPosition extends BackboneElement implements ILocationPosition, IValidatable, ISerializable { /** * @description Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). */ longitude: number; /** * @description Extensions for longitude */ _longitude?: IElement; /** * @description Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). */ latitude: number; /** * @description Extensions for latitude */ _latitude?: IElement; /** * @description Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). */ altitude?: number; /** * @description Extensions for altitude */ _altitude?: IElement; /** * @description Returns a JSON representation of the model * @returns {Record<string, any>} */ toJson(): Record<string, any>; /** * @description Returns a string representation of the model * @returns {string} */ toString(): string; /** * @description Returns a pretty string representation of the model * @returns {string} */ toPrettyString(): string; /** * @description Returns a serialized string representation of the model * @returns {string} */ serialize(): string; /** * @description Validates the model * @returns {isValid: boolean, operationOutcome: IOperationOutcome} */ validate(): { isValid: boolean; operationOutcome: IOperationOutcome; }; constructor(args?: ILocationPosition); }