UNPKG

fhirbuilder

Version:
57 lines (56 loc) 1.83 kB
import { EncounterStatusType, IElement, IPeriod } from 'fhirtypes/dist/r4'; import { IEncounterStatusHistory, IOperationOutcome } from 'fhirtypes/dist/r4'; import { BackboneElement, IValidatable, ISerializable } from '../base'; /** * @version R4 (v4.0.1) * @summary FHIR® Specification by HL7® * @description Class for EncounterStatusHistory BackboneElement undefined * @property {string} status * @property {IElement} _status * @property {IPeriod} period * @author Roberto Araneda Espinoza */ export declare class EncounterStatusHistory extends BackboneElement implements IEncounterStatusHistory, IValidatable, ISerializable { /** * @description planned | arrived | triaged | in-progress | onleave | finished | cancelled +. */ status: EncounterStatusType; /** * @description Extensions for status */ _status?: IElement; /** * @description The time that the episode was in the specified status. */ period: IPeriod; /** * @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?: IEncounterStatusHistory); }