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

Antidepressants for pain indication - dm+d dm+d

This codelist will be used to identify prescribing of antidepressants with an indication for pain to people waiting on procedure waiting lists.

Published by OpenSAFELY
Antidiabetic drugs dm+d

This codelists contains all the NHS dictionary of medicines and devices codes for "antidiabetic drugs" as specified by the BNF coding system. This does not include insulin.

Published by OpenSAFELY
Antihistamines (oral) dm+d

This codelist contains NHS Dictionary of Medicines and Devices (dm+d) for oral antihistamines

Published by OpenSAFELY
Antileprotic drugs (antibacterials) dm+d

Antileprotic drugs codelist extracted from antibacterials codelist (

Published by UKHSA
Antiphospholipid syndrome CTV3

Codes that indicate incident or history of antiphospholipid syndrome

Published by OpenSAFELY
Antiplatelet Rx without aspirin Rx dm+d

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

© PRIMIS - the University of Nottingham 2021

Published by PINCER
Antiplatelets dm+d

This codelist contains codes for antiplatelets.

Published by OpenSAFELY
Antituberculosis drugs (antibacterials) dm+d

Antituberculosis drugs codelist extracted from antibacterials codelist (

Published by UKHSA
Anxiety Disorders SNOMED CT

Codes that indicate the presence of an anxiety disorder.

Published by OpenSAFELY
Anxiety screening codes SNOMED CT

Taken from the ANXSCRN_COD refset published by NHSD.

Anxiety screening declined codes SNOMED CT

Taken from the ANXSCRNDEC_COD refset published by NHSD.

Anxiety support and treatment codes SNOMED CT

Taken from the ANXSUPP_COD refset published by NHSD.

Anxiolytics (BNF) BNF

BNF Prescription codes for anxiolytics.

Anxiolytics (SNOMED) SNOMED CT

Prescription codes for anxiolytics.

Any Dementia (ICD-10) V1.3 ICD-10