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
Sphingosine-1-phosphate receptor modulator systemic medication codes dm+d
Taken from the `S1PRMDRUG_COD` NHS drug refset. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Published by NHS Drug Refsets
Spirometry codes for asthma SNOMED CT
Taken from the `ASTSPIR_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/).
Spirometry codes for chronic obstructive pulmonary disease (COPD) SNOMED CT
Taken from the `COPDSPIR_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/).
Spironolactone dm+d
This codelist contains [spironolactone preparations](https://openprescribing.net/chemical/0202030S0/).
Published by OpenSAFELY
Statin Medication dm+d
A list of statin preparations at VMP and AMP from the [NHS Dictionary of Medicines and Devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/).
Published by OpenSAFELY
Statin codes dm+d
Taken from the `STAT_COD` NHS drug refset. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Published by NHS Drug Refsets
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.
Steroid sparing systemic medication codes dm+d
Taken from the `STESPAGDRUG_COD` NHS drug refset. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Published by NHS Drug Refsets
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