OpenSAFELY codelists


Reset
Mercaptopurine BNF
Mercaptopurine dmd dm+d
dm+d codelist for mercaptopurine
Merhotrexate - injectable BNF
Mesalazine BNF
Metformin dm+d
This codelist aims to identify the prescribing of metformin, including in combination with other oral antidiabetic medications.
Methotrexate (oral) dm+d
dm+d codelist for oral methotrexate
Methotrexate - injectable dm+d
dm+d codelist for injectable methotrexate
Methotrexate - oral BNF
[BNF codelist](https://www.thedatalab.org/blog/161/prescribing-data-bnf-codes/) for oral methotrexate.
Methylphenidate BNF
pseudoBNF codelist for methylphenidate
Methylphenidate - dmd dm+d
dm+d codelist for methylphenidate
Midazolam BNF
Midazolam that is generally prescribed at the end of life.
Midazolam - end of life dm+d
dm+d codelist for midazolam injections used at the end of life.
Migrant SNOMED CT
This is a codelist of all migration-related SNOMED-CT codes that will be used create a cohort of potential migrants within the OpenSAFELY platform. The codelist captures a range of migration-related characteristics such as a non-UK country of birth, an immigration legal status, a non-English first or main language or the need for an interpreter amongst others.
Mixed (biphasic) insulin - dmd dm+d
This codelist contains NHS Dictionary of Medicines and Devices (dm+d) codes for all biphasic insulin preparations.
Molnupiravir - dmd dm+d
A codelist to identify prescriptions of molnupiravir.

##### User requirements
I need a codelist to return all recorded prescriptions of molnupiravir in primary care records. This will be used to plot the recorded prescribing in primary care of all COVID-19 therapeutics.
Monoamine Oxidase Inhibitors DM&D dm+d
This codelist contains codes from the NHS dictionary of medicines and devices (dm+d) for antidepressants that are known as Monoamine oxidase inhibitors. All formulations of these medicines have been included. Moclobemide is a Reversible Monoamine Oxidase Inhibitor. These medicines are licensed to treat depression. Moclobemide is also licensed to treat social anxiety.
Morphine subcutaneous dm+d dm+d
User Requirements This codelist aims to identify morphine being used in the context of palliative care. This list covers formulations of morphine that could be given subcutaneously.
Multiple Sclerosis CTV3
These codes indicate a diagnosis of multiple sclerosis (MS)
Multiple sclerosis v2 CTV3
Codelist for multiple sclerosis including Y codes not mapped previously, Balo disease, Schilder's disease
Also includes clinically isolated syndrome and optic neuromyelitis
Mycophenolate dm+d
dm+d codelist for mycophenolate
Mycophenolate (BNF) BNF
BNF codelist for mycophenolate.
Myocardial infarction CTV3
This is a list of codes denoting a heart attack / myocardial infarction.
Myocardial infarction 2 CTV3
The following codes are used to indicate Myocardial infarction 2
NHS England Care Homes residential status SNOMED CT
This codelists supports analysis of records of people who may reside in a nursing or care home. NHS England requires primary care networks (PCNs) to maintain this list as part their contract.
NHS England Care Homes residential status - CTV3 CTV3
This codelist supports analysis of records of people who may reside in a nursing or care home. NHS England requires primary care networks (PCNs) to maintain this list as part their contract.
NICE managing the long-term effects of COVID-19 SNOMED CT
This codelist are the recommended snomed-ct codes from the [NICE guidelines](https://www.nice.org.uk/guidance/ng188/) on managing the long-term effects of COVID-19 also known as "long COVID"
NSAIDs - oral dm+d
This is a list of [NHS dictionary of medicines and devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) oral non-seroidal anti-inflammatory drugs (NSAIDs) .
Naproxen - high dose dm+d
This is a list of [NHS dictionary of medicines and devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) codes for high dose naproxen.
Naproxen - low dose dm+d
This is a list of [NHS dictionary of medicines and devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) codes for low dose naproxen.
Naproxen - other doses dm+d
This is a list of [NHS dictionary of medicines and devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) codes for "other doses" of naproxen.
Nebulised asthma and COPD medications dm+d
A list of nebulised medications preparations at VMP and AMP from the [NHS Dictionary of Medicines and Devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) that are used in asthma and COPD.
Newer aminosalicylates for IBD BNF
Newer aminosalicylates for IBD - dmd dm+d
dmd codelist for newer aminosalicylates for IBD; balsalazide, mesalazine, olsalazine.
Nirmatrelvir drug interactions (consider risks and benefits) BNF
Drugs with a recommendation of 'consider risks and benefits' in the Specialist Pharmacy Services publication on interactions with the drug Nirmatrelvir, published 2022-02-02.
No longer housebound SNOMED CT
This codelist aims to identify people who are no longer housebound.

To identify people who are housebound at the time of search, it should be used in conjunction with the separate codelist for "housebound".
Non-high dose long acting opioids (OpenPrescribing) - dm+d dm+d
dm+d version of non-high dose opioid codelist.

Taken from long-acting opioid denominator in OpenPrescribing, with a calculated Oral Morphine Equivalence of <120mg a day of a long acting regular opioid.
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…
Obstructive sleep apnoea SNOMED CT
This codelist aims to identify adult patients who have obstructive sleep apnoea.
Oestrogen and oestrogen-like drugs dm+d
This codelist contains codes for oestrogen and oestrogen-like drugs that potentially increase the risk of thrombotic events.
OpenPrescribing Measure: Antibiotic stewardship: prescribing of trimethoprim vs nitrofurantoin (denominator) dm+d
Drugs used as the denominator of the following [OpenPrescribing](https://openprescribing.net) measures:

* [Antibiotic stewardship: prescribing of trimethoprim vs nitrofurantoin](https://openprescribing.net/measure/trimethoprim/)
OpenPrescribing Measure: Antibiotic stewardship: prescribing of trimethoprim vs nitrofurantoin (numerator) dm+d
Drugs used as the numerator of the following [OpenPrescribing](https://openprescribing.net) measures:

* [Antibiotic stewardship: prescribing of trimethoprim vs nitrofurantoin](https://openprescribing.net/measure/trimethoprim/)
OpenPrescribing Measure: Antibiotic stewardship: volume of antibiotic prescribing (numerator) dm+d
Antibacterial drugs contained with BNF section 5.1, as used by OpenPrescribing "Antibiotic stewardship: volume of antibiotic prescribing (KTT9)" measure.
OpenPrescribing Measure: Co-amoxiclav, cephalosporins and quinolones (numerato dm+d
List of "broad-spectrum" antibiotics used by the following OpenPrescribing measures based on [NICE guidance note KTT9](https://www.nice.org.uk/advice/ktt9):

* [Antibiotic stewardship: co-amoxiclav, cephalosporins & quinolones (KTT9)](https://openprescribing.net/measure/ktt9_cephalosporins/)
* [Antibiotic stewardship: co-amoxiclav, cephalosporins & quinolones (KTT9) prescribing volume](https://openprescribing.net/measure/ktt9_cephalosporins_star/)
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)
Opioid-containing medicines (buccal, nasal and oromucosal- excluding drugs for substance misuse) - dm+d dm+d
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)
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)
Opioid-containing medicines (inhalation- excluding drugs for substance misuse) - dm+d dm+d
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)
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)
Opioid-containing medicines (oral - excluding drugs for substance misuse) - dm+d dm+d
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)
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)