UNPKG

fhirbuilder

Version:
56 lines (55 loc) 1.87 kB
import { EpisodeOfCareStatusType, IElement, IPeriod } from 'fhirtypes/dist/r4'; import { IEpisodeOfCareStatusHistory, IOperationOutcome } from 'fhirtypes/dist/r4'; import { BackboneElement, IValidatable, ISerializable } from '../base'; /** * @version R4 (v4.0.1) * @summary FHIR® Specification by HL7® * @description Class for EpisodeOfCareStatusHistory BackboneElement * @property {EpisodeOfCareStatusHistoryCodeType} status * @property {IElement} _status * @property {IPeriod} period * @author Roberto Araneda Espinoza */ export declare class EpisodeOfCareStatusHistory extends BackboneElement implements IEpisodeOfCareStatusHistory, IValidatable, ISerializable { /** * @description planned | waitlist | active | onhold | finished | cancelled. */ status: EpisodeOfCareStatusType; /** * @description Extensions for status */ _status?: IElement; /** * @description The period during this EpisodeOfCare that the specific status applied. */ 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?: IEpisodeOfCareStatusHistory); }