Welcome to OpenCodelists, created by OpenSAFELY for creating and sharing codelists.

Anybody can also use this tool to create and share codelists. To get started, take a look at the documentation or watch the videos.

If you would like to publish codelists on behalf of an organisation, please get in touch.

Below, you'll find all the codelists we have used in OpenSAFELY research to date.

All codelists

administration of 5th COVID vaccine SNOMED CT

Taken from the COVADM5_COD fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3

chronic inflammatory demyelinating polyneuropathy (CIDP) CTV3

CTV3 codelist for chronic inflammatory demyelinating polyneuropathy (no corresponding ICD-10 codes found)

Published by OpenSAFELY
declined 3rd COVID vaccination SNOMED CT

Taken from the COV3DECL_COD fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3

declined course/dose COVID vaccination SNOMED CT

Taken from the COVDECL_COD fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3

diabetes-exeter-group CTV3

Codes for type 1 and type 2 diabetes.

Published by OpenSAFELY
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
  • 6 - Not stated

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
  • 17 - Not stated
Published by OpenSAFELY
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.

Published by OpenSAFELY
incident heart failure CTV3
Published by OpenSAFELY
incident-venous-thromboembolic-disease CTV3

Codes to define incident cases of venous thromboemolic disease.

Published by OpenSAFELY
peripheral arterial disease CTV3

Codes that indicate incident or history of peripheral arterial disease.

This is used for calculating the CHAD2S2-VASc score.

Published by OpenSAFELY
receiving chemotherapy or radiotherapy codes SNOMED CT

Taken from the DXT_CHEMO_COD fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3

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.

Published by OpenSAFELY
sick-notes-ctv3 CTV3
Published by OpenSAFELY
sick-notes-snomed SNOMED CT
Published by OpenSAFELY
to represent household contact of shielding individual SNOMED CT

Taken from the HHLD_IMDEF_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021