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
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 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
pregnancy-icd10-aurum ICD-10
This codelist was developed in 2022 by Campbell and colleagues (https://onlinelibrary.wiley.com/doi/full/10.1002/pds.5584) for the purposes of identifying pregnancy in CPRD Aurum. It is designed to be highly sensitive, to identify any potential pregnancy (including potentially unconfirmed pregnancies and pregnancies not resulting in birth). It expands on a 2019 ICD-10 codelist developed by the same group for CPRD GOLD (https://onlinelibrary.wiley.com/doi/full/10.1002/pds.4811).

The codelist …
Published by OpenSAFELY
receiving chemotherapy or radiotherapy codes SNOMED CT
Taken from the `DXT_CHEMO_COD` fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3
rem-sleep-behaviour-disorder-ctv3 CTV3
rem-sleep-behaviour-disorder-snomed-ct-v13 SNOMED CT
serious mental illness ICD-10
severe and profound learning disability flags CTV3
This is a list of generic codes which record the presence of a severe or profound learning disability, flagged as such in a patient's records separately to their underlying diagnosis.
Published by OpenSAFELY