Skip to content
Partner Developer Portal byOptum

Schema

Column NameData TypeExampleDescription
referral_observation_idvarbinaryF422B34E0AC397B6 [16]Unique identifier for the referral observation record
organisationvarcharCDB-12345The organisation that this data was replicated from
is_deletedbooleanfalseIf this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUE
transform_datetimetimestamp(6) with time zone2023-05-12 14:30:15.000000 UTCDate and time the data was made available in the model with a relevant change
model_updated_datetimetimestamp(6) with time zone2023-05-12 14:30:15.000000 UTCDate and time the model last updated this record
patient_idvarbinaryF422B34E0AC397B6 [16]Unique patient identifier
consultation_idvarbinaryF422B34E0AC397B6 [16]Unique identifier for the linked consultation for this observation entry
consultation_source_code_idbigint1672871000006114EMIS code ID representing the consultation purpose; used for categorisation
code_idbigint348898019EMIS code ID - internal identifier
effective_datetimetimestamp(6) with time zone2023-05-12 14:30:15.000000 UTCDate and time when the observation became clinically effective
referral_made_datetimetimestamp(6) with time zone2023-05-12 00:00:00.000000 UTCDate that the referral was made
ended_datetimetimestamp(6) with time zone2023-05-12 00:00:00.000000 UTCDate that the referral was ended, e.g. when the patient was seen or the referral was cancelled
directionvarcharinThe direction of the referral (in or out)
urgencybigint0The urgency of the referral (0, 1, 2, 3, 4 or NULL)
urgency_descriptionvarcharRoutineThe human readable description of the urgency (Routine, Soon, Urgent, Dated or 2 Week Wait)
referral_mode_descriptionvarcharWrittenThe description for how the referral was made (e.g. Telephone, NHS e-Referral, Verbal, Written)
service_type_idbigint1775301000006110EMIS code ID representing the service type, e.g. 1775591000006112 - Referred to School Nursing Service