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
Statin contraindications (expiring) codes SNOMED CT
Taken from the `TXSTAT_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/).
Statin contraindications (expiring) codes (obsolete) SNOMED CT
Taken from the `TXSTAT_COD` refset published by NHSD.
Statin contraindications (persisting) codes SNOMED CT
Taken from the `XSTAT_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/).
Statin not indicated codes SNOMED CT
Taken from the `STATNIND_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/).
Statin therapy offered SNOMED CT
Taken from the `STATOFF_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/).
Sterilisation codes SNOMED CT
Taken from the `STERIL_COD` refset published by NHSD.
Stroke (SNOMED) SNOMED CT
Automatically-generated equivalent of [Stroke](/codelist/opensafely/stroke/)
Published by OpenSAFELY
Stroke (deprecated) CTV3
DEPRECATED due to presence of Read 2 codes, and missing CTV3 codes, the corrected version is:
https://codelists.opensafely.org/codelist/opensafely/stroke-updated

Codes indicating stroke (both haemorrhagic and ischaemic).
Published by OpenSAFELY
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. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
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. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Stroke risk assessment using CHADS2 SNOMED CT
Taken from the `CHAD_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/).
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/
Published by OpenSAFELY