Appointment creation V2
API specifications:
- API XIS (version 2)
Appointment creation
To create an appointment, the following steps are taken:
- The
BookableAppointmentTypesValueSet is a list of appointment types that are bookable via Spreekuur.nl. For example:Physical appointmentorVideo-consult. See BookableAppointmentType for more information. The query parameterservice-categorycan be used to filter the appointment types based on a specific system and value configured in Spreekuur.nl in case a XIS has specific appointment types that can be used in Spreekuur.nl and others are only used internally. - The
Slotresource is used (for the first time) to identify the available agendas (schedules) for the requested service-category (bookable appointment type). See Slot for the expected response. The distinct schedules from the available slots are mapped to agendas shown to the user.Schedule.date=ge(start-of-day + one day),Schedule.date=le(start-of-day + 28 days),status(free) andservice-categoryare used as filters. - The
Slotresource is used again to get the available timeslots for one week for the selected agenda (schedule) and appointment type (service-categorie). Slots are paginated with a pages size of 7 days. See Slot. - The
Appointmentresource is used to create the appointment. See Appointment for the supported and required properties. A409-ResourceConflictresponse is expected in case the selected slot is no longer available. - The
AppointmentResponseresource is used to approve or reject the appointment when an approval workflow is used by the XIS.