OpenSAFELY codelists


Reset
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).
Absence of Appendix CTV3
Codes that indicate an absence of an appendix, either as a clinical finding or due to appendicectomy
Acute Appendicitis CTV3
Codes that indicate an episode of acute appendicitis
Acute Respiratory Illness (Primary Care) SNOMED CT
A collection of non-specific codes relating to acute respiratory illnesses (ARI) not including pathogen specific codes. To be used in conjunction with WHO definition of Influenza-like-illness. To be used to detect influenza cases with more sensitivity, rather than specificity.
Acute Respiratory Illness (Secondary Care) ICD-10
A collection of non-specific codes relating to acute respiratory illnesses (ARI) not including pathogen specific codes. Adapted from WHO definition of Influenza-like-illness, whereas with the primary care ARI codelist (see references) fever and cough can be used to build a build a full ILI profile, in secondary care this is more difficult so just the ARI codelist is used. To be used to detect influenza cases with more sensitivity, rather than specificity.
Acute transverse myelitis ICD-10 ICD-10
Acute transverse myelitis ICD-10 codelist for use with hospital and mortality data

Codelist aims to be specific rather than sensitive, and to describe acute transverse myelitis occuring on its own rather than myelitis as part of a broader disease process such as encephalomyelitis or ADEM. Does not include codes which are not specific to acute transverse myelitis, e.g. such as 'Encephalitis, myelitis and encephalomyelitis'.
Addictive medicines dm+d
Codelist for addictive medicines. Including Z-drugs, benzodiazepines, gabapentinoids
Adrenaline Pens dm+d
This list contains dm+d entries for adrenaline auto-injectors, commonly know as pens, which are used by people when they experience an emergency allergic reaction.
Adrenaline auto-injectors BNF
Advanced decompensated cirrhosis of the liver and associated conditions (ICD-10) ICD-10
Codelist to identify patients with advanced decompensated cirrhosis of the liver.

Decompensated cirrhosis is defined as an acute deterioration in liver function in a patient with cirrhosis and is characterised by jaundice, ascites, hepatic encephalopathy, hepatorenal syndrome or variceal haemorrhage. (Moreau et al, 2013)
Advanced decompensated cirrhosis of the liver and associated conditions (snomed) SNOMED CT
This codelist aims to identify patients with severe liver disease.
Alanine aminotransferase (ALT) tests SNOMED CT
This codelist was developed to identify patients receiving a alanine transferaminase test, as an indicator of a liver function test.
Alanine aminotransferase (ALT) tests (numerical value) SNOMED CT
This codelist was developed to identify patients receiving a alanine tranfseraminase test, as an indicator of a liver function test, where a numerical value is recorded.
Alendronic acid dm+d
All products containing alendronic acid.
Alfentanil subcutaneous dm+d dm+d
This code list contains alfentanil formulations which may be given subcutaneously.
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.
Ambiguous Fractures - Not Attributed to Trauma, Fragility, or Osteoporosis SNOMED CT
Identifies codes which refer to bone fractures, which are not:
-Clearly caused by a high-trauma event
-Explicitly referred to as fragility fractures
-Linked with an established diagnosis of osteoporosis
Amoxicillin (oral) dm+d
This codelist contains amoxicillin formulations which may be given orally.
Amputation CTV3
Codelist for defining the presence of a history of amputation
Amputation OPCS-4 procedure codes OPCS-4
OPCS-4 codes to identify amputations following orthopaedic surgery
Amputation of lower limb CTV3
This captures amputation of the lower limb for the risk prediction project. Other studies requiring amputation codes should refer to the full codelist, under 'Amputation'.
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".
Ankylosing Spondylitis CTV3
Antidepressants for pain indication - dm+d dm+d
This codelist will be used to identify prescribing of antidepressants with an indication for pain to people waiting on procedure waiting lists.
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.
Antihistamines (oral) dm+d
This codelist contains [NHS Dictionary of Medicines and Devices (dm+d)](https://www.thedatalab.org/blog/2019/08/81/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/) for oral antihistamines
Antiphospholipid syndrome CTV3
Codes that indicate incident or history of antiphospholipid syndrome
Antiplatelets dm+d
This codelist contains codes for antiplatelets.
Anxiety Disorders SNOMED CT
Codes that indicate the presence of an anxiety disorder.
Aplastic Anaemia CTV3
Codes indicating diagnosis of aplastic anaemia
Aplastic Anaemia (SNOMED) SNOMED CT
Automatically-generated equivalent of [Aplastic Anaemia](/codelist/opensafely/aplastic-anaemia/)
Ascitic drainage SNOMED CT
User Requirements

This codelist aims to identify any ascitic drain procedure or code that indicate that an ascitic drainage procedure has taken place.
Aspirin dm+d
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 Aspirin.
Asplenia CTV3
Codes indicating diagnosis of asplenia or dysplenia (acquired or congenital)
Asplenia (SNOMED) SNOMED CT
Automatically-generated equivalent of [Asplenia](/codelist/opensafely/asplenia/)
Assessment instruments and outcome measures for long covid SNOMED CT
This codelists contains codes for assessment instruments and outcome measures for "long COVID"
Asthma Diagnosis CTV3
Codes indicating an asthma diagnosis
Asthma Diagnosis (SNOMED) SNOMED CT
Automatically-generated equivalent of [Asthma Diagnosis](/codelist/opensafely/asthma-diagnosis/)
Asthma Inhaler Salbutamol Medication dm+d
Medication codes of inhaled salbutamol medications used for asthma treatment
Asthma Inhaler Steroid Medication dm+d
Medication codes of inhaled corticosteroid medications used for asthma treatment
Asthma Oral Prednisolone Medication dm+d
Medication codes of oral prednisolone.
Asthma annual review QOF SNOMED CT
Asthma review code as listed in the QoF business rules
Asthma diagnosis codes SNOMED CT
The AST_COD cluster in the asthma reference set taken from the Primary Care Domain Reference Set Portal, published by NHS Digital on 2021-12-21.
Asthma exacerbation - secondary care ICD-10
ICD-10 codes to identify admissions for asthma, where the codes should be used to identify the primary reason for admission.
Asthma-related drug treatment codes dm+d
The ASTTRT_COD cluster from v46 QOF business rules for the Asthma clinical domain. The codes were extracted from the SNOMED CT browser using the SNOMED code 12463601000001108, which defines the reference set.
Asylum or refugee-related status SNOMED CT
A list of SNOMED CT codes related to refugee or asylum status, including codes related to presence in an immigration removal centre.
Atomoxetine - dmd dm+d
dm+d codelist for atomoxetine
Atopic dermatitis CTV3
Atrial fibrillation - Clinical finding CTV3
The following codes are used to indicate a clinical finding of Atrial fibrillation.
Atrial fibrillation exception reporting CTV3
The following codes are used to indicate Atrial fibrillation exception reporting