Skip to content
Partner Developer Portal byOptum

Schema

FieldTypeDescription
patient_idvarbinaryUnique identifier for the patient
nhs_numbervarbinaryNational Health Service number
date_of_birthvarcharDate of birth of the patient
date_of_deathvarcharDate of death of the patient
sexvarcharSex of the patient
agebigintAge of the patient
has_carerbooleanIndicates if the patient has a carer
middle_level_super_output_areavarcharMiddle level super output area
lower_level_super_output_areavarcharLower level super output area
imd_roundeddecimal(31,0)Rounded index of multiple deprivation
index_of_multiple_deprivation_decilebigintIndex of multiple deprivation decile
residential_institute_codevarcharResidential institute code
registration_start_datetimetimestamp(6) with time zoneRegistration start date and time
registration_end_datetimetimestamp(6) with time zoneRegistration end date and time
preferred_language_code_idbigintPreferred language code identifier
sexual_orientation_code_idbigintSexual orientation code identifier
ethnicity_code_idbigintEthnicity code identifier
is_activebooleanIndicates if the patient is active
has_diedbooleanIndicates if the patient has died
is_consent_93c1booleanIndicates if the patient has given consent under section 93c1
is_national_data_opted_inbooleanIndicates if the patient has opted in to national data sharing
organisationvarcharOrganisation associated with the patient
transform_datetimetimestamp(6) with time zoneTransformation date and time
model_updated_datetimetimestamp(6) with time zoneModel updated date and time