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
Rotavirus vaccination 2nd dose given codes SNOMED CT
Taken from the `ROTAVAC2_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/).
Rotavirus vaccination exception reporting codes SNOMED CT
Taken from the `ROTAVACEXC_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/).
SABA Inhaler Medications dm+d
A list of short acting beta agonist (SABA) inhaler 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
SAMA Medication dm+d
A list of single ingredient short acting antimuscarinic (SAMA) inhaler 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
SNOMED Ethnicity SNOMED CT
This is a codelist of all ethnicity codes which ever appear in TPP. SNOMED codes with a zero count are excluded from the codelist.

We are aware that some of the individual codes contained in this codelist are offensive and upsetting. Although these terms are outdated and no longer in routine use, it is necessary to include them in codelists due to the historic nature of the data that is being analysed.
Published by OpenSAFELY
SPS - Paxlovid Interactions - do not use BNF
Description
Drugs with a recommendation of 'do not use' in the Specialist Pharmacy Services publication on interactions with the drug Nirmatrelvir, published 2022-02-02.
Published by OpenSAFELY
Salicylate contraindications codes (expiring) SNOMED CT
Taken from the `TXSAL_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/).
Salicylate contraindications codes (expiring) (obsolete) SNOMED CT
Taken from the `TXSAL_COD` refset published by NHSD.
Salicylate contraindications codes (persisting) SNOMED CT
Taken from the `XSAL_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/).
Salicylate contraindications codes (persisting) (obsolete) SNOMED CT
Taken from the `XSAL_COD` refset published by NHSD.
Sarcoidosis codes SNOMED CT
Taken from the `SARCOID_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/).
Scarlet fever SNOMED CT
Following an increase in cases of [Scarlet Fever and invasive Group A Strep in the UK](https://ukhsa.blog.gov.uk/2022/12/05/group-a-strep-what-you-need-to-know/) this codelist aims to identify patients who have had a diagnosis of or a suspected diagnosis of Scarlet Fever.
Published by OpenSAFELY
Seasonal flu vaccination codes SNOMED CT
Taken from the `FLU_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/).
Seasonal flu vaccination codes (obsolete) SNOMED CT
Taken from the `FLU_COD` refset published by NHSD.
Seasonal influenza inactivated vaccine first dose codes SNOMED CT
Taken from the `SFLUGP1_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/).