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
Depression review codes SNOMED CT

Taken from the DEPRVW_COD refset published by NHSD.

Depression screening codes SNOMED CT

Taken from the DEPSCRN_COD refset published by NHSD.

Depression screening declined codes SNOMED CT

Taken from the DEPSCRNDEC_COD refset published by NHSD.

Depression support and treatment codes SNOMED CT

Taken from the DEPSUPP_COD refset published by NHSD.

Desogestrel BNF
Published by OpenPrescribing
Diabetes CTV3

Codes indicating diagnosis of permanent diabetes

Published by OpenSAFELY
Diabetes (SNOMED) SNOMED CT

Automatically-generated equivalent of Diabetes

Published by OpenSAFELY
Diabetes Ketoacidosis - CTV3 (DKA - unspecific) CTV3

This lists contains CTV3 codes used to identify people who may have had diabetes ketoacidosis (DKA). It has been generated based on a DKA snomed list using internal mappings. The SNOMED codelistlist was conceived to identify DKA in a specific group of patients in a specific time period, therefore we have been permissive in including unspecific codes which may not be suitable for all studies.

Published by OpenSAFELY
Diabetes Ketoacidosis - SNOMED (DKA - unspecific) SNOMED CT

This lists contains codes used to identify people who may have had diabetes ketoacidosis (DKA). This list was conceived to identify DKA in a specific group of patients in a specific time period, therefore we have been permissive in including unspecific codes which may not be suitable for all studies.

Published by OpenSAFELY
Diabetes Type 1 codes used in National Audit SNOMED CT

Taken from the DMTYPE1AUDIT_COD refset published by NHSD.

Diabetes Type 2 codes used in National Audit SNOMED CT

Taken from the DMTYPE2AUDIT_COD refset published by NHSD.

Diabetes Unknown Type CTV3

Codes which likely indicate either Type 1 or Type 2 diabetes but are ambiguous.

Published by OpenSAFELY
Diabetes diagnosis codes SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Diabetes diagnosis codes SNOMED CT

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

© PRIMIS - the University of Nottingham 2021

Diabetes exception codes SNOMED CT

Taken from the DMEXC_COD refset published by NHSD.