Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
_ingest_timevarcharIngest timestamp’20240603101655’
pseudo_registration_guidvarcharHashed registration identifier’a1b2c3d4-e5f6-7890-abcd-ef1234567890’
pseudo_patient_idvarcharHashed patient identifier’f47ac10b-58cc-4372-a567-0e02b2c3d479’
emis_registration_organisation_guidvarcharOrganisation identifier’b2c3d4e5-f6a7-8901-bcde-f12345678901’
emis_usualgp_userinrole_guidvarcharUsual GP user-in-role identifier’c3d4e5f6-a7b8-9012-cdef-123456789012’
gendervarchar(1)Patient gender (M / F / I / U)‘F’
ethnic_category_snomed_concept_idbigintEthnicity SNOMED concept identifier186019001
ethnicity_emis_code_idbigintEMIS ethnicity code identifier7334778019
date_of_birthvarcharYear and month of birth (YYYY-MM)‘1985-06’
date_of_deathdateDate of death where recorded’2025-01-01’
registration_datedateDate of registration’2010-03-15’
pseudo_nhs_novarcharHashed NHS number’d0e1f2a3-b4c5-6789-0123-def012345678’
emis_nobigintEMIS patient number12345
emis_registration_type_descriptionvarcharRegistration type’GMS’
dummy_patient_flagbooleanIndicates a dummy/test patientfalse
postcodevarcharPostcode - shortened to outward code for anon’AB12’
residential_institute_codebooleanWhether a residential institute code is presentfalse
nhs_number_statusvarcharNHS number status’Verified’
pseudo_person_guidvarcharHashed person GUID’f2a3b4c5-d6e7-8901-2345-67890abcdef0’
legacy_pseudo_person_guidvarcharHashed legacy person GUID’f2a3b4c5-d6e7-8901-2345-67890abcdef0’
registration_end_datedateDate registration ended’2026-01-01’
imd_decilebigintIndex of Multiple Deprivation decile3
sensitive_patient_flagbooleanSensitivity indicatorfalse
confidential_patient_flagbooleanConfidentiality indicatorfalse
email_flagbooleanWhether an email address is presentfalse
mobile_number_flagbooleanWhether a mobile number is presentfalse
home_phone_number_flagbooleanWhether a home phone number is presentfalse
carer_name_flagbooleanWhether a carer name is presentfalse
carer_relation_flagbooleanWhether a carer relation is presentfalse
external_usualgp_guidvarcharExternal usual GP GUID’d4e5f6a7-b8c9-0123-4567-890abcdef012’
_execution_datevarchar(14)Extract execution date’20260521042151’
organisationvarcharOrganisation identifier’CDB-0001’
study_idvarcharStudy identifier from included patients view’study-12345’