Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
arrived_datetimetimestamp(6) with time zoneDate and time when the slot status was ‘Arrived’2023-05-12 14:30:15.000000 UTC
booked_datetimetimestamp(6) with time zoneDate and time that this slot was booked2023-05-12 14:30:15.000000 UTC
call_ended_datetimetimestamp(6) with time zoneDate and time when the slot status was ‘Telephone - Complete’ or ‘Video - Complete’2023-05-12 14:30:15.000000 UTC
call_started_datetimetimestamp(6) with time zoneDate and time when the slot status was ‘Start Call’ or ‘Video - Start Call’2023-05-12 14:30:15.000000 UTC
current_status_datetimetimestamp(6) with time zoneDate and time the slot was set to the current status2023-05-12 14:30:15.000000 UTC
current_status_descriptionvarcharHuman readable description of the current_status_id (e.g. ‘Slot Available’, ‘DNA’, ‘Left’, etc.)Call Started
current_status_idbigintID indicating the current status of the slot13
current_status_type_descriptionvarcharDescription of the appointment status type (e.g. ‘Face to Face (Surgery)’, ‘Telephone’, ‘Face to Face (Home Visit)’, etc)Telephone/Audio
is_deletedbooleanIf this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUEfalse
left_datetimetimestamp(6) with time zoneDate and time when the slot status was ‘Left’2023-05-12 14:30:15.000000 UTC
model_updated_datetimetimestamp(6) with time zoneDate and time the data was made available in the model with a relevant change2023-05-12 14:30:15.000000 UTC
organisationvarcharThe organisation that this data was replicated fromCDB-001
patient_idvarbinaryUnique patient identifierF422B34E0AC397B6 [16]
sent_in_datetimetimestamp(6) with time zoneDate and time when the slot status was ‘Send In’2023-05-12 14:30:15.000000 UTC
slot_end_datetimetimestamp(6) with time zoneDate and time that the slot will end2023-05-12 14:30:15.000000 UTC
slot_idvarbinaryUnique identifier for the appointment slotF422B34E0AC397B6 [16]
slot_start_datetimetimestamp(6) with time zoneDate and time that the slot will start2023-05-12 14:30:15.000000 UTC
slot_type_descriptionvarcharHuman readable description of the slot_type_id at the source organisation (e.g. ‘Default’, ‘Diabetic’, ‘Phlebotomy’, etc.)Telephone Consultation
slot_type_idbigintID indicating the slot type; custom slot types can be added by organisations821
transform_datetimetimestamp(6) with time zoneDate and time the model last updated this record2023-05-12 14:30:15.000000 UTC