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
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_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_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_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.
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
parkinsons Read V2
Published by QMUL Multimorbidity
peptic ulcer ICD10 ICD-10
ICD10 codes for peptic ulcer
peptic ulcer SNOMED SNOMED CT
Peptic Ulcer SNOMED Codes
peptic ulceration SNOMED CT
Taken from the `PEP_COD` field in the National PINCER Data Specification, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Published by PINCER
perip_arterial_disease Read V2
Published by QMUL Multimorbidity
peripheral arterial disease CTV3
Codes that indicate incident or history of peripheral arterial disease.

This is used for calculating the CHAD2S2-VASc score.
Published by OpenSAFELY