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
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
Alpha-Adrenoceptor Blocking Drugs dm+d
This code list contains [NHS dm+d codes](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) for [alpha-adrenoceptor blocking Drugs](https://openprescribing.net/bnf/020504/) in the cardiovascular chapter of BNF codes.
Published by OpenSAFELY
Angiotensin II Receptor Blockers (ARBs) dm+d
The following notebook contains medicines that are [angiotensin II receptor antagonists from the RAS section of BNF codes](https://openprescribing.net/bnf/020505/). All combination products have been excluded and the list has been cross refereneced with the actual BNF for "Other drugs in the class ace inhibitors".
Published by OpenSAFELY
Antidiabetic drugs dm+d
This codelists contains all the NHS dictionary of medicines and devices codes for "antidiabetic drugs" as specified by the BNF coding system. This does not include insulin.
Published by OpenSAFELY
Azathioprine BNF
[BNF codelists](https://www.thedatalab.org/blog/161/prescribing-data-bnf-codes/) for azathioprine.
Published by OpenSAFELY
Beta-blocker medications dm+d
This code list contains [NHS dm+d codes](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) for [beta-adrenoceptor blocking drugs](https://openprescribing.net/bnf/0204/), which are better known as beta-blockers.
Published by OpenSAFELY
COPD Medications (New) BNF
Codelist created from existing list, https://www.opencodelists.org/codelist/bristol/copd-medications-bnf/4b00637c/#full-list, to solve issue with dm+d conversion
Published by OpenSAFELY
COPD Medications (New) - dmd dm+d
Codelist created from existing list, https://www.opencodelists.org/codelist/bristol/copd-medications-bnf/4b00637c/#full-list, to solve issue with dm+d conversion
Published by OpenSAFELY
Calcium Channel Blockers dm+d
The codelist contains medicines that are classed as [calcium channel blockers in BNF codes](https://openprescribing.net/bnf/020602/).
Published by OpenSAFELY
Ciclosporin - oral dm+d
BNF codelist for oral ciclosporin.
Published by OpenSAFELY
Codeine for pain BNF
Excludes codeine for cough suppression. Include all codeine-containing products within the BNF Chapters 4.7 and 10.1.1 (combined with NSAIDs).
Published by OpenSAFELY
Combination blood pressure medication dm+d
The following codelist contains products with more than one ingredient for the treatment of blood pressure from the cardiovascular chapter of BNF codes.
Published by OpenSAFELY
Lisdexamfetamine BNF
BNF codelist for lisdexamfetamine
Published by OpenSAFELY