Skip to content
Partner Developer Portal

Schema

ColumnData TypeDescriptionExample
consultation_idvarbinaryUnique identifier for the consultationF422B34E0AC397B6 [16]
consultation_source_code_idbigintEMIS code ID representing the consultation purpose; used for categorisation1572871000006117
effective_datetimetimestamp(6) with time zoneDate and time when the consultation came into effect2023-05-12 14:30:15.000000 UTC
has_consultation_sectionsbooleanIndicates whether the consultation has linked sections in the consultation_section modeltrue
is_completebooleanIndicates whether the consultation is completetrue
is_deletedbooleanIf this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUEfalse
location_code_idbigintEMIS code ID representing the type of location where the consultation took place1563411000006111
model_updated_datetimetimestamp(6) with time zoneDate and time the model last updated this record2023-05-12 14:30:15.000000 UTC
organisationvarcharThe organisation that this data was replicated fromCDB-001
patient_idvarbinaryUnique patient identifierF422B34E0AC397B6 [16]
slot_idvarbinaryUnique identifier for the appointment slot linked to this consultationF422B34E0AC397B6 [16]
transform_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