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
Asian or Asian British Pakistani ethnicity group codes (NHS Digital 2016 grouping) SNOMED CT

Taken from the ETH2016AP_COD refset published by NHSD.

Black or African or Caribbean or Black British African ethnicity group codes (NHS Digital 2016 grouping) SNOMED CT

Taken from the ETH2016BA_COD refset published by NHSD.

Black or African or Caribbean or Black British Any other Black or African or Caribbean background ethnicity group codes (NHS Digital 2016 grouping) SNOMED CT

Taken from the ETH2016BO_COD refset published by NHSD.

Black or African or Caribbean or Black British Caribbean ethnicity group codes (NHS Digital 2016 grouping) SNOMED CT

Taken from the ETH2016BC_COD refset published by NHSD.

Black or Black British - African Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Black or Black British - African Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Black or Black British - Any other Black background Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Black or Black British - Any other Black background Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Black or Black British - Caribbean Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Black or Black British - Caribbean Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Diabetic retinopathy screening ethnicity codes SNOMED CT

Taken from the DRSETHNICITY_COD refset published by NHSD.

Ethnicity CTV3

A list of ethnicity codes in use in UK general practice including aggregate grouping at two levels.

5+1 category labels are:

  • 1 - White
  • 2 - Mixed
  • 3 - South Asian
  • 4 - Black
  • 5 - Other
  • 6 - Not stated

16+1 category labels are:

  • 1 - White British
  • 2 - White Irish
  • 3 - Other White
  • 4 - White and Caribbean
  • 5 - White and African
  • 6 - White and Asian
  • 7 - Other mixed
  • 8 - Indian
  • 9 - Pakistani
  • 10 - Bangladeshi
  • 11 - Other South Asian
  • 12 - Caribbean
  • 13 - African
  • 14 - Other Black
  • 15 - Chinese
  • 16 - All other ethnic groups
  • 17 - Not stated
Published by OpenSAFELY
Ethnicity (SNOMED) SNOMED CT

Automatically-generated equivalent of Ethnicity

Published by OpenSAFELY
Ethnicity codes SNOMED CT

Combined ethnicity codes from SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Ethnicity no record SNOMED CT

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

© PRIMIS - the University of Nottingham 2021