OpenSAFELY codelists


Reset
ethnicity (SNOMED) SNOMED CT

A SNOMED UK ethnicity category codelist

6 categories*, labels are:

  • 1 - White
  • 2 - Mixed
  • 3 - Asian or Asian British
  • 4 - Black or Black British
  • 5 - Chinese or Other Ethnic Groups

16 categories, labels are:

  • 1 - White - British
  • 2 - White - Irish
  • 3 - White - Any other White background
  • 4 - Mixed - White and Black Caribbean
  • 5 - Mixed - White and Black African
  • 6 - Mixed - White and Asian
  • 7 - Mixed - Any other mixed background
  • 8 - Asian or Asian British - Indian
  • 9 - Asian or Asian British - Pakistani
  • 10 - Asian or Asian British - Bangladeshi
  • 11 - Asian or Asian British - Any other Asian background
  • 12 - Black or Black British - Caribbean
  • 13 - Black or Black British - African
  • 14 - Black or Black British - Any other Black background
  • 15 - Other Ethnic Groups - Chinese
  • 16 - Other Ethnic Groups - Any other ethnic group

*The full 6 Group Categories includes "6 - Not stated" which was not included in our codelist

hazardous alcohol drinking CTV3

Codes that indicate hazardous alcohol drinking behavior. Future studies that require to specify ex-drinker and current-drinker need to revisit and review this codelist.

incident heart failure CTV3
incident-venous-thromboembolic-disease CTV3

Codes to define incident cases of venous thromboemolic disease.

peripheral arterial disease CTV3

Codes that indicate incident or history of peripheral arterial disease.

This is used for calculating the CHAD2S2-VASc score.

pregnancy-icd10-aurum ICD-10

This codelist was developed in 2022 by Campbell and colleagues (https://onlinelibrary.wiley.com/doi/full/10.1002/pds.5584) for the purposes of identifying pregnancy in CPRD Aurum. It is designed to be highly sensitive, to identify any potential pregnancy (including potentially unconfirmed pregnancies and pregnancies not resulting in birth). It expands on a 2019 ICD-10 codelist developed by the same group for CPRD GOLD (https://onlinelibrary.wiley.com/doi/full/10.1002/pds.4811).

The codelist is contained in the appendix 7 of supplementary information.

severe and profound learning disability flags CTV3

This is a list of generic codes which record the presence of a severe or profound learning disability, flagged as such in a patient's records separately to their underlying diagnosis.

sick-notes-ctv3 CTV3
sick-notes-snomed SNOMED CT
venous thromboembolism ICD-10 ICD-10

Codes to define venous thromboembolism in ONS death data.

venous-thromboembolic-disease-hospital ICD-10

Codes to define venous thromboembolic disease in hospital.