Skip to content
Partner Developer Portal

Schema

Column Data Type Description Example
is_deleted boolean If this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUE false
consultation_id varbinary Unique identifier for the consultation F422B34E0AC397B6A8C9D0E1F2345678
consultation_section_id varbinary Unique identifier for the consultation section F422B34E0AC397B6A8C9D0E1F2345678
consultation_section_original_heading varchar Original section heading text Examination
consultation_source_code_id bigint EMIS code ID representing the consultation purpose; used for categorisation 1572871000006117
effective_datetime timestamp(6) with time zone Date and time when the consultation section came into effect 2023-05-12 14:30:15.000000 UTC
event_id varbinary Unique identifier for the event that is the primary record within the consultation section F422B34E0AC397B6A8C9D0E1F2345678
is_complete boolean Indicates whether this consultation section is complete true
model_updated_datetime timestamp(6) with time zone Date and time the model last updated this record 2023-05-12 14:30:15.000000 UTC
patient_id varbinary Unique patient identifier F422B34E0AC397B6A8C9D0E1F2345678
transform_datetime timestamp(6) with time zone Date and time the data was made available in the model with a relevant change 2023-05-12 14:30:15.000000 UTC

Use this query to preview recent rows and validate expected columns:

SELECT *
FROM explorer_open_safely.consultation_section
LIMIT 100;