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
Stroke (updated) CTV3

An updated version of https://codelists.opensafely.org/codelist/opensafely/stroke/, which contained some stray unmapped Read 2 codes.

The original codelist had 49 Read 2 codes. These are replaced by 127 CTV3 codes.

Published by OpenSAFELY
Stroke Secondary Care ICD-10

Stroke ICD-10 codes.

Published by OpenSAFELY
Stroke diagnosis codes SNOMED CT

Taken from the STRK_COD refset published by NHSD.

Stroke exception codes SNOMED CT

Taken from the STREXC_COD refset published by NHSD.

Stroke risk assessment using CHA2DS2-VASc SNOMED CT

Taken from the CHADVASC_COD refset published by NHSD.

Stroke risk assessment using CHADS2 SNOMED CT

Taken from the CHAD_COD refset published by NHSD.

Strong Opioids BNF
User requirements

A codelist is needed of all strong opioids used for analgesia (any route) excluding cough suppression, motility, general anaesthesia, opiate use disorder - this is for a project looking at opioid prescribing for patients on hospital waiting lists. This will use the BNF definition of strong opioids https://bnf.nice.org.uk/treatment-summaries/analgesics/

Sensitivity versus specificity

All strong opioids

Relevant definitions or links to important reference sources

BNF definition of weak/strong opioids - https://bnf.nice.org.uk/treatment-summaries/analgesics/:

Existing relevant codelists

Nil

Published by OpenSAFELY
Strong Opioids - dmd dm+d
User requirements

A codelist is needed of all strong opioids used for analgesia (any route) excluding cough suppression, motility, general anaesthesia, opiate use disorder - this is for a project looking at opioid prescribing for patients on hospital waiting lists. This will use the BNF definition of strong opioids https://bnf.nice.org.uk/treatment-summaries/analgesics/

Sensitivity versus specificity

All strong opioids

Relevant definitions or links to important reference sources

BNF definition of weak/strong opioids - https://bnf.nice.org.uk/treatment-summaries/analgesics/:

Existing relevant codelists

Nil

Published by OpenSAFELY
Structured Medication Review - NHS England SNOMED CT

SNOMED code to support NHS England Structured Medication Review Service.

Published by OpenSAFELY
Structured medication review codes SNOMED CT

Taken from the STRUCTMEDRVW_COD refset published by NHSD.

Sulfasalazine (oral) BNF
Published by OpenSAFELY
Sulfasalazine-oral (dmd) dm+d

Oral sulfasalazine preparation in dm+d

Published by OpenSAFELY
Sulfonamides and trimethoprim (antibacterials) dm+d

Sulfonamides and trimethoprim codelist extracted from antibacterials codelist (https://www.opencodelists.org/codelist/opensafely/antibacterials/27089eaa/)

Published by UKHSA
Supplementary list of diabetes codes SNOMED CT

Taken from the DRSDM1_COD refset published by NHSD.

Support and refer stop smoking service and advisor codes SNOMED CT

Taken from the REFERSSSA_COD refset published by NHSD.