/** * FHIR Version R5 * The following is auto generated resource definition. * * OpenAPI spec version: 3.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { Annotation } from './annotation'; import { AppointmentParticipant } from './appointmentParticipant'; import { AppointmentRecurrenceTemplate } from './appointmentRecurrenceTemplate'; import { Code } from './code'; import { CodeableConcept } from './codeableConcept'; import { CodeableReference } from './codeableReference'; import { DateTime } from './dateTime'; import { Extension } from './extension'; import { Id } from './id'; import { Identifier } from './identifier'; import { Instant } from './instant'; import { Meta } from './meta'; import { Narrative } from './narrative'; import { Period } from './period'; import { PositiveInt } from './positiveInt'; import { Reference } from './reference'; import { ResourceList } from './resourceList'; import { Uri } from './uri'; import { VirtualServiceDetail } from './virtualServiceDetail'; /** * A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). */ export interface Appointment { /** * This is a Appointment resource */ resourceType: 'Appointment'; id?: Id; meta?: Meta; implicitRules?: Uri; language?: Code; text?: Narrative; /** * These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. */ contained?: Array; /** * May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. */ extension?: Array; /** * May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). */ modifierExtension?: Array; /** * This records identifiers associated with this appointment concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). */ identifier?: Array; status?: Code; cancellationReason?: CodeableConcept; /** * Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations. */ _class?: Array; /** * A broad categorization of the service that is to be performed during this appointment. */ serviceCategory?: Array; /** * The specific service that is to be performed during this appointment. */ serviceType?: Array; /** * The specialty of a practitioner that would be required to perform the service requested in this appointment. */ specialty?: Array; appointmentType?: CodeableConcept; /** * The reason that this appointment is being scheduled. This is more clinical than administrative. This can be coded, or as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure. */ reason?: Array; priority?: CodeableConcept; description?: string; /** * Appointment replaced by this Appointment in cases where there is a cancellation, the details of the cancellation can be found in the cancellationReason property (on the referenced resource). */ replaces?: Array; /** * Connection details of a virtual service (e.g. conference call). */ virtualService?: Array; /** * Additional information to support the appointment provided when making the appointment. */ supportingInformation?: Array; previousAppointment?: Reference; originatingAppointment?: Reference; start?: Instant; end?: Instant; minutesDuration?: PositiveInt; /** * A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within. The duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system. */ requestedPeriod?: Array; /** * The slots from the participants' schedules that will be filled by the appointment. */ slot?: Array; /** * The set of accounts that is expected to be used for billing the activities that result from this Appointment. */ account?: Array; created?: Date; cancellationDate?: Date; /** * Additional notes/comments about the appointment. */ note?: Array; /** * While Appointment.note contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before). */ patientInstruction?: Array; /** * The request this appointment is allocated to assess (e.g. incoming referral or procedure request). */ basedOn?: Array; subject?: Reference; /** * List of participants involved in the appointment. */ participant: Array; recurrenceId?: PositiveInt; occurrenceChanged?: boolean; /** * The details of the recurrence pattern or template that is used to generate recurring appointments. */ recurrenceTemplate?: Array; }