IHE ITI Scheduling
0.8.0-current - ci-build International flag

IHE ITI Scheduling, published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 0.8.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.Scheduling/ and changes regularly. See the Directory of published versions

OperationDefinition: Find_Appointments_Operation

Official URL: https://profiles.ihe.net/ITI/Scheduling/OperationDefinition/appointment-find Version: 0.8.0-current
Active as of 2024-02-05 Computable Name: Find_Appointments_Operation

Copyright/Legal: IHE http://www.ihe.net/Governance/#Intellectual_Property

Searches for availability for a future appointment(s) within a time period of defined by date range input parameters. If neither a start or end date is given then the maximum period as defined by local business rules and starting from when the operation was transacted will be used. Other input parameter further refine the search and include practitioner references, specialties, visit type, locations, patient and referral information. From these criteria, a system determines which schedulable resources ( e.g., people, rooms, equiibment) are needed for the visit, and provides time slots where all required resources are available.

URL: [base]/Appointment/$find

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INstart1..1dateTime

The period of time that should be checked for appointment availability.- e.g., look for all available appointments in a certain date range. If no start date is provided, all available appointments prior to the end date are in scope (subject to limits imposed by local business rules).

INend1..1dateTime

The period of time that should be checked for appointment availability.- e.g., look for all available appointments in a certain date range. If no end date is provided, all available appointments after the start date are in scope (subject to limits imposed by local business rules).

INspecialty0..*string
(token)
https://profiles.ihe.net/ITI/SCHED/ValueSet/specialty (Example)

The code for which specialty is requested for the appointment. ( e.g., 'Dermatology'). If multiple codes are listed, the order of the codes will interpreted as the order of preference. The response will contain appointments with any of these actors (i.e. this does not drive joint appointment with multiple actors). Each parameter value SHALL contain both the system property and the code property for a code using the general syntax specialty=[system]|[code]. See the examples below for how this is implemented.

INvisit-type0..*string
(token)
https://profiles.ihe.net/ITI/SCHED/ValueSet/visit-type (Example)

The code for one of the common appointment visit types for scheduling. ( e.g.,'Echocardiography' or 'Well child visit' ). This list of visit types is extensible and implementers may choose to add there own codes. If multiple codes are listed, the order of the codes will interpreted as the order of preference. The response will contain appointments with any of these services (i.e. this does not drive joint appointment with multiple services). Each parameter value SHALL contain both the system property and the code property for a code using the general syntax service-type=[system]|[code]. See the examples below for how this is implemented.

INpractitioner0..*Reference (IPA-Practitioner)

The Practitioner reference when performing a provider based query. This is a reference to a FHIR Practitioner resource, e.g. 'Practitioner/123'. If multiple practitioner references are listed, the order will interpreted as the order of preference. The response will contain appointments with any of these actors (i.e. this does not drive joint appointment with multiple actors).

INorganization0..*Reference (Organization)

The Organization reference when performing a provider based query. This is a reference to a FHIR Organization resource, e.g. 'Organization/abc'. If multiple organization references are listed, the order will interpreted as the order of preference. The response will contain appointments with any of these actors (i.e. this does not drive joint appointment with multiple actors).

INlocation-string0..*string
(string)

A (part of the) address of the location of interest. (e.g., zip codes, city or state). This string parameter is interpreted as a String search parameter and covers the string type elements in the Address datatype. If multiple locations are listed, the order will interpreted as the order of preference. The response will contain appointments with any of these actors (i.e. this does not drive joint appointment with multiple locations)

INlocation-reference0..*Reference (Location)

A Location reference when performing an operation where the Location resource id is known. If multiple location references are listed, the order will interpreted as the order of preference. The response will contain appointments with any of these actors (i.e. this does not drive joint appointment with multiple locations)

INpatient-reference0..*Reference (IPA-Patient)

A Patient reference when performing an operation where the Patient resource id is known. Patient resources include demographics and patient preferences that may be important for availaiblilty searches. If multiple patient references are listed, the response will contain appointments which is joint match for all patients - i.e., a group appointment.

INpatient-resource0..*Patient (IPA-Patient)

This parameter uses the Patient resource type instead of a simple reference because the patient record may not exist when performing availablity searches. (If the Patient resource id is known, use the patient-reference parameter instead.) It based on the IPA Patient Profile and includes demographics and patient preferences that may be important for availaiblilty searches. If the appointment is for a new patient, the patient record should not be created until just before booking an appointment. If multiple patient resources are listed, the response will contain appointments which is joint match for all patients - i.e., a group appointment.

INreason0..*string
(token)
Condition/Problem/Diagnosis Codes (Preferred)

A clinical sign, symptom, diagnosis or health concern that this appointment is intended to treat. This may is used in conjunction with the specialty to determine which schedulable resources are needed for the visit. For example, for an orthopedics appointment, the reason may drive whether a hip specialist or knee specialist is preferred. Each parameter value SHALL contain both the system property and the code property for a code using the general syntax specialty=[system]|[code]. See the examples below for how this is implemented.

INreferral-identifier0..1Identifier

When an appointment needs to be made as part of a referral, this parameter can contain the ServiceRequest identifier for the referral.

INtiming0..1Timing

Provides information about the preferred times for the appointment

OUTreturn0..1Bundle (IHE ITI Scheduling Bundle Profile)

An IHE Appointment Bundle Profile of type searchset with entries of proposed Appointment resources and may also contain an OperationOutcome with errors, warnings or information as a result of processing the operation - e.g., an informational notice that the returned appointments are not within the requested start and end times. An empty bundle means no available appointments based on inputs

  • For input parameters that are codes, the simple FHIR token search parameter type is used instead of the complex Coding datatype. This allows either the 'GET' or the 'POST' syntax to be used to initiate the interaction in many cases. The Reference datatype is used for resources references, which allows the requester to use either a reference to existing resource, or an identifier (logical reference). Examples of both are shown below.
  • If more than one actor type is present, the response SHOULD contain appointments with all of these actors (i.e, this is a logical 'AND'). If an actor type is repeated, the response SHOULD contain appointments with any of these actors and SHOULD be interpreted as the order of preference (i.e. this is a logical 'OR' and does not drive a joint appointment with multiple practitioners. locations or organizations). Ultimately the server is responsible for determining the first/best available appointment options to return.
  • References can be to an absolute URL, but servers only perform operations on their own resources.
  • To set the upper limit on the total number of available appointment options to return use the standard _count search parameter. See the examples below for how this is implemented.