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
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/
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. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Structured medication review declined codes SNOMED CT
Taken from the `STRMEDRWVDEC_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
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 complication codes SNOMED CT
Taken from the `DRSDM1_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Supplementary list of diabetes complication codes (obsolete) 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. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Supraventricular tachycardia (SVT) Codes SNOMED CT
Taken from the `SVT_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Surgery Emergency OPCS-4 codes WITHOUT complication codes OPCS-4
This is a list of all the emergency OPCS-4 codes (as defined by RCS priority groups 1a and 1b), excluding the complication OPCS-4 codes for amputations, dislocations, compartment syndrome and washouts
Published by OpenSAFELY
Surgery emergency and immediate procedure OPCS-4 codes OPCS-4
OPCS-4 codes indicating an emergency or immediate procedure.
Can be used in addition to primary procedure code
Published by OpenSAFELY
Surgery for peripheral artery disease CTV3
DEFINITION: Surgery for peripheral artery disease

Variables:
(1) a binary variable denoting the presence of one of the codes at any point in the patient record.
Published by OpenSAFELY
Surgery staged and revision procedure OPCS-4 codes OPCS-4
OPCS-4 codes indicating planned staged OR revision procedure.
Can be used in addition to primary procedure code
Published by OpenSAFELY