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
Anxiolytics (BNF) BNF
BNF Prescription codes for anxiolytics.
Asthma medications (BNF) BNF
Asthma medication codes derived by Hannah Whittaker (Imperial College London) and reviewed by Jenni Quint (Imperial College London) for CONVALESENCE Long Covid EHR project
COPD exacerbation medications (BNF) BNF
COPD exacerbation medication codes derived by Hannah Whittaker (Imperial College London) and reviewed by Jenni Quint (Imperial College London) for CONVALESENCE Long Covid EHR project
COPD medications (BNF) BNF
COPD medication codes derived by Hannah Whittaker (Imperial College London) and reviewed by Jenni Quint (Imperial College London) for CONVALESENCE Long Covid EHR project
High dose long acting opioids (OpenPrescribing) - Pseudo BNF BNF
Taken from high dose long-acting opioid codelist in OpenPrescribing, with a calculated Oral Morphine Equivalence of ≥120mg a day of a long acting regular opioid.

From OpenPrescribing:
"The calculations are based on likely doses of long acting, regular opioids, for example morphine sulphate tablets or fentanyl patches. For example, we have assumed that MST 60mg tablets are “high dose”, as they are usually taken as one tablet twice daily (120mg daily dose), whereas MST 30mg are not, as the da…
Published by OpenSAFELY
Mycophenolate (BNF) BNF
BNF codelist for mycophenolate.
Published by OpenSAFELY
Non-high dose long acting opioids (OpenPrescribing) - Pseudo BNF BNF
Taken from long-acting opioid denominator in OpenPrescribing, with a calculated Oral Morphine Equivalence of <120mg a day of a long acting regular opioid.

From OpenPrescribing: "The calculations are based on likely doses of long acting, regular opioids, for example morphine sulphate tablets or fentanyl patches. For example, we have assumed that MST 60mg tablets are “high dose”, as they are usually taken as one tablet twice daily (120mg daily dose), whereas MST 30mg are not, as the daily dose…
Published by OpenSAFELY
Opioid Agonist Therapy (BNF) BNF
Prescription codes for Opiod Agonist Therapy (AOT).
Opioid-containing medicines (buccal, nasal and oromucosal- excluding drugs for substance misuse) - Pseudo BNF BNF
All opioid-containing products which are given via buccal, nasal, or oromuscosal route of administration, EXCLUDING products listed in section 4.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in "opioid analgesics" in the BNF ARE included (e.g. co-codamol, alfentanil)
Published by OpenSAFELY
Opioid-containing medicines (inhalation- excluding drugs for substance misuse) - Pseudo BNF BNF
All opioid-containing products which are given via inhaled route of administration, EXCLUDING products listed in section 4.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in "opioid analgesics" in the BNF ARE included (e.g. co-codamol, alfentanil)
Published by OpenSAFELY
Opioid-containing medicines (oral - excluding drugs for substance misuse) - Pseudo BNF BNF
All opioid-containing products which are given via oral route of administration, EXCLUDING products listed in section 4.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in "opioid analgesics" in the BNF ARE included (e.g. co-codamol, alfentanil)
Published by OpenSAFELY
Opioid-containing medicines (parenteral- excluding drugs for substance misuse) - Pseudo BNF BNF
All opioid-containing products which are given via parenteral route of administration, EXCLUDING products listed in section 4.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in "opioid analgesics" in the BNF ARE included (e.g. co-codamol, alfentanil)
Published by OpenSAFELY
Opioid-containing medicines (rectal - excluding drugs for substance misuse) - Pseudo BNF BNF
All opioid-containing products which are given via rectal route of administration, EXCLUDING products listed in section 4.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in "opioid analgesics" in the BNF ARE included (e.g. co-codamol, alfentanil)
Published by OpenSAFELY
Opioid-containing medicines (transdermal- excluding drugs for substance misuse) - Pseudo BNF BNF
All opioid-containing products which are given via transdermal route of administration, EXCLUDING products listed in section 4.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in "opioid analgesics" in the BNF ARE included (e.g. co-codamol, alfentanil)
Published by OpenSAFELY
ACE Inhibitor Medications dm+d
The codelist contains medicines that are [ACE Inhibitors from the RAS section of BNF codes](notebook contains medicines that are ACE Inhibitors from the RAS section of BNF codes).
Published by OpenSAFELY