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
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
Mechanical or Artificial Valves SNOMED CT
Published by OpenSAFELY
Mechanical prosthetic valve replacement codes SNOMED CT
Taken from the `MECHVALVREP_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/).
Medication Review - OpenSAFELY Service Restoration Observatory SNOMED CT
Published by OpenSAFELY
Medication checked codes SNOMED CT
Taken from the `MEDCHK_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/).
Medication review codes SNOMED CT
Taken from the `MEDRVW_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/).
Medication reviews - all types SNOMED CT
This codelist is designed to be a sensitive codelist to identify a broad range of medication reviews being undertaken.
Published by OpenSAFELY