UNPKG

@ahryman40k/ts-fhir-types

Version:

Typescript / Javascript object model for FHIR standard Model follows FHIR R4 specifications.

70 lines (69 loc) 2.29 kB
import * as t from 'io-ts'; import { IMeta } from './RTTI_Meta'; import { IElement } from './RTTI_Element'; import { INarrative } from './RTTI_Narrative'; import { IResourceList } from '../Union/RTTI_ResourceList'; import { IExtension } from './RTTI_Extension'; import { IIdentifier } from './RTTI_Identifier'; import { ICodeableConcept } from './RTTI_CodeableConcept'; import { IReference } from './RTTI_Reference'; import { IAppointment_Participant } from './RTTI_Appointment_Participant'; import { IPeriod } from './RTTI_Period'; export declare enum AppointmentStatusKind { _proposed = "proposed", _pending = "pending", _booked = "booked", _arrived = "arrived", _fulfilled = "fulfilled", _cancelled = "cancelled", _noshow = "noshow", _enteredInError = "entered-in-error", _checkedIn = "checked-in", _waitlist = "waitlist" } import { IDomainResource } from './IDomainResource'; export interface IAppointment extends IDomainResource { resourceType: 'Appointment'; participant: IAppointment_Participant[]; id?: string; meta?: IMeta; implicitRules?: string; _implicitRules?: IElement; language?: string; _language?: IElement; text?: INarrative; contained?: IResourceList[]; extension?: IExtension[]; modifierExtension?: IExtension[]; identifier?: IIdentifier[]; status?: AppointmentStatusKind; _status?: IElement; cancelationReason?: ICodeableConcept; serviceCategory?: ICodeableConcept[]; serviceType?: ICodeableConcept[]; specialty?: ICodeableConcept[]; appointmentType?: ICodeableConcept; reasonCode?: ICodeableConcept[]; reasonReference?: IReference[]; priority?: number; _priority?: IElement; description?: string; _description?: IElement; supportingInformation?: IReference[]; start?: string; _start?: IElement; end?: string; _end?: IElement; minutesDuration?: number; _minutesDuration?: IElement; slot?: IReference[]; created?: string; _created?: IElement; comment?: string; _comment?: IElement; patientInstruction?: string; _patientInstruction?: IElement; basedOn?: IReference[]; requestedPeriod?: IPeriod[]; } export declare const RTTI_Appointment: t.Type<IAppointment>;