UNPKG

fhirbuilder

Version:
57 lines (56 loc) 1.89 kB
import { IElement, IPeriod } from 'fhirtypes/dist/r4'; import { IHealthcareServiceNotAvailable, IOperationOutcome } from 'fhirtypes/dist/r4'; import { BackboneElement, IValidatable, ISerializable } from '../base'; /** * @version R4 (v4.0.1) * @summary FHIR® Specification by HL7® * @description Class for HealthcareServiceNotAvailable BackboneElement undefined * @property {string} description * @property {IElement} _description * @property {IPeriod} during * @author Roberto Araneda Espinoza */ export declare class HealthcareServiceNotAvailable extends BackboneElement implements IHealthcareServiceNotAvailable, IValidatable, ISerializable { /** * @description The reason that can be presented to the user as to why this time is not available. */ description: string; /** * @description Extensions for description */ _description?: IElement; /** * @description Service is not available (seasonally or for a public holiday) from this date. */ during?: 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?: IHealthcareServiceNotAvailable); }