This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions
Patient Administration Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner, RelatedPerson |
This is a representation of the json schema for Appointment, which is just a part of the full JSON Schema.
{ "$schema": "http://json-schema.org/draft-06/schema#", "id": "http://hl7.org/fhir/json-schema/Appointment", "$ref": "#/definitions/Appointment", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "Appointment": { "description": "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).", "properties": { "resourceType": { "description": "This is a Appointment resource", "const": "Appointment" }, "id": { "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "$ref": "id.schema.json#/definitions/id" }, "meta": { "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "$ref": "Meta.schema.json#/definitions/Meta" }, "implicitRules": { "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "$ref": "#/definitions/uri" }, "_implicitRules": { "description": "Extensions for implicitRules", "$ref": "Element.schema.json#/definitions/Element" }, "language": { "description": "The base language in which the resource is written.", "$ref": "#/definitions/code" }, "_language": { "description": "Extensions for language", "$ref": "Element.schema.json#/definitions/Element" }, "text": { "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "$ref": "Narrative.schema.json#/definitions/Narrative" }, "contained": { "description": "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.", "items": { "$ref": "ResourceList.schema.json#/definitions/ResourceList" }, "type": "array" }, "extension": { "description": "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.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "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\u0027s 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "identifier": { "description": "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).", "items": { "$ref": "Identifier.schema.json#/definitions/Identifier" }, "type": "array" }, "status": { "description": "The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.", "$ref": "#/definitions/code" }, "_status": { "description": "Extensions for status", "$ref": "Element.schema.json#/definitions/Element" }, "cancellationReason": { "description": "The coded reason for the appointment being cancelled. This is often used in reporting/billing/further processing to determine if further actions are required, or specific fees apply.", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "class": { "description": "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "serviceCategory": { "description": "A broad categorization of the service that is to be performed during this appointment.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "serviceType": { "description": "The specific service that is to be performed during this appointment.", "items": { "$ref": "CodeableReference.schema.json#/definitions/CodeableReference" }, "type": "array" }, "specialty": { "description": "The specialty of a practitioner that would be required to perform the service requested in this appointment.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "appointmentType": { "description": "The style of appointment or patient that has been booked in the slot (not service type).", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "reason": { "description": "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.", "items": { "$ref": "CodeableReference.schema.json#/definitions/CodeableReference" }, "type": "array" }, "priority": { "description": "The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority).", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "description": { "description": "The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the note field.", "$ref": "#/definitions/string" }, "_description": { "description": "Extensions for description", "$ref": "Element.schema.json#/definitions/Element" }, "replaces": { "description": "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).", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "virtualService": { "description": "Connection details of a virtual service (e.g. conference call).", "items": { "$ref": "VirtualServiceDetail.schema.json#/definitions/VirtualServiceDetail" }, "type": "array" }, "supportingInformation": { "description": "Additional information to support the appointment provided when making the appointment.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "previousAppointment": { "description": "The previous appointment in a series of related appointments.", "$ref": "Reference.schema.json#/definitions/Reference" }, "originatingAppointment": { "description": "The originating appointment in a recurring set of related appointments.", "$ref": "Reference.schema.json#/definitions/Reference" }, "start": { "description": "Date/Time that the appointment is to take place.", "$ref": "#/definitions/instant" }, "_start": { "description": "Extensions for start", "$ref": "Element.schema.json#/definitions/Element" }, "end": { "description": "Date/Time that the appointment is to conclude.", "$ref": "#/definitions/instant" }, "_end": { "description": "Extensions for end", "$ref": "Element.schema.json#/definitions/Element" }, "minutesDuration": { "description": "Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.", "$ref": "#/definitions/positiveInt" }, "_minutesDuration": { "description": "Extensions for minutesDuration", "$ref": "Element.schema.json#/definitions/Element" }, "requestedPeriod": { "description": "A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within.\n\nThe 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.", "items": { "$ref": "Period.schema.json#/definitions/Period" }, "type": "array" }, "slot": { "description": "The slots from the participants\u0027 schedules that will be filled by the appointment.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "account": { "description": "The set of accounts that is expected to be used for billing the activities that result from this Appointment.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "created": { "description": "The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.", "$ref": "#/definitions/dateTime" }, "_created": { "description": "Extensions for created", "$ref": "Element.schema.json#/definitions/Element" }, "cancellationDate": { "description": "The date/time describing when the appointment was cancelled.", "$ref": "#/definitions/dateTime" }, "_cancellationDate": { "description": "Extensions for cancellationDate", "$ref": "Element.schema.json#/definitions/Element" }, "note": { "description": "Additional notes/comments about the appointment.", "items": { "$ref": "Annotation.schema.json#/definitions/Annotation" }, "type": "array" }, "patientInstruction": { "description": "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).", "items": { "$ref": "CodeableReference.schema.json#/definitions/CodeableReference" }, "type": "array" }, "basedOn": { "description": "The request this appointment is allocated to assess (e.g. incoming referral or procedure request).", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "subject": { "description": "The patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.", "$ref": "Reference.schema.json#/definitions/Reference" }, "participant": { "description": "List of participants involved in the appointment.", "items": { "$ref": "#/definitions/Appointment_Participant" }, "type": "array" }, "recurrenceId": { "description": "The sequence number that identifies a specific appointment in a recurring pattern.", "$ref": "#/definitions/positiveInt" }, "_recurrenceId": { "description": "Extensions for recurrenceId", "$ref": "Element.schema.json#/definitions/Element" }, "occurrenceChanged": { "description": "This appointment varies from the recurring pattern.", "$ref": "#/definitions/boolean" }, "_occurrenceChanged": { "description": "Extensions for occurrenceChanged", "$ref": "Element.schema.json#/definitions/Element" }, "recurrenceTemplate": { "description": "The details of the recurrence pattern or template that is used to generate recurring appointments.", "items": { "$ref": "#/definitions/Appointment_RecurrenceTemplate" }, "type": "array" } }, "type": "object", "additionalProperties": false, "required": [ "participant", "resourceType" ] }, "Appointment_Participant": { "description": "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).", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "type": { "description": "Role of participant in the appointment.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "period": { "description": "Participation period of the actor.", "$ref": "Period.schema.json#/definitions/Period" }, "actor": { "description": "The individual, device, location, or service participating in the appointment.", "$ref": "Reference.schema.json#/definitions/Reference" }, "required": { "description": "Whether this participant is required to be present at the meeting. If false, the participant is optional.", "$ref": "#/definitions/boolean" }, "_required": { "description": "Extensions for required", "$ref": "Element.schema.json#/definitions/Element" }, "status": { "description": "Participation status of the actor.", "$ref": "#/definitions/code" }, "_status": { "description": "Extensions for status", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "Appointment_RecurrenceTemplate": { "description": "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).", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "timezone": { "description": "The timezone of the recurring appointment occurrences.", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "recurrenceType": { "description": "How often the appointment series should recur.", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "lastOccurrenceDate": { "description": "Recurring appointments will not occur after this date.", "$ref": "#/definitions/date" }, "_lastOccurrenceDate": { "description": "Extensions for lastOccurrenceDate", "$ref": "Element.schema.json#/definitions/Element" }, "occurrenceCount": { "description": "How many appointments are planned in the recurrence.", "$ref": "#/definitions/positiveInt" }, "_occurrenceCount": { "description": "Extensions for occurrenceCount", "$ref": "Element.schema.json#/definitions/Element" }, "occurrenceDate": { "description": "The list of specific dates that will have appointments generated.", "items": { "$ref": "#/definitions/date" }, "type": "array" }, "_occurrenceDate": { "description": "Extensions for occurrenceDate", "items": { "$ref": "Element.schema.json#/definitions/Element" }, "type": "array" }, "weeklyTemplate": { "description": "Information about weekly recurring appointments.", "$ref": "#/definitions/Appointment_WeeklyTemplate" }, "monthlyTemplate": { "description": "Information about monthly recurring appointments.", "$ref": "#/definitions/Appointment_MonthlyTemplate" }, "yearlyTemplate": { "description": "Information about yearly recurring appointments.", "$ref": "#/definitions/Appointment_YearlyTemplate" }, "excludingDate": { "description": "Any dates, such as holidays, that should be excluded from the recurrence.", "items": { "$ref": "#/definitions/date" }, "type": "array" }, "_excludingDate": { "description": "Extensions for excludingDate", "items": { "$ref": "Element.schema.json#/definitions/Element" }, "type": "array" }, "excludingRecurrenceId": { "description": "Any dates, such as holidays, that should be excluded from the recurrence.", "items": { "$ref": "#/definitions/positiveInt" }, "type": "array" }, "_excludingRecurrenceId": { "description": "Extensions for excludingRecurrenceId", "items": { "$ref": "Element.schema.json#/definitions/Element" }, "type": "array" } }, "type": "object", "additionalProperties": false, "required": [ "recurrenceType" ] }, "Appointment_WeeklyTemplate": { "description": "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).", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "monday": { "description": "Indicates that recurring appointments should occur on Mondays.", "$ref": "#/definitions/boolean" }, "_monday": { "description": "Extensions for monday", "$ref": "Element.schema.json#/definitions/Element" }, "tuesday": { "description": "Indicates that recurring appointments should occur on Tuesdays.", "$ref": "#/definitions/boolean" }, "_tuesday": { "description": "Extensions for tuesday", "$ref": "Element.schema.json#/definitions/Element" }, "wednesday": { "description": "Indicates that recurring appointments should occur on Wednesdays.", "$ref": "#/definitions/boolean" }, "_wednesday": { "description": "Extensions for wednesday", "$ref": "Element.schema.json#/definitions/Element" }, "thursday": { "description": "Indicates that recurring appointments should occur on Thursdays.", "$ref": "#/definitions/boolean" }, "_thursday": { "description": "Extensions for thursday", "$ref": "Element.schema.json#/definitions/Element" }, "friday": { "description": "Indicates that recurring appointments should occur on Fridays.", "$ref": "#/definitions/boolean" }, "_friday": { "description": "Extensions for friday", "$ref": "Element.schema.json#/definitions/Element" }, "saturday": { "description": "Indicates that recurring appointments should occur on Saturdays.", "$ref": "#/definitions/boolean" }, "_saturday": { "description": "Extensions for saturday", "$ref": "Element.schema.json#/definitions/Element" }, "sunday": { "description": "Indicates that recurring appointments should occur on Sundays.", "$ref": "#/definitions/boolean" }, "_sunday": { "description": "Extensions for sunday", "$ref": "Element.schema.json#/definitions/Element" }, "weekInterval": { "description": "The interval defines if the recurrence is every nth week. The default is every week, so it is expected that this value will be 2 or more.\r\re.g. For recurring every second week this interval would be 2, or every third week the interval would be 3.", "$ref": "#/definitions/positiveInt" }, "_weekInterval": { "description": "Extensions for weekInterval", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "Appointment_MonthlyTemplate": { "description": "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).", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "dayOfMonth": { "description": "Indicates that appointments in the series of recurring appointments should occur on a specific day of the month.", "$ref": "#/definitions/positiveInt" }, "_dayOfMonth": { "description": "Extensions for dayOfMonth", "$ref": "Element.schema.json#/definitions/Element" }, "nthWeekOfMonth": { "description": "Indicates which week within a month the appointments in the series of recurring appointments should occur on.", "$ref": "Coding.schema.json#/definitions/Coding" }, "dayOfWeek": { "description": "Indicates which day of the week the recurring appointments should occur each nth week.", "$ref": "Coding.schema.json#/definitions/Coding" }, "monthInterval": { "description": "Indicates that recurring appointments should occur every nth month.", "$ref": "#/definitions/positiveInt" }, "_monthInterval": { "description": "Extensions for monthInterval", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "Appointment_YearlyTemplate": { "description": "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).", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "yearInterval": { "description": "Appointment recurs every nth year.", "$ref": "#/definitions/positiveInt" }, "_yearInterval": { "description": "Extensions for yearInterval", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false } } }