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
Lymphoproliferative disorders SNOMED CT
Taken from the `LYMPHOPROLDIS_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/).
Lyrica capsules BNF
Used by the following [OpenPrescribing](https://openprescribing.net) measures:

* [Pregabalin capsules prescribed as Lyrica](https://openprescribing.net/measure/lyrica/)
Published by OpenPrescribing
MMR first dose vaccination codes SNOMED CT
Taken from the `MMRVAC1_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/).
MMR second dose vaccination codes SNOMED CT
Taken from the `MMRVAC2_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/).
MMR vaccination contraindication codes SNOMED CT
Taken from the `MMRCON_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/).
MMR vaccination given by other healthcare provider codes SNOMED CT
Taken from the `MMROHPVAC_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/).
MMR vaccine codes dm+d
Taken from the `MMRVACDRUG_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
MMRV first dose vaccination codes SNOMED CT
Taken from the `MMRVVAC1_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/).
MMRV second dose vaccination codes SNOMED CT
Taken from the `MMRVVAC2_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/).
MMRV vaccine codes SNOMED CT
Taken from the `MMRVVACDRUG_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/).
Macrolides (antibacterials) dm+d
Macrolides codelist extracted from antibacterials codelist (https://www.opencodelists.org/codelist/opensafely/antibacterials/27089eaa/)
Published by UKHSA
Major haematological disorder (non-malignant) codes SNOMED CT
Taken from the `NONMALHAEM_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/).
Malabsorption due to gastrointestinal surgery SNOMED CT
This codelist aims to identify gastrointestinal surgeries resulting in malabsorption of vitamin D. It is developed for the purpose of the vitamin D study (indications for vitamin D testing/ prescribing).
Published by OpenSAFELY
Malabsorption due to other causes SNOMED CT
This codelist identifies malabsorption syndromes. It is designed for the purpose of the vitamin D study (indications for vit. D testing/ prescribing) and therefore focused on the malabsorption of lipids.

To be used correctly and cover all potential causes of malabsorption, this codelist should be used alongside the following codelists: Coeliac disease, Crohn's disease, Cystic Fibrosis, Pancreatic Insufficiency, Malabsorption due to gastrointestinal surgery.
Published by OpenSAFELY
Malabsorption due to pancreatic insufficiency SNOMED CT
This codelist defines pancreatic insufficiency to define malabsorption disorders for the purpose of the vitamin D study.
For this reason, it focuses on exocrine insufficiency of lipid absorption, as opposed to endocrine insufficiency (diabetes is not included by default).
Published by OpenSAFELY