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
incident-venous-thromboembolic-disease CTV3
Codes to define incident cases of venous thromboemolic disease.
Published by OpenSAFELY
insect bites-and-related-conditions-administration-codes-for-pharmacy-first SNOMED CT
Codes that a GP could use to record infected insect bites
intellec_disability Read V2
Published by QMUL Multimorbidity
is_prescribed_immunosuppressants dm+d
DM+D codelist for the `is_prescribed_immunosuppressants` group in the QCovid® to develop the
COVID-19 Population Risk Assessment.
Published by QCovid
is_prescribed_oral_steroids dm+d
DM+D codelist for the `is_prescribed_oral_steroids` group in the QCovid® to develop the
COVID-19 Population Risk Assessment.
Published by QCovid
is_taking_antileuko_or_laba dm+d
DM+D codelist for the `is_taking_antileuko_or_laba` group in the QCovid® to develop the
COVID-19 Population Risk Assessment.
Published by QCovid
learning_disability SNOMED CT
SNOMED codelist for the `learning_disability` group in the QCovid® to develop the
COVID-19 Population Risk Assessment.

Published by QCovid
migration status codes SNOMED CT
Codelist to identify people who are migrants.
Published by OpenSAFELY
mood disorder SNOMED CT
multi_sclerosis Read V2
Published by QMUL Multimorbidity
multimorbidity_prescription_analgesics_opiods_exc_migraine_bnf BNF
This prescription codelist is one of many used for the Cambridge Multimorbidity Score (CMS), Payne et al., 2018.
It captures primary care prescription-only medicine analgesics, excl. migraine meds.
This is 1 of 3 codelists needed to define "painful condition":
- Prescription of ≥4 prescription-only medicine analgesics, excl. migraine meds in the past 12 months.
multimorbidity_prescription_analgesics_opiods_exc_migraine_bnf_dmd_converted dm+d
This prescription codelist was originally created in pseudo-BNF and has been converted to dm+d. Before using this codelist, check whether a newer version of the pseudo-BNF codelist has been published. If so, re-convert from the updated version instead of using this one directly.
This codelist is one of many used to calculate the Cambridge Multimorbidity Score. It captures primary care prescription-only analgesics, excl. migraine meds. See the original pseudo-BNF codelist for a full description.
multimorbidity_prescription_anti_spasmodic_bnf BNF
These codelists were updated and converted to BNF from Tsang, Ruby SM, et al. "Development of a modified Cambridge Multimorbidity Score for use with SNOMED CT: an observational English primary care sentinel network study." British Journal of General Practice 73.731 (2023): e435-e442..
multimorbidity_prescription_anti_spasmodic_bnf - dmd dm+d
These codelists were updated and converted to BNF from Tsang, Ruby SM, et al. "Development of a modified Cambridge Multimorbidity Score for use with SNOMED CT: an observational English primary care sentinel network study." British Journal of General Practice 73.731 (2023): e435-e442..
multimorbidity_prescription_antiepileptics_for_pain_bnf BNF
This prescription codelist is one of many used for the Cambridge Multimorbidity Score (CMS), Payne et al., 2018.
It captures primary care prescription-only medicine analgesics, excl. migraine meds.
This is 1 of 3 codelists needed to define "painful condition":
- Prescription of ≥4 prescription-only medicine analgesics, excl. migraine meds in the past 12 months (see ref.)