Scheduling
1.0.0 - Trial-Implementation International flag

This page is part of the IHE ITI Scheduling (v1.0.0: Publication) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

OperationDefinition: Find_Appointments_Operation

Official URL: https://profiles.ihe.net/ITI/Scheduling/OperationDefinition/appointment-find Version: 1.0.0
Active as of 2024-12-12 Computable Name: Find_Appointments_Operation

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 parameters 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, equipment) are needed for the visit, and provides proposed appointments for the time slots where all required resources are available.

Generated Narrative: OperationDefinition appointment-find

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 (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 (Patient)

A Patient reference when performing an operation where the Patient resource id is known. Patient resources include demographics and patient preferences that could be important for availability 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 (Patient)

This parameter uses the Patient resource type instead of a simple reference because it is possible for the patient record to not exist when performing availability searches. (If the Patient resource id is known, use the patient-reference parameter instead.) 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 could 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

INinsurance-reference0..*Reference (InsurancePlan)

Reference to the insurance information for the patient for whom the potential appointment is about to be made.

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 multiple patients are provided as parameters, this conveys the need for a group appointment.
  • If more than one non-patient participant type of parameter is present (e.g. a Provider and a Location), the response SHOULD contain appointments with all of these participants (i.e, this is a logical 'AND'). If a particular participant type is repeated, the response SHOULD contain appointments with any of these participants 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 the Scheduling Server can create or modify resources only on the resources on the server or a defined domain.
  • 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.
  • The Scheduling Server SHALL NOT include any held appointments (i.e. appointments that were reserved as a result of a previous $hold operation, and for which the holding period had not expired) in the list of potential appointments.