Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
code_idbigintEMIS code ID - internal identifier348898019
consultation_idvarbinaryUnique identifier for the linked consultation for this observation entry or its parent if it is a child entryF422B34E0AC397B6 [16]
consultation_section_idvarbinaryUnique identifier for the linked consultation section for this observation entryF422B34E0AC397B6 [16]
consultation_source_code_idbigintEMIS code ID representing the consultation purpose; used for categorisation1672871000006114
effective_datetimetimestamp(6) with time zoneDate and time when the observation became clinically effective2023-05-12 14:30:15.000000 UTC
episodicitybigintEpisodicity identifier/classification value for the observation1
episodicity_descriptionvarcharDescription of episodicity classification (‘first’, ‘new’, ‘review’, ‘flare up’ or ‘end’)first
is_deletedbooleanIf this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUEfalse
is_parentbooleanIndicates whether this observation is a parent observationtrue
is_problembooleanIndicates whether this observation represents a problemtrue
is_referralbooleanIndicates whether this observation represents a referralfalse
model_updated_datetimetimestamp(6) with time zoneDate and time the model last updated this record2023-05-12 14:30:15.000000 UTC
numeric_operatorvarcharOperator used with the numeric value (e.g. =, <, >, etc.)>
numeric_unitvarcharUnit text associated with the numeric valuekg
numeric_valuedecimal(19,3)Numeric value recorded for the observation80
observation_idvarbinaryUnique identifier for the observation recordF422B34E0AC397B6 [16]
observation_type_descriptionvarcharDescription of the observation type classification (e.g. ‘Test Request’, ‘Investigation’, etc.)Value
observation_type_idbigintIdentifier for the observation type classification5
organisationvarcharThe organisation that this data was replicated fromCDB-12345
parent_observation_idvarbinaryIdentifier of the parent observation, if this record is a childF422B34E0AC397B6 [16]
patient_idvarbinaryUnique patient identifierF422B34E0AC397B6 [16]
problem_end_datetimetimestamp(6) with time zoneDate and time the linked problem observation ended, where applicable2023-05-12 14:30:15.000000 UTC
problem_is_deletedbooleanIndicates whether the linked problem observation is soft deletedfalse
problem_observation_idvarbinaryUnique identifier for the linked problem observation, where applicableF422B34E0AC397B6 [16]
range_maximumdecimal(19,3)Upper bound numeric value where a range is recorded80000
range_maximum_operatorvarcharOperator associated with the upper bound of a range value<
range_maximum_textvarcharText representation of the upper bound, where provided80000
range_minimumdecimal(19,3)Lower bound numeric value where a range is recorded1000
range_minimum_operatorvarcharOperator associated with the lower bound of a range value>=
range_minimum_textvarcharText representation of the lower bound, where provided1000
range_qualifier_descriptionvarcharDescription qualifying the meaning of the recorded range (‘Unqualified’, ‘Therapeutic Interval’, ‘Toxic Interval’ or ‘Recommended Interval’)Toxic Interval
range_unitsvarcharUnits associated with the recorded rangeumol/L
snomed_concept_idbigintSNOMED CT concept identifier123456789
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
ucum_codevarcharUCUM code for the observation unit, where available[iU]/mL
unit_of_measurevarcharUnit of measure associated with the recorded valueiu/ml