Skip to main content

Slot

ResourceBase · WorkflowTrial useMaturity 3

A slot of time on a schedule that may be available for booking appointments.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
8 of 8 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierExternal Ids for this item
serviceCategoryΣ
0..*CodeableConceptA broad categorization of the service that is to be performed during this appointmentBinding (example): service-category
serviceTypeΣ
0..*CodeableConceptThe type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resourceBinding (example): service-type
specialtyΣ
0..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointmentBinding (preferred): c80-practice-codes
appointmentTypeΣ
0..1CodeableConceptThe style of appointment or patient that may be booked in the slot (not service type)Binding (preferred): v2-0276
scheduleRequiredΣ
1..1Reference(Schedule)The schedule resource that this slot defines an interval of status information
statusRequiredΣ
1..1codebusy | free | busy-unavailable | busy-tentative | entered-in-errorBinding (required): slotstatus
startRequiredΣ
1..1instantDate/Time that the slot is to begin
endRequiredΣ
1..1instantDate/Time that the slot is to conclude
overbooked
0..1booleanThis slot has already been overbooked, appointments are unlikely to be accepted for this time
comment
0..1stringComments on the slot to describe any extended information. Such as custom constraints on the slot

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Slot?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
appointment-typetoken

The style of appointment or patient that may be booked in the slot (not service type)

Slot.appointmentType
identifiertoken

A Slot Identifier

Slot.identifier
schedulereference

The Schedule Resource that we are seeking a slot within

Slot.schedule
service-categorytoken

A broad categorization of the service that is to be performed during this appointment

Slot.serviceCategory
service-typetoken

The type of appointments that can be booked into the slot

Slot.serviceType
specialtytoken

The specialty of a practitioner that would be required to perform the service requested in this appointment

Slot.specialty
startdate

Appointment date/time.

Slot.start
statustoken

The free/busy status of the appointment

Slot.status

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition