OpenCodelists

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


Reset
diabetes-exeter-group CTV3

Codes for type 1 and type 2 diabetes.

Published by OpenSAFELY
diverticular Read V2
Published by QMUL Multimorbidity
eGFR SNOMED CT

...

Published by Ardens
eGFR SNOMED CT

Taken from the EGFR_COD field in the National PINCER Data Specification, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Published by PINCER
eGFR tests SNOMED CT

Includes all codes related to eGFR testing

Published by UK Renal Registry
eGFR tests (level) SNOMED CT

Subset of https://www.opencodelists.org/codelist/ukrr/egfr-tests/47021b53/, where all codes with attached numeric values in TPP are selected

Published by UK Renal Registry
epilepsy Read V2
Published by QMUL Multimorbidity
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

Published by OpenSAFELY
falls_phm CTV3
Published by NHS Devon
has_asthma SNOMED CT

SNOMED codelist for the has_asthma group in the QCovid® to develop the COVID-19 Population Risk Assessment.

Codelist also contains the following unrecognised codes:

  • 1086701000000100 | Life threatening acute exacerbation of allergic asthma (disorder) |
  • 10692681000119100 | Aspirin exacerbated respiratory disease (disorder) |
  • 10692761000119100 | Asthma-chronic obstructive pulmonary disease overlap syndrome (disorder) |
Published by QCovid
has_atrial_fibrillation SNOMED CT

SNOMED codelist for the has_atrial_fibrillation group in the QCovid® to develop the COVID-19 Population Risk Assessment.

Codelist also contains the following unrecognised codes:

  • 15964901000119100 | Atypical atrial flutter (disorder) |
Published by QCovid
has_blood_bone_cancer SNOMED CT

SNOMED codelist for the has_blood_bone_cancer group in the QCovid® to develop the COVID-19 Population Risk Assessment.

Codelist also contains the following unrecognised codes:

  • 1090241000000100 | Angioimmunoblastic T-cell lymphoma with dysproteinaemia (disorder) |
  • 1091921000000100 | B-cell non-Hodgkin's lymphoma (disorder) |
Published by QCovid
has_bone_marrow_last_6_months OPCS-4

OPCS codelist for the has_bone_marrow_last_6_months group in the QCovid® to develop the COVID-19 Population Risk Assessment.

Published by QCovid
has_cerebral_palsy ICD-10

ICD10 codelist for the has_cerebral_palsy group in the QCovid® to develop the COVID-19 Population Risk Assessment.

Published by QCovid
has_cf_or_bronchiectasis SNOMED CT

SNOMED codelist for the has_cf_or_bronchiectasis group in the QCovid® to develop the COVID-19 Population Risk Assessment.

Published by QCovid