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 that have been used in OpenSAFELY research to date.


All codelists


Reset
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

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

Ethnicity not disclosed codes SNOMED CT

Taken from the ETHNICITYND_COD refset published by NHSD.

Ethnicity not given - patient refused SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Ethnicity not given - patient refused SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Ethnicity not stated SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Ethnicity not stated SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Mixed - Any other mixed background Ethnicity SNOMED CT

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

© PRIMIS - the University of Nottingham 2021