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 and Anxiety (excluding specific anxieties) ICD-10
Depression and Generalised Anxiety Disorder (diagnoses and symptoms) SNOMED CT
Depression diagnosis codes SNOMED CT

Taken from the DEPR_COD refset published by NHSD.

Depression resolved codes SNOMED CT

Taken from the DEPRES_COD refset published by NHSD.

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.