OpenSAFELY codelists


Reset
diabetes-exeter-group CTV3
Codes for type 1 and type 2 diabetes.
ethnicity (SNOMED) SNOMED CT
A SNOMED UK ethnicity category codelist

6 categories*, labels are:
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.
migration status codes SNOMED CT
Codelist to identify people who are migrants.
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 …
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.
vitamin-d-deficiency-symptoms SNOMED CT
Captures vitamin D deficiency symptoms. It is developed for the purpose of the vitamin D study (indications for vitamin D testing/ prescribing).