DSTU2

This page is part of the FHIR Specification (v0.0.82: (v1.0.2: DSTU 1). 2). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

5.26 5.27 Resource Appointment - Content

This resource maintained by the
Patient Administration Work Group Maturity Level : 1 Compartments : Device , Patient , Practitioner , RelatedPerson

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).

5.26.1 5.27.1 Scope and Usage

Appointment resources are used to provide information about a planned meeting that may be in the future or past. The resource only describes a single meeting, a series of repeating visits would require multiple appointment resources be created for each instance. Examples include a scheduled surgery, a follow-up for a clinical visit, a scheduled conference call between clinicians to discuss a case, the reservation of a piece of diagnostic equipment for a particular use, etc. The visit scheduled by an appointment may be in person or remote (by phone, video conference, etc.) All that matters is that the time and usage of one or more individuals, locations and/or pieces of equipment is being fully or partially reserved for a designated period of time.

This definition takes the concepts of appointments in a clinical setting and also extends them to be relevant in the community healthcare space, and also ease exposure to other appointment / calendar standards widely used outside of healthcare.

5.26.1.1 5.27.1.1 The basic workflow to create an appointment

  • Discovery/Addressing

    Before an appointment can be made the address address/endpoint details of the resource that we want to schedule an appointment with must be determined. This is often based on the healthcare Service Type, any formatting information which indicates how to make the request. This is typically handled via the Schedule resource.

  • Checking Availability on the Schedule(optional)

    This optional step permits the checking of any existing available times ( slot resources associated with a selected schedule ) that can be booked against. Just because a time is indicated it is available doesn't guarantee that an appointment can be made. The booking system that is going to process the request may make other qualifying decisions to determine if the appointment can be made, such as permissions, assessments, availability of other resources etc.

    This step is optional as the creation of the appointment is never a guaranteed action. But by performing this availability check, you can increase the chances of making a successful booking.

  • Making the Appointment Request

    The request is performed by posting When an appointment is required, a requester creates new Appointment to resource with the address found during discovery. This will Appointment.status="proposed".
    All included participants (optional or mandatory) should have a needs-action status for each of the participants. (The system that receives the request may modify the status of any posted appointment based status="needs-action" to allow filtering and displaying appointments to user-participants for accepting or rejecting new and updated requests. Based on internal system business rules, such as certain users do statuses may be automatically updated, for example: "reject because the requested participant is on vacation" or "this type of user is not have permission allowed to request certain appointments) those specific appointments".

  • Replying to the request

    The reply process is simply performed by the person/system handing the requests updating the Participant Statuses participant statuses as needed. If there are multiple systems involved, then these will create AppointmentResponse entries with the desired statuses.

    Once all participants have their participation status created/updated (and the main system marking the appointment participant records with the AppointmentResponse statuses) then the overall status of the appointment is updated.

  • Checking the overall status (Requester)

    The Requester requester (organizer) of the appointment checks for the overall status of the appointment (and appointmentresponses appointment responses, where applicable) using fhir FHIR pub-sub techniques.

    Where the participant statuses indicate that a re-scheduling is required, then the process may start again, with other systems replying to a new set of times.

5.26.1.2 5.27.1.2 There are 2 typical workflows that occur with appointments

  • Outlook Style - Community

    These types of requests are typically handled by selecting a specific time from a list of available slots. Then making the request for that timeslot.

  • Hospital Scheduling - Clinical

    Clinical scheduling is often far more complex in its requirements and processing. Often this involves checking multiple availabilities across multiple systems and timing with other internal systems, not just those exposed by the Slot resources.

    Consideration should be given to situations where scheduling needs to be handled in more of a queue-like process.

    Note: This type of clinical appointment scheduling has not been specifically covered with this definition of the appointment (and the related resources), however if you would like to contribute to the modification of this resource to cover these use cases, please contact the HL7 Patient Administration work-group.

5.26.2 5.27.2 Boundaries and Relationships

5.26.2.1 5.27.2.1 Appointment Request/Response Pattern

When using a request response style of appointment this is done using Appointment and AppointmentResponse resources.
The request is made in the form of an Appointment with a proposed or pending status, and the list of actors with a participation status of "needs-action".

Participants in the appointment respond their acceptance (or not) to the appointment by creating AppointmentResponse resources.
Once all the participants have replied, then the appointment resource is able to be updated with an overall status which collates the results of all the participants and presents the approved details of the appointment.

The participant type property can be used to represent a specific role that a practitioner is required to perform for the appointment. This could be specified without an actor when the actual practitioner is not known, and will be filled in closer to the scheduled time.
This property must be the same between the Appointment-participant and the AppointmentResponse so that the appropriate values can be allocated. If you need multiple actors of a specific type, then multiple participants with that type value are included on the appointment.

5.27.2.2 Appointment Statuses and Encounters

Appointments can be considered as Administrative only, and the Encounter is expected to have Clinical implications.

In general it is expected that appointments will result in the creation of an Encounter. The encounter is typically created when the service starts, not when the patient arrives. When the patient arrives, an appointment can be marked with a status of Arrived.

In an Emergency Room context, this appointment resource is probably not appropriate to be used. In these cases an encounter should be created.

The Appointment request pattern used is different to the order-response pattern used elsewhere in FHIR.
This is due to the close relationship to the iCAL standard. Many non-clinical systems use generic non health appointment systems which implement this standard, and the desire to integrate with the consumer who has no access to health based software is highly desirable.
The mappings to the iCAL standard has have been provided to guide implementation of gateways between FHIR servers and iCAL systems.

5.26.2.2 5.27.2.3 Appointment Locations and Participation

The Location of the appointment is to be defined by using a participant that references a location or HealthcareService.
This permits the location to also have its availability checked via a schedule and any conflicts more easily managed.

This resource is referenced by AppointmentResponse , CarePlan , ClinicalImpression and Encounter

5.26.3 5.27.3 Resource Content

Structure

The reason that The priority of the appointment. Can be used The brief description of the appointment as would be shown 1..1 Date/Time that the 1..1 Date/Time that the The slot that this appointment is filling. If provided then the schedule will not Additional comments about the appointment An Order that lead to the creation of this appointment List of participants A
Name Flags Card. Type Description & Constraints doco
. . Appointment I DomainResource 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)
Only proposed or cancelled appointments can be missing start/end dates
Either start and end are specified, or neither
. . . identifier Σ 0..* Identifier External Ids for this item
. . . status ?! Σ 1..1 code proposed | pending | booked | arrived | fulfilled | cancelled | noshow
AppointmentStatus ( Required )
. . . type Σ 0..1 CodeableConcept The type of appointment that is being booked
DocumentC80PracticeSetting Practice Setting Code Value Set ( Preferred )
. . . reason Σ 0..1 CodeableConcept Reason this appointment is being scheduled, this is more clinical than administrative scheduled
ApptReason Encounter Reason Codes ( Required )
. . . priority 0..1 integer unsignedInt 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)
. . . description 0..1 string Shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field list
. . . start Σ 0..1 instant When appointment is to take place
. . . end Σ 0..1 instant When appointment is to conclude
. . slot . minutesDuration 0..* 0..1 Slot positiveInt Can be provided as slots are not recursive, and the less than start/end values MUST be the same as from the slot (e.g. estimate)
. . comment . slot 0..1 0..* string Reference ( Slot ) If provided, then no schedule and start/end values MUST match slot
. . order . comment 0..1 Order string Additional comments
. . . participant I 1..* Element BackboneElement Participants involved in the appointment
Either the type or actor on the participant MUST be specified
. . . . type Σ 0..* CodeableConcept Role of participant in the appointment
ParticipantType ( Required )
. . . . actor Σ 0..1 Reference ( Patient | Practitioner | RelatedPerson | Device | HealthcareService | Location ) Person, Location/HealthcareService or Device that is participating in the appointment
. . . . required Σ 0..1 code required | optional | information-only
ParticipantRequired ( Required )
. . . . status 1..1 code accepted | declined | tentative | needs-action
ParticipationStatus ( Required )

doco Documentation for this format

UML Diagram

Appointment ( DomainResource ) This records identifiers associated with this appointment concern that are defined by business processed and/ or 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 : Identifier 0..* [0..*] 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 (this element modifies the meaning of other elements) status : code 1..1 [1..1] « The free/busy status of an appointment appointment. (Strength=Required) AppointmentStatus ! » The type of appointment that is being booked (This may also be associated with participants for location, and/or a HealthcareService) type : CodeableConcept 0..1 [0..1] « Additional details about where the content was created (e.g. clinical specialty) specialty). (Strength=Preferred) DocumentC80PracticeSetting Practice Setting Code Value S... + ? » The reason that this appointment is being scheduled, this scheduled. This is more clinical than administrative reason : CodeableConcept 0..1 [0..1] « The Reason for the appointment to take place place. (Strength=Required) ApptReason Encounter Reason ! » 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) priority : integer unsignedInt 0..1 [0..1] 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 comment field description : string 0..1 [0..1] Date/Time that the appointment is to take place start : instant 1..1 [0..1] Date/Time that the appointment is to conclude end : instant 1..1 [0..1] Number of minutes that the appointment is to take. This can be less than the duration between the start and end times (where actual time of appointment is only an estimate or is a planned appointment request) minutesDuration : positiveInt [0..1] The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot slot : Reference ( [0..*] « Slot ) 0..* » Additional comments about the appointment comment : string 0..1 [0..1] An Order that lead to the creation of this appointment order : Reference ( Order ) 0..1 Participant Role of participant in the appointment type : CodeableConcept 0..* [0..*] « Role of participant in encounter encounter. (Strength=Required) ParticipantType ! » A Person, Location/HealthcareService or Device that is participating in the appointment actor : Reference ( [0..1] « Patient | Practitioner | RelatedPerson | Device | HealthcareService | Location ) 0..1 » Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present required : code 0..1 [0..1] « Is the Participant required to attend the appointment appointment. (Strength=Required) ParticipantRequired ! » Participation status of the Patient status : code 1..1 [1..1] « The Participation status of an appointment appointment. (Strength=Required) ParticipationStatus ! » List of participants involved in the appointment participant 1..* [1..*]

XML Template

<Appointment xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <</identifier>
 <

 <identifier><!-- 0..* Identifier External Ids for this item --></identifier>
 <status value="[code]"/><!-- 1..1 proposed | pending | booked | arrived | fulfilled | cancelled | noshow -->

 <type><!-- 0..1 CodeableConcept The type of appointment that is being booked --></type>
 <</reason>
 <
     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)
 <
     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 comment field
 <
 <
 <
     The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot</slot>
 <
 <</order>
 <

 <reason><!-- 0..1 CodeableConcept Reason this appointment is scheduled --></reason>
 <priority value="[unsignedInt]"/><!-- 0..1 Used to make informed decisions if needing to re-prioritize -->
 <description value="[string]"/><!-- 0..1 Shown on a subject line in a meeting request, or appointment list -->
 <start value="[instant]"/><!-- 0..1 When appointment is to take place -->
 <end value="[instant]"/><!-- 0..1 When appointment is to conclude -->
 <minutesDuration value="[positiveInt]"/><!-- 0..1 Can be less than start/end (e.g. estimate) -->
 <slot><!-- 0..* Reference(Slot) If provided, then no schedule and start/end values MUST match slot --></slot>
 <comment value="[string]"/><!-- 0..1 Additional comments -->
 <participant>  <!-- 1..* Participants involved in appointment -->

  <type><!-- 0..* CodeableConcept Role of participant in the appointment --></type>
  <actor><!-- 0..1 Reference(Patient|Practitioner|RelatedPerson|Device|
    
      A Person, Location/HealthcareService or Device that is participating in the appointment</actor>
  <
  <

    HealthcareService|Location) Person, Location/HealthcareService or Device --></actor>
  <required value="[code]"/><!-- 0..1 required | optional | information-only -->
  <status value="[code]"/><!-- 1..1 accepted | declined | tentative | needs-action -->

 </participant>
</Appointment>

JSON Template

{doco
  "resourceType" : "Appointment",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "
  "

  "identifier" : [{ Identifier }], // External Ids for this item
  "status" : "<code>", // R!  proposed | pending | booked | arrived | fulfilled | cancelled | noshow

  "type" : { CodeableConcept }, // The type of appointment that is being booked
  "
  "
     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)
  "
     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 comment field
  "
  "
  "
     The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot
  "
  "
  "

  "reason" : { CodeableConcept }, // Reason this appointment is scheduled
  "priority" : "<unsignedInt>", // Used to make informed decisions if needing to re-prioritize
  "description" : "<string>", // Shown on a subject line in a meeting request, or appointment list
  "start" : "<instant>", // When appointment is to take place
  "end" : "<instant>", // When appointment is to conclude
  "minutesDuration" : "<positiveInt>", // Can be less than start/end (e.g. estimate)
  "slot" : [{ Reference(Slot) }], // If provided, then no schedule and start/end values MUST match slot
  "comment" : "<string>", // Additional comments
  "participant" : [{ // R!  Participants involved in appointment

    "type" : [{ CodeableConcept }], // Role of participant in the appointment
    "actor" : { Reference(Patient|Practitioner|RelatedPerson|Device|
    
      A Person, Location/HealthcareService or Device that is participating in the appointment
    "
    "

    HealthcareService|Location) }, // Person, Location/HealthcareService or Device
    "required" : "<code>", // required | optional | information-only
    "status" : "<code>" // R!  accepted | declined | tentative | needs-action

  }]
}

Structure

The reason that The priority of the appointment. Can be used The brief description of the appointment as would be shown 1..1 Date/Time that the 1..1 Date/Time that the The slot that this appointment is filling. If provided then the schedule will not Additional comments about the appointment An Order that lead to the creation of this appointment List of participants A
Name Flags Card. Type Description & Constraints doco
. . Appointment I DomainResource 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)
Only proposed or cancelled appointments can be missing start/end dates
Either start and end are specified, or neither
. . . identifier Σ 0..* Identifier External Ids for this item
. . . status ?! Σ 1..1 code proposed | pending | booked | arrived | fulfilled | cancelled | noshow
AppointmentStatus ( Required )
. . . type Σ 0..1 CodeableConcept The type of appointment that is being booked
DocumentC80PracticeSetting Practice Setting Code Value Set ( Preferred )
. . . reason Σ 0..1 CodeableConcept Reason this appointment is being scheduled, this is more clinical than administrative scheduled
ApptReason Encounter Reason Codes ( Required )
. . . priority 0..1 integer unsignedInt 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)
. . . description 0..1 string Shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field list
. . . start Σ 0..1 instant When appointment is to take place
. . . end Σ 0..1 instant When appointment is to conclude
. . slot . minutesDuration 0..* 0..1 Slot positiveInt Can be provided as slots are not recursive, and the less than start/end values MUST be the same as from the slot (e.g. estimate)
. . comment . slot 0..1 0..* string Reference ( Slot ) If provided, then no schedule and start/end values MUST match slot
. . order . comment 0..1 Order string Additional comments
. . . participant I 1..* Element BackboneElement Participants involved in the appointment
Either the type or actor on the participant MUST be specified
. . . . type Σ 0..* CodeableConcept Role of participant in the appointment
ParticipantType ( Required )
. . . . actor Σ 0..1 Reference ( Patient | Practitioner | RelatedPerson | Device | HealthcareService | Location ) Person, Location/HealthcareService or Device that is participating in the appointment
. . . . required Σ 0..1 code required | optional | information-only
ParticipantRequired ( Required )
. . . . status 1..1 code accepted | declined | tentative | needs-action
ParticipationStatus ( Required )

doco Documentation for this format

UML Diagram

Appointment ( DomainResource ) This records identifiers associated with this appointment concern that are defined by business processed and/ or 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 : Identifier 0..* [0..*] 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 (this element modifies the meaning of other elements) status : code 1..1 [1..1] « The free/busy status of an appointment appointment. (Strength=Required) AppointmentStatus ! » The type of appointment that is being booked (This may also be associated with participants for location, and/or a HealthcareService) type : CodeableConcept 0..1 [0..1] « Additional details about where the content was created (e.g. clinical specialty) specialty). (Strength=Preferred) DocumentC80PracticeSetting Practice Setting Code Value S... + ? » The reason that this appointment is being scheduled, this scheduled. This is more clinical than administrative reason : CodeableConcept 0..1 [0..1] « The Reason for the appointment to take place place. (Strength=Required) ApptReason Encounter Reason ! » 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) priority : integer unsignedInt 0..1 [0..1] 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 comment field description : string 0..1 [0..1] Date/Time that the appointment is to take place start : instant 1..1 [0..1] Date/Time that the appointment is to conclude end : instant 1..1 [0..1] Number of minutes that the appointment is to take. This can be less than the duration between the start and end times (where actual time of appointment is only an estimate or is a planned appointment request) minutesDuration : positiveInt [0..1] The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot slot : Reference ( [0..*] « Slot ) 0..* » Additional comments about the appointment comment : string 0..1 [0..1] An Order that lead to the creation of this appointment order : Reference ( Order ) 0..1 Participant Role of participant in the appointment type : CodeableConcept 0..* [0..*] « Role of participant in encounter encounter. (Strength=Required) ParticipantType ! » A Person, Location/HealthcareService or Device that is participating in the appointment actor : Reference ( [0..1] « Patient | Practitioner | RelatedPerson | Device | HealthcareService | Location ) 0..1 » Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present required : code 0..1 [0..1] « Is the Participant required to attend the appointment appointment. (Strength=Required) ParticipantRequired ! » Participation status of the Patient status : code 1..1 [1..1] « The Participation status of an appointment appointment. (Strength=Required) ParticipationStatus ! » List of participants involved in the appointment participant 1..* [1..*]

XML Template

<Appointment xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <</identifier>
 <

 <identifier><!-- 0..* Identifier External Ids for this item --></identifier>
 <status value="[code]"/><!-- 1..1 proposed | pending | booked | arrived | fulfilled | cancelled | noshow -->

 <type><!-- 0..1 CodeableConcept The type of appointment that is being booked --></type>
 <</reason>
 <
     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)
 <
     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 comment field
 <
 <
 <
     The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot</slot>
 <
 <</order>
 <

 <reason><!-- 0..1 CodeableConcept Reason this appointment is scheduled --></reason>
 <priority value="[unsignedInt]"/><!-- 0..1 Used to make informed decisions if needing to re-prioritize -->
 <description value="[string]"/><!-- 0..1 Shown on a subject line in a meeting request, or appointment list -->
 <start value="[instant]"/><!-- 0..1 When appointment is to take place -->
 <end value="[instant]"/><!-- 0..1 When appointment is to conclude -->
 <minutesDuration value="[positiveInt]"/><!-- 0..1 Can be less than start/end (e.g. estimate) -->
 <slot><!-- 0..* Reference(Slot) If provided, then no schedule and start/end values MUST match slot --></slot>
 <comment value="[string]"/><!-- 0..1 Additional comments -->
 <participant>  <!-- 1..* Participants involved in appointment -->

  <type><!-- 0..* CodeableConcept Role of participant in the appointment --></type>
  <actor><!-- 0..1 Reference(Patient|Practitioner|RelatedPerson|Device|
    
      A Person, Location/HealthcareService or Device that is participating in the appointment</actor>
  <
  <

    HealthcareService|Location) Person, Location/HealthcareService or Device --></actor>
  <required value="[code]"/><!-- 0..1 required | optional | information-only -->
  <status value="[code]"/><!-- 1..1 accepted | declined | tentative | needs-action -->

 </participant>
</Appointment>

JSON Template

{doco
  "resourceType" : "Appointment",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "
  "

  "identifier" : [{ Identifier }], // External Ids for this item
  "status" : "<code>", // R!  proposed | pending | booked | arrived | fulfilled | cancelled | noshow

  "type" : { CodeableConcept }, // The type of appointment that is being booked
  "
  "
     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)
  "
     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 comment field
  "
  "
  "
     The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot
  "
  "
  "

  "reason" : { CodeableConcept }, // Reason this appointment is scheduled
  "priority" : "<unsignedInt>", // Used to make informed decisions if needing to re-prioritize
  "description" : "<string>", // Shown on a subject line in a meeting request, or appointment list
  "start" : "<instant>", // When appointment is to take place
  "end" : "<instant>", // When appointment is to conclude
  "minutesDuration" : "<positiveInt>", // Can be less than start/end (e.g. estimate)
  "slot" : [{ Reference(Slot) }], // If provided, then no schedule and start/end values MUST match slot
  "comment" : "<string>", // Additional comments
  "participant" : [{ // R!  Participants involved in appointment

    "type" : [{ CodeableConcept }], // Role of participant in the appointment
    "actor" : { Reference(Patient|Practitioner|RelatedPerson|Device|
    
      A Person, Location/HealthcareService or Device that is participating in the appointment
    "
    "

    HealthcareService|Location) }, // Person, Location/HealthcareService or Device
    "required" : "<code>", // required | optional | information-only
    "status" : "<code>" // R!  accepted | declined | tentative | needs-action

  }]
}

 

Alternate definitions: Schema / Schematron , Resource Profile ( XML , JSON ), Questionnaire

5.26.3.1 5.27.3.1 Terminology Bindings

Path Definition Type Reference
Appointment.status The free/busy status of an appointment appointment. Required http://hl7.org/fhir/appointmentstatus AppointmentStatus
Appointment.type Additional details about where the content was created (e.g. clinical specialty) specialty). Preferred http://hl7.org/fhir/vs/c80-practice-codes Practice Setting Code Value Set
Appointment.reason The Reason for the appointment to take place place. Required http://hl7.org/fhir/vs/encounter-reason Encounter Reason Codes
Appointment.participant.type Role of participant in encounter encounter. Required http://hl7.org/fhir/vs/encounter-participant-type ParticipantType
Appointment.participant.required Is the Participant required to attend the appointment appointment. Required http://hl7.org/fhir/participantrequired ParticipantRequired
Appointment.participant.status The Participation status of an appointment appointment. Required http://hl7.org/fhir/participationstatus ParticipationStatus

5.26.4 5.27.3.2 Constraints

  • app-1 : On Appointment.participant: Either the type or actor on the participant MUST be specified (xpath on f:Appointment/f:participant: (exists(f:type) or exists(f:actor)) )
  • app-2 : Either start and end are specified, or neither (xpath: ((exists(f:start) and exists(f:end)) or (not(exists(f:start)) and not(exists(f:end)))) )
  • app-3 : Only proposed or cancelled appointments can be missing start/end dates (xpath: ((exists(f:start) and exists(f:end)) or (f:status/@value='proposed') or (f:status/@value='cancelled')) )

5.27.4 Typical Status Transition Examples:

5.26.4.1 5.27.4.1 Typical Flow of statuses for an appointment:

Slot.freeBusyType
Activity Description Slot Appointment Appointment Response Encounter
The Schedule is created/published
(Role: Scheduler)
freeBusyType = FREE (An
An appointment request is created) created after locating an available slot
Appointment.status (Role: Requester)
status = pending
Appointment.participant.status participant.status = needs-action
The appointment request is processed and the slot status updated
Slot.freeBusyType (Role: Scheduler)
freeBusyType = BUSY-TENTATIVE (The
The appointment is accepted as described – by all participants) participants
AppointmentResponse.participantStatus (Role: Participant(s))
participantStatus = accepted (The
The appointment is confirmed as accepted by all participants) participants
Appointment.participant.status (Role: Scheduler)
freeBusyType = accepted Appointment.status BUSY status = booked
Slot.freeBusyType participant.status = BUSY (Optional: accepted
Optional: Preparation for the appointment begins – could be preparing a room for the appointment etc.) etc.
Encounter.status (Role: Participants/Admin)
status = planned (optional)
Encounter.location.status location.status = planned (The
The patient arrives for the appointment, often sitting in a waiting room) room
Appointment.status (Role: Admin)
status = arrived Encounter.status status = arrived
Encounter.location.status location.status = present (The
The practitioner and the patient meet and the provision of the service begins, appointment is finished with now) Encounter.status = in-progress now
Appointment.status (Role: Scheduler/Participant(s)/Admin)
status = fulfilled (The status = in-progress
The encounter concludes) concludes
Encounter.status (Role: Scheduler/Participant(s)/Admin)
status = finished

5.26.4.2 5.27.4.2 Flow for the rejection/cancellation of an appointment

Slot.freeBusyType
Activity Description Slot Appointment Appointment Response
The Schedule is created/published
(Role: Scheduler)
freeBusyType = FREE Appointment.status
Appointment Request is created
(Role: Requester)
status = pending
Appointment.participant.status participant.status = needs-action
The appointment request is processed and the slot status updated
Slot.freeBusyType (Role: Scheduler)
freeBusyType = BUSY-TENTATIVE AppointmentResponse.participantStatus = declined Appointment.participant.status
Participant Declines the Appointment
(Role: Participant)
participantStatus = declined
The appointment is cancelled
Appointment.status (Role: Scheduler)
freeBusyType = FREE status = cancelled
Slot.freeBusyType participant.status = FREE declined

5.26.4.3 5.27.4.3 Flow for re-negotiation:

Slot.freeBusyType
Activity Description Slot Appointment Appointment Response
The Schedule is created/published
(Role: Scheduler)
freeBusyType = FREE Appointment.status
An appointment is requested with Brian and Peter
(Role: Requester)
status = pending proposed
Appointment.participant(Brian).status participant(Brian).status = needs-action
Appointment.participant(Peter).status participant(Peter).status = needs-action
The Schedule is updated to inform others of interest in the slot
Slot.freeBusyType (Role: Scheduler)
freeBusyType = BUSY-TENTATIVE AppointmentResponse(Brian).participantStatus
Brian accepts the appointment
(Role: Participant-Brian)
(Brian).participantStatus = accepted Appointment.participant(Brian).status
Appointment is updated with Brian's status
(Role: Scheduler)
status = pending
participant(Brian).status = accepted AppointmentResponse(Peter).participantStatus
Peter suggests a new time
(Role: Participant-Peter)
(Peter).participantStatus = tentative
(with new time)
Appointment is updated with new time, and indicates that action is needed by both participants
(Role: Scheduler)
(new time details updated)
Appointment.participant(Brian).status participant(Brian).status = needs-action
Appointment.participant(Peter).status participant(Peter).status = needs-action AppointmentResponse(Brian).participantStatus = accepted Appointment.participant(Brian).status = accepted AppointmentResponse(Peter).participantStatus
Brian accepts the appointment
(Role: Participant-Brian)
(Brian).participantStatus = accepted Appointment.participant(Peter).status
Appointment updated
(Role: Scheduler)
participant(Brian).status = accepted

Appointment.participantstatus (Role: Participant-Peter)
(Peter).participantStatus = accepted
Appointment updated
Appointment.status (Role: Scheduler)
freeBusyType = BUSY status = booked
Slot.freeBusyType participant(Peter).status = BUSY accepted

5.26.4.4 5.27.4.4 Flow for a patient no-show:

Activity Description Slot Appointment Appointment Response Encounter
(from typical status flow) Appointent.participant.status freeBusyType = accepted Appointment.status BUSY status = booked
Slot.freeBusyType = BUSY Appointment.status participant.status = accepted
Appointment is updated as a noshow
(Note that no (Role: Scheduler/Admin)
status = noshow (no encounter is created) 5.26.5

5.27.5 Notes:

  • Placer/Filler (HL7 v2) ( HL7 v2 )
  • The appointment information is effectively the same between the filler and placer, and given the nature of the fhir resource, there is only a single resource for both purposes. The Placer is the actor that performs the PUT or POST operation on the resource, and the filler is the actor that receives these resource messages and processes the information and makes a decision if the appointment can be used.

  • Interaction with other Standards
  • The strong desire is that implementers of this resource should consider providing this resource in the iCalendar format as an alternative representation. Many 3rd party applications and component providers have parsers and user interface controls to display this information. This may lower the entry point to integrate outside the health-care specific applications, and into the consumer space. This would permit the easier creation of a mobile application that creates appointments in the devices native calendar.
    The iCalendar specification can be found at http://www.ietf.org/rfc/rfc2445.txt .

DSTU Note: Implementer feedback on is sought on the values for Appointment.priority and how interoperable they are. Using an extension to record a codeableconcept for named values may be tested at a future connectathon.

Feedback here .

5.26.6 5.27.6 Search Parameters

Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.

Name Type Description Paths
actor reference Any one of the individuals participating in the appointment Appointment.participant.actor
( Device , Location , HealthcareService , Patient , Practitioner , RelatedPerson )
date date Appointment date/time. Appointment.start
identifier token An Identifier of the Appointment Appointment.identifier
location reference This location is listed in the participants of the appointment Appointment.participant.actor
( Location )
partstatus part-status token The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests. Appointment.participant.status
patient reference One of the individuals of the appointment is this patient Appointment.participant.actor
( Patient )
practitioner reference One of the individuals of the appointment is this practitioner Appointment.participant.actor
( Practitioner )
status token The overall status of the appointment Appointment.status