Skip to content
Partner Developer Portal

Schema

Column Name Data Type Description Example
_deleted varchar(50) Source deletion marker. NULL
_ingest_time varchar(50) Source ingestion time value. ‘20240907083724’
_primary_key varchar(50) Source record key value. ‘20721’
_record_version varchar(50) Source record version value. ‘20240906175532’
blocked boolean Blocked flag. FALSE
booked boolean Booked flag. FALSE
bookedby varchar(200) Booked by. NULL
bookedbyexternalorganisationid bigint Booked by external organisation identifier. 12345
bookingmethodid bigint Booking method identifier. 123
bookingnotes varchar Booking notes. ‘Routine appointment’
cancellationreason varchar(150) Cancellation reason flag. ‘Follow-up requested’
cancellationreasonid bigint Cancellation reason identifier flag. 12345
carecontactid bigint Care contact identifier. 12345
deleted boolean Deleted flag. FALSE
displayorder bigint Display order. 2
dnareasonid bigint DNA reason identifier. 12345
embargotypedescription varchar Embargo type description. ‘Routine appointment’
enddatetime timestamp(3) with time zone End date time. ‘2000-01-02 03:04:05.000’
externalapplicationguid varchar(36) External application GUID. ‘00000000-0000-0000-0000-000000000001’
externallybookablelevelid bigint Externally bookable level identifier. 123
externalpatientguid varchar(36) External patient GUID. ‘00000000-0000-0000-0000-000000000001’
externalpatientorganisationid bigint External patient organisation identifier. 12345
globaluserinrolewhochanged bigint Global user in role who changed. 5
gpconnectbookable boolean GP connect bookable flag. FALSE
guid varchar(36) Slot history GUID. ‘00000000-0000-0000-0000-000000000001’
internet boolean Internet flag. FALSE
iscancellation boolean Cancellation flag. FALSE
isslotmove boolean Slot move flag. FALSE
lastupdated timestamp(3) with time zone Last updated. ‘2000-01-02 03:04:05.000’
legitimaterelationshipduration bigint Legitimate relationship duration. 5
notes varchar Notes. ‘Routine appointment’
patientadminepisodeid bigint Patient admin episode identifier. 12345
patientid bigint Patient identifier. 67890
patientname varchar(200) Patient name. ‘Routine appointment’
reason varchar(150) Reason. ‘Follow-up requested’
registeredonlineservicesuserid bigint Registered online services user identifier. 12345
sendsms boolean Send SMS flag. FALSE
sessionid bigint Session identifier. 12345
slothistorydate timestamp(3) with time zone Slot history date. ‘2000-01-02 03:04:05.000’
slothistoryid bigint Slot history identifier. 12345
slotid bigint Slot identifier. 12345
slottypeid bigint Slot type identifier. 12345
sms boolean SMS flag. FALSE
smsremindersent boolean SMS reminder sent flag. FALSE
startdatetime timestamp(3) with time zone Start date time. ‘2000-01-02 03:04:05.000’
timebooked timestamp(3) with time zone Time booked. ‘2000-01-02 03:04:05.000’
urgent boolean Urgent flag. FALSE
organisation varchar(500) Source organisation value. ‘CDB-12345’