Skip to content
Partner Developer Portal byOptum

Schema

ColumnData TypeDescription
emis_consultation_idbigintComposite primary key when combined with organisation in iPCV models. Not unique across organisations.
emis_patient_idbigintPatient identifier hashed by concatenating patient ID with organisation.
location_type_emis_code_idbigintEMIS code ID linking the location type back to the MKB database.
consultation_source_emis_code_idbigintCode representing the consultation purpose; used for categorisation (e.g., 1572871000006117 – Long Term Conditions Management).
recorded_datetimestamp(6) with time zoneDate and time when the entry was made in EMIS Web.
effective_datetimestamp(6) with time zoneDate and time when the consultation came into effect.
completebooleanIndicates whether the consultation is complete.
has_sections_flagbooleanIndicates whether the consultation has linked sections in the consultation_section model.
model_last_updatetimestamp(6) with time zoneTimestamp indicating when the model last updated this record (data type to be confirmed).
is_deletedbooleanSoft-delete flag; include in queries to exclude deleted records.
transform_datetimetimestamp(6) with time zoneDatetime when the data was made available in the model due to an entry or relevant change.
organisationvarcharOrganisation identifier required for Ranger to apply DSA.