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
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.)
multimorbidity_prescription_antiepileptics_for_pain_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 antiepileptic medications prescribed for pain in primary care. See the original pseudo-BNF codelist for a full description.
multimorbidity_prescription_anxiolytics_anti_depressants_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_anxiolytics_anti_depressants_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_constipation_bnf BNF
This prescription codelist is one of many used for the Cambridge Multimorbidity Score (CMS), Payne et al., 2018.

This codelist captures primary care prescriptionsfor chronic constipation. The coding system is psuedo-BNF.
multimorbidity_prescription_constipation_bnf_dmd_converted dm+d
This prescription codelist was originally created in pseudo-BNF format and has since been converted to dm+d. Before using this codelist, check whether a newer version of the pseudo-BNF codelist has been published. If so, please re-convert from the updated version rather than using this one directly.

This codelist is one of several used to calculate the Cambridge Multimorbidity Score (CMS; Payne et al., 2018). It captures prescriptions for chronic constipation.
multimorbidity_prescription_epilepsy_bnf BNF
This prescription codelist is one of many used for the Cambridge Multimorbidity Score (CMS), Payne et al., 2018.

This codelist captures primary care prescriptions for epilepsy. NOTE: This codelist is intended for use in conjunction with an epilepsy "condition" codelist (see references). The coding system is psuedo-BNF.
multimorbidity_prescription_epilepsy_bnf_dmd_converted dm+d
This prescription codelist was originally created in pseudo-BNF format and has since been converted to dm+d. Before using this codelist, check whether a newer version of the pseudo-BNF codelist has been published. If so, please re-convert from the updated version rather than using this one directly.

This codelist is one of several used to calculate the Cambridge Multimorbidity Score (CMS; Payne et al., 2018). It captures primary care prescriptions for epilepsy.
multimorbidity_prescription_schizophrenia_bipolar_disorder_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_schizophrenia_bipolar_disorder_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..
oral NSAID Rx dm+d
Taken from the `NSAID_COD` field in the National PINCER Data Specification, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Published by PINCER
otitis media SNOMED CT
Codelist for otitis media (middle ear infection) that may be treated with antibiotics in primary care.
Published by UKHSA