Appointment API scope
The scope of appointment management is to deliver:
- SELECTED Functionality required for organisations to manage appointments on behalf of a patient.
- Functionality to view or manage an entire diary/appointment book.
- Functionality to create, amend, update diaries and/or schedules.
New/unknown patients booking
The ability to create appointments for patients not known to the GP practice/diary owner:
- If a patient is not known to the local system the appointment boking will be rejected by booking system. It will not be possible to register the patient.
- SELECTED If a patient is not known to the local system the appointment booking will be rejected by booking system. It will be possible to register the patient via the GP Connect ‘Register a Patient’ API, and then use ‘Book an Appointment’.
- If a patient is not known to the local system the appointment booking will be accepted and a patient record will be created with basic details about the patient (identifier).
Access to available slots
When requesting the schedule of a particular diary, the level of detail returned should include:
- All booked appointments and available slots.
- Only slots that are available (all types).
- SELECTED Only slots that are available, have been marked/flagged as externally bookable via GP Connect and match the Booking Organisation Type and/or ODS Code and ‘Embargo/Booking Window’ rules.
The following search parameters will be initially included:
- All available common (across all four systems) slot defining criteria such as Gender, Slot Type, Slot Length, complex date/time ranges.
- SELECTED Date Range, Booking Organisation Type, Booking Organisation ODS Code, Urgent Care (UC) Disposition Code and Service ID, are accommodated to reflect more targeted Provider system slot availability and return. Consumers can then apply further filtering and/or sorting at the client side. The last 2 are required to support the use of GP Connect APIs by UC Services.
Maximum time span of diaries returned
When searching for diaries, the results will be:
- Unlimited based on any timespan provided as part of the search.
- SELECTED Always be limited to a pre-defined maximum time period.
Do we need to use the ‘AppointmentResponse’ resource?
As per the suggested FHIR workflow in the FHIR Appointment should the booking of an appointment utilise the ‘AppointmentResponse’ FHIR resource or are HTTP response codes sufficient for GP Connect use cases?
- AppointmentResponse resource will be provided in response to a booking request.
- SELECTED HTTP codes will be used to convey success/failure of a booking request.
Patient dissent to share
SELECTED This is NOT to be applied in the context of the Appointment Management capability.
Viewing and amending booked appointments
SELECTED This is only supported for future appointments, given the primacy of the administrative use case. Historic appointments should be considered part of the patient’s medical record and therefore accessed via the Access Record HTML ‘Encounters’ view from the patient’s registered GP practice. This assumes an update, according to usual business processes and external to GP Connect, by other GP practices hosting an appointment for the patient to their registered GP record. In the interest of simplicity and clarity in the specification, and taking into account the limited risks, the considered decision has been made that today’s appointments will be classed as ‘future’.
Cancelling and amending booked appointments
What provision will be made for making changes to existing appointments?
- Only cancellation will be allowed (must cancel and re-book).
- SELECTED Cancellation and amendments to the Appointment Description and Comment are accommodated.
- Cancel and comprehensive amendments will be provisioned for (allowing appointments to move between slots/rescheduled).
Can appointments be rescheduled?
The API will not make provision for rescheduling of appointments in a single interaction as a result of the limitation on which data elements of an appointment can be amended.
Therefore, a consumer wishing to reschedule an appointment can do this through 2 API calls - firstly to cancel the existing appointment, then secondly to create a new appointment at the new date/time.
Responsibilities in a federated booking context
Where there is a requirement for an implementation to provide an appointment management capability in a federated context, the GP Connect consumer implementation has the responsibility for defining the set of organisations which make up the federation. This consumer configuration will enable the consumer to make API calls to the relevant organisation set of endpoints in order to gain a federated view of appointments.
Neither Spine Security Proxy, nor the GP Connect provider will expose such federation configuration or expose any aggregated view of appointments for a federation.
Please refer to the glossary for a definition of a federation in this context.