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 we have used in OpenSAFELY research to date.


All codelists


Reset
ACE Inhibitor Medications dm+d

The codelist contains medicines that are ACE Inhibitors from the RAS section of BNF codes.

Published by OpenSAFELY
Absence of Appendix CTV3

Codes that indicate an absence of an appendix, either as a clinical finding or due to appendicectomy

Published by OpenSAFELY
Acarbose ( alpha glucosidase inhibitors) dm+d
Published by OpenSAFELY
Acute Appendicitis CTV3

Codes that indicate an episode of acute appendicitis

Published by OpenSAFELY
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'.

Published by OpenSAFELY
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.

Published by OpenSAFELY
Adrenaline auto-injectors BNF
Published by OpenSAFELY
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.

Published by OpenSAFELY
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.

Published by OpenSAFELY
All BMI coded terms SNOMED CT

Taken from the BMI_STAGE field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Alpha-Adrenoceptor Blocking Drugs dm+d

This code list contains NHS dm+d codes for alpha-adrenoceptor blocking Drugs in the cardiovascular chapter of BNF codes.

Published by OpenSAFELY
Amputation CTV3

Codelist for defining the presence of a history of amputation

Published by OpenSAFELY
Amputation OPCS-4 procedure codes OPCS-4

OPCS-4 codes to identify amputations following orthopaedic surgery

Published by OpenSAFELY
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'.

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. 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
Ankylosing Spondylitis CTV3
Published by OpenSAFELY
Antibacterials dm+d
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
Antihistamines (oral) dm+d

This codelist contains NHS Dictionary of Medicines and Devices (dm+d) for oral antihistamines

Published by OpenSAFELY
Antiphospholipid syndrome CTV3

Codes that indicate incident or history of antiphospholipid syndrome

Published by OpenSAFELY
Antiplatelets dm+d

This codelist contains codes for antiplatelets.

Published by OpenSAFELY
Any other ethnicity code SNOMED CT

Taken from the NON_ETH2001_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Aplastic Anaemia CTV3

Codes indicating diagnosis of aplastic anaemia

Published by OpenSAFELY
Aplastic Anaemia (SNOMED) SNOMED CT

Automatically-generated equivalent of Aplastic Anaemia

Published by OpenSAFELY
Asian or Asian British - Any other Asian background Ethnicity SNOMED CT

Taken from the ETH2001_ASNOTHER_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Asian or Asian British - Bangladeshi Ethnicity SNOMED CT

Taken from the ETH2001_ASNBANG_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Asian or Asian British - Indian Ethnicity SNOMED CT

Taken from the ETH2001_ASNINDIAN_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Asian or Asian British - Pakistani Ethnicity SNOMED CT

Taken from the ETH2001_ASNPAK_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Aspirin dm+d

A list of NHS dictionary of medicines and devices codes for Aspirin.

Published by OpenSAFELY
Asplenia CTV3

Codes indicating diagnosis of asplenia or dysplenia (acquired or congenital)

Published by OpenSAFELY
Asplenia (SNOMED) SNOMED CT

Automatically-generated equivalent of Asplenia

Published by OpenSAFELY
Asplenia or Dysfunction of the Spleen codes SNOMED CT

Taken from the SPLN_COV_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Assessment instruments and outcome measures for long covid SNOMED CT

This codelists contains codes for assessment instruments and outcome measures for "long COVID"

Published by OpenSAFELY
Asthma Admission codes SNOMED CT

Taken from the ASTADM_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Asthma Diagnosis CTV3

Codes indicating an asthma diagnosis

Published by OpenSAFELY
Asthma Diagnosis (SNOMED) SNOMED CT

Automatically-generated equivalent of Asthma Diagnosis

Published by OpenSAFELY
Asthma Diagnosis code SNOMED CT

Taken from the AST_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Asthma Inhaler Salbutamol Medication dm+d

Medication codes of inhaled salbutamol medications used for asthma treatment

Published by OpenSAFELY
Asthma Inhaler Steroid Medication dm+d

Medication codes of inhaled corticosteroid medications used for asthma treatment

Published by OpenSAFELY
Asthma Oral Prednisolone Medication dm+d

Medication codes of oral prednisolone.

Published by OpenSAFELY
Asthma annual review QOF SNOMED CT

Asthma review code as listed in the QoF business rules

Published by OpenSAFELY
Asthma systemic steroid prescription codes dm+d

Taken from the ASTRXM1/2/3_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Atrial fibrillation - Clinical finding CTV3

The following codes are used to indicate a clinical finding of Atrial fibrillation.

Published by OpenSAFELY
Atrial fibrillation exception reporting CTV3

The following codes are used to indicate Atrial fibrillation exception reporting

Published by OpenSAFELY
Atrial fibrillation or flutter CTV3

Codes for a history of atrial fibrillation or atrial flutter

Published by OpenSAFELY
Atrial fibrillation quality indicator care unsuitable for patient CTV3

The following codes are used to indicate Atrial fibrillation quality indicator care unsuitable for patient

Published by OpenSAFELY
Atrial fibrillation resolved CTV3

The following codes are used to indicate Atrial fibrillation resolved

Published by OpenSAFELY
Atrial fibrillation: Patient has chosen not to receive atrial fibrillation quality indicator care CTV3

The following codes are used to indicate Atrial fibrillation: Patient has chosen not to receive atrial fibrillation quality indicator care

Published by OpenSAFELY
Azathioprine BNF

BNF codelists for azathioprine.

Published by OpenSAFELY
Azathioprine DM+D dm+d

This codelist contains NHS Dictionary of Medicines and Devices (dm+d) codes for all azathioprine preparations.

Published by OpenSAFELY
Azathiprine BNF
Published by OpenSAFELY
Azithromycin Medication dm+d

This codelists includes AMPs and VMPs from the NHS dictionary of medicines and devices for azithromycin.

Published by OpenSAFELY
BMI SNOMED CT

Taken from the BMI_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Bell's palsy CTV3

CTV3 codelist for incident Bell's palsy

Included unspecified facial nerve disorders following Leite et al.

Did not include: - facial nerve disorders with other specified cause (e.g. zoster, trauma) or specified as 'other' - history of Bell's palsy - palsies of an unspecified cranial nerve - multiple cranial nerve palsies (including palsies specified as both cranial nerves 5+7)

Published by OpenSAFELY
Bell's palsy - ECDS restricted reference set SNOMED CT

Bell's palsy - relevant code from ECDS restricted reference set of SNOMED codes

Published by OpenSAFELY
Bell's palsy ICD-10 ICD-10

ICD-10 code for Bell's palsy, for use in hospital admissions and mortality data

Published by OpenSAFELY
Beta-blocker medications dm+d

This code list contains NHS dm+d codes for beta-adrenoceptor blocking drugs, which are better known as beta-blockers.

Published by OpenSAFELY
Black or Black British - African Ethnicity SNOMED CT

Taken from the ETH2001_BLKAFRIC_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Black or Black British - Any other Black background Ethnicity SNOMED CT

Taken from the ETH2001_BLKOTH_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Black or Black British - Caribbean Ethnicity SNOMED CT

Taken from the ETH2001_BLKCARIB_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Bone Marrow Transplant CTV3

Codes indicating a bone marrow transplant has been carried out

Published by OpenSAFELY
Bone Marrow Transplant (SNOMED) SNOMED CT

Automatically-generated equivalent of Bone Marrow Transplant

Published by OpenSAFELY
Budesonide inhalers used in PRINCIPLE trial & CEM/CMO/2021/011 dm+d

This code list contains inhaled medicines containing Budesonide as recommended by this COVID-19 Therapeutic Alert.

Published by OpenSAFELY
COPD Infection CTV3

Codes indicating a diagnosis of COPD exacerbation or a LRTI infection

Published by OpenSAFELY
COPD Rescue Packs and Annual Reviews CTV3

Code indicating an annual review of COPD or the provision of a rescue pack for COPD exacerbations

Published by OpenSAFELY
COVID Identification ICD-10

The following two ICD-10 codes for COVID identification have been used

U07.1 virus identified Use this code when COVID-19 has been confirmed by laboratory testing irrespective of severity of clinical signs or symptoms. Use additional code, if desired, to identify pneumonia or other manifestations.

U07.2 COVID-19, virus not identified Use this code when COVID-19 is diagnosed clinically or epidemiologically but laboratory testing is inconclusive or not available. Use additional code, if desired, to identify pneumonia or other manifestations

Published by OpenSAFELY
COVID Identification in primary care (helper) - 111 suspected CTV3

Helper file for COVID identifcation in primary care - suspect case. Used to identify which of the suspect codes in the COVID identification in primary care file is used by 111 for recording a suspect case.

Published by OpenSAFELY
COVID Identification in primary care (helper) - Pillar 2 onwards CTV3

Helper file for COVID identifcation in primary care relating to the case, negative test, potential historic case and historic case codelists. Can be used to identify which of the codes in these codelists have been used by Pillar 2 testing (and later Pillars).

Published by OpenSAFELY
COVID Identification in primary care - exposure to disease CTV3

Codes indicating exposure to COVID-19 (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - antigen test negative CTV3

Codes indicating COVID-19 antigen test negative (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - historic case CTV3

Codes indicating COVID-19 historic case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - potential historic case CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - probable covid - clinical code CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - probable covid - positive test CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - probable covid - sequelae CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - suspected covid - advice CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - suspected covid - had test CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - suspected covid - isolation code CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - suspected covid - nonspecific clinical assessment CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - suspected covid - suspected codes CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID identification in primary care - unrelated to case status CTV3

Codes indicating COVID-19 case (1 of 13 possible types of CTV3 codes that contain information related to COVID-19)

Published by OpenSAFELY
COVID vaccination contraindication codes SNOMED CT

Taken from the COVCONTRA_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

COVID vaccination medication code (any) dm+d

Taken from the COVRX1/2_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

COVID-19 Vaccination - Contraindication or Allergy SNOMED CT

Codes that explicitly indicate COVID-19 allergy, or that the vaccine is contraindicated or not indicated. Includes inactive codes.

Published by OpenSAFELY
COVID-19 Vaccination - Did not attend first appointment SNOMED CT

Codes to identify where someone did not attend an appointment also known as DNAs

Published by OpenSAFELY
COVID-19 Vaccination - Did not attend second appointment SNOMED CT

Codes to identify where someone did not attend a second COVID-19 vaccination appointment also known as DNAs

Published by OpenSAFELY
COVID-19 Vaccination - First dose declined SNOMED CT

First dose (or whole course) of coronavirus vaccination declined. Similar to PRIMIS codelist but also including inactive code.

Published by OpenSAFELY
COVID-19 Vaccination - First dose not given SNOMED CT
Published by OpenSAFELY
COVID-19 Vaccination - Second dose declined SNOMED CT

Second dose of coronavirus vaccination declined. Similar to PRIMIS codelist but also including inactive code. Note the codes are not all specific to the second dose so a previous first dose should be identified when using this codelist.

Published by OpenSAFELY
COVID-19 Vaccination - Second dose not given SNOMED CT
Published by OpenSAFELY
COVID-19 Vaccination Given SNOMED CT
Published by OpenSAFELY
COVID-19 Vaccination Unavailable SNOMED CT

A single code to denote when a vaccine is unavailable.

Published by OpenSAFELY
COX-2 Specific NSAIDs dm+d

This is a list of NHS dictionary of medicines and devices oral non-seroidal anti-inflammatory drugs (NSAIDs) that specifically targets cyclooxygenase / COX-2 enzyme.

Published by OpenSAFELY
CVD risk assessment score QOF SNOMED CT

Patients who have received a cardiovascular risk score as listed in the QoF business rules

Published by OpenSAFELY
Calcium Channel Blockers dm+d

The codelist contains medicines that are classed as calcium channel blockers in BNF codes.

Published by OpenSAFELY
Cancer excluding lung and haematological CTV3

Codes indicating a diagnosis of a cancer other than lung cancer or haematological cancer

Published by OpenSAFELY
Cancer excluding lung and haematological (SNOMED) SNOMED CT

Automatically-generated equivalent of Cancer excluding lung and haematological

Published by OpenSAFELY
Cardiovascular Secondary Care ICD-10

Chapter I of ICD-10 for cardiovascular mortality with variables separating out codes relating to myocardial infarction and heart failure. Previously used by Jeremy P. Brown and Krishnan Bhaskaran (see below).

Published by OpenSAFELY
Care planning medication review simple reference set - NHS Digital SNOMED CT

This contains Medication Review activities, in common with other subsets of this type it does not include procedures with context already declared, e.g. Medication review declined.

Published by OpenSAFELY
Carer codes SNOMED CT

Taken from the CARER_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Cerebral palsy CTV3

Codelist for people with a diagnosis of cerebral palsy

Published by OpenSAFELY
Chemotherapy or Radiotherapy CTV3

Codes indicating chemotherapy or radiotherapy or both has been carried out

Published by OpenSAFELY
Chemotherapy or Radiotherapy (SNOMED) SNOMED CT

Automatically-generated equivalent of Chemotherapy or Radiotherapy

Published by OpenSAFELY
Chemotherapy or Radiotherapy (updated) CTV3

An updated version of https://codelists.opensafely.org/codelist/opensafely/chemotherapy-or-radiotherapy/, with truncated codes fixed.

Published by OpenSAFELY
Chloroquine dm+d

This notebook contains NHS dm+d codes medications chloroquine phosphate or chloroquine sulfate.

Published by OpenSAFELY
Cholesterol tests SNOMED CT

A SNOMED CT codelist describing primary care requests for total cholesterol.

Published by OpenSAFELY
Cholesterol tests (numerical value) SNOMED CT

A SNOMED CT codelist describing primary care requests for total cholesterol with a numerical value.

Published by OpenSAFELY
Chronic Cardiac Disease CTV3

Codes indicating a diagnosis of chronic heart disease, excluding simple VSD and AF

Published by OpenSAFELY
Chronic Cardiac Disease (SNOMED) SNOMED CT

Automatically-generated equivalent of Chronic Cardiac Disease

Published by OpenSAFELY
Chronic Kidney Disease (SNOMED) SNOMED CT

Automatically-generated equivalent of Chronic Kidney Disease

Published by OpenSAFELY
Chronic Liver Disease CTV3

Code indicating diagnosis of chronic liver disease

Published by OpenSAFELY
Chronic Liver Disease (SNOMED) SNOMED CT

Automatically-generated equivalent of Chronic Liver Disease

Published by OpenSAFELY
Chronic Liver disease codes SNOMED CT

Taken from the CLD_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic Neurological Disease including Significant Learning Disorder SNOMED CT

Taken from the CNS_COV_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic Respiratory Disease CTV3

Codes indicating a diagnosis of a chronic respiratory disease excluding asthma

Published by OpenSAFELY
Chronic Respiratory Disease SNOMED CT

Taken from the RESP_COV_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic Respiratory Disease (SNOMED) SNOMED CT

Automatically-generated equivalent of Chronic Respiratory Disease

Published by OpenSAFELY
Chronic heart disease codes SNOMED CT

Taken from the CHD_COV_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic kidney disease codes - all stages SNOMED CT

Taken from the CKD15_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic kidney disease codes-stages 3 - 5 SNOMED CT

Taken from the CKD35_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic kidney disease diagnostic codes SNOMED CT

Taken from the CKD_COV_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Chronic obstructive pulmonary disease (COPD) review QoF SNOMED CT

Chronic Obstructive Pulmonary Disease (COPD) review codes as listed in the QoF business rules

Published by OpenSAFELY
Ciclosporin BNF
Published by OpenSAFELY
Ciclosporin - oral dm+d

BNF codelist for oral ciclosporin.

Published by OpenSAFELY
Ciclosporin - oral - dmd dm+d

NHS Dictionary of medicines and devices (dm+d) codelist for ciclosporin

Published by OpenSAFELY
Co-amoxiclav, cephalosporins and quinolones dm+d
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
Coronavirus Vaccination SNOMED CT
Published by OpenSAFELY
Covid-19 vaccine first dose - did not attend (DNA) SNOMED CT
Published by OpenSAFELY
Crohn's Disease CTV3
Published by OpenSAFELY
Current Asthma CTV3

Codes indicating current, adult asthma.

Published by OpenSAFELY
Current COPD CTV3

Codelist indicating current COPD.

Published by OpenSAFELY
Cystic Fibrosis CTV3

Codes indicating a diagnosis of cystic fibrosis or associated diseases such as primary ciliary dyskinesia

Published by OpenSAFELY
DMARDs dm+d

This codelist is a list of NHS dm+d codes for "disease modifying antirheumatic drugs" more commonly referred to as DMARDs.

Published by OpenSAFELY
Dabigatran DM+D dm+d

This is a codelist that identifies all preparations from the NHS dictionary of medicines and devices for dabigatran etexilate , one of the Directing Oral Anticoagulants which are often referred to as DOACs.

Published by OpenSAFELY
Dementia CTV3

Codes indicating dementia

Published by OpenSAFELY
Dementia (Complete) CTV3

This codelist captures Dementia and Alzheimers Disease. Discussion here: https://github.com/opensafely/codelist-development/issues/61

Published by OpenSAFELY
Dementia (SNOMED) SNOMED CT

Automatically-generated equivalent of Dementia

Published by OpenSAFELY
Depression CTV3

The following codes are used to indicate Depression

Published by OpenSAFELY
Diabetes CTV3

Codes indicating diagnosis of permanent diabetes

Published by OpenSAFELY
Diabetes (SNOMED) SNOMED CT

Automatically-generated equivalent of Diabetes

Published by OpenSAFELY
Diabetes Ketoacidosis - CTV3 (DKA - unspecific) CTV3

This lists contains CTV3 codes used to identify people who may have had diabetes ketoacidosis (DKA). It has been generated based on a DKA snomed list using internal mappings. The SNOMED codelistlist was conceived to identify DKA in a specific group of patients in a specific time period, therefore we have been permissive in including unspecific codes which may not be suitable for all studies.

Published by OpenSAFELY
Diabetes Ketoacidosis - SNOMED (DKA - unspecific) SNOMED CT

This lists contains codes used to identify people who may have had diabetes ketoacidosis (DKA). This list was conceived to identify DKA in a specific group of patients in a specific time period, therefore we have been permissive in including unspecific codes which may not be suitable for all studies.

Published by OpenSAFELY
Diabetes Unknown Type CTV3

Codes which likely indicate either Type 1 or Type 2 diabetes but are ambiguous.

Published by OpenSAFELY
Diabetes diagnosis codes SNOMED CT

Taken from the DIAB_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Diabetes resolved codes SNOMED CT

Taken from the DMRES_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Diabetic Ketoacidosis (Secondary Care) ICD-10

ICD-10 codes for Diabetic Ketoacidosis

Published by OpenSAFELY
Dialysis CTV3

Codes indicating dialysis treatment, or preparation for dialysis

Published by OpenSAFELY
Dipeptidyl peptidase-4 inhibitors (Gliptins) BNF
Published by OpenSAFELY
Direct Acting Oral Anticoagulants (DOAC) dm+d

This is a codelists that identifies all prepartaions from the NHS dictionary of medicines and devices for Directing Oral Anticoagulants better knows as DOACs. They have previously been know as NOACs.

Published by OpenSAFELY
Documented Influenza illness CTV3

Codes indicating a diagnosis of influenza or influenza-like illness

Published by OpenSAFELY
Down syndrome CTV3

Diagnoses of Down syndrome

Published by OpenSAFELY
Doxycycline medication BNF
Published by OpenSAFELY
Edoxaban DM+D dm+d

This is a codelist that identifies all preparations from the NHS dictionary of medicines and devices for edoxaban, one of the Directing Oral Anticoagulants which are often referred to as DOACs.

Published by OpenSAFELY
Employed by Care Home codes SNOMED CT

Taken from the CAREHOME_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Employed by domiciliary care provider codes SNOMED CT

Taken from the DOMCARE_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Employed by nursing home codes SNOMED CT

Taken from the NURSEHOME_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Ethnicity CTV3

A list of ethnicity codes in use in UK general practice including aggregate grouping at two levels.

Published by OpenSAFELY
Ethnicity (SNOMED) SNOMED CT

Automatically-generated equivalent of Ethnicity

Published by OpenSAFELY
Ethnicity - UK Categories SNOMED CT
Published by OpenSAFELY
Ethnicity codes SNOMED CT

Combined ethnicity codes from SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Ethnicity no record SNOMED CT

Taken from the ETH_NORECORD_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Ethnicity not given - patient refused SNOMED CT

Taken from the ETH_NOTGIPTREF_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Ethnicity not stated SNOMED CT

Taken from the ETH_NOTSTATED_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Explicit contraindication to DOACs (direct acting anticoagulants) CTV3

This is a codelist that identifies SNOMED codes where a Directing Oral Anticoagulants (DOACs) is explicitly contraindicated. They have previously been know as NOACs.

Published by OpenSAFELY
Falls CTV3

The following codes are used to indicate Falls

Published by OpenSAFELY
Final Orthopaedic Surgery ELECTIVE Procedure OPCS codes SC OPCS-4

OPCS-4 codes for all ELECTIVE, or non-emergency, orthopaedic procedures.

Published by OpenSAFELY
Final Orthopaedic Surgery Emergency Procedure OPCS codes SC OPCS-4

OPCS-4 codes for all emergency orthopaedic procedures

Published by OpenSAFELY
First COVID vaccination administration codes SNOMED CT

Taken from the COVADM1_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

First COVID vaccination declined SNOMED CT

Taken from the COV1DECL_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

First Generation Antipsychotics excluding long acting depots DM&D dm+d

This code list contains the DM&D list of medicines that are known as First Generation Antipsychotics. All formulations of these medicines have been included, except for long acting depot antipsychotics and all formulations of prochlorperazine which are included in separate code lists. All of these antipsychotics are dopamine antagonists and licensed in some form for the treatment of psychosis, although some (e.g. flupentixol) may be licensed and used for other indications such as depression. Droperidol, which is only used for post operative nausea, is not included. Also the injectable formulations of levomepromazine are not included because these are only licensed for use in palliative care.

See First generation antipsychotics codelist

Published by OpenSAFELY
Fracture potential emergency OPCS codes OPCS-4

These are general fracture fixation OPCS-4 procedural codes These OPCS-4 procedure codes need an additional ICD-10 diagnosis code to confirm that it was for an emergency rather than non-emergency procedure (defined as urgent or elective) Emergency surgery defined as P1a and P1b as per Royal College of Surgeons Surgical Prioritisation Guidelines

Published by OpenSAFELY
Fragility CTV3

Codelist for creating binary variable capturing fragilities/fractures

Published by OpenSAFELY
GI Bleed or Ulcer CTV3

Codes indicating diagnosis of either a GI bleed or a GI ulcer

Published by OpenSAFELY
GI Bleed or Ulcer (SNOMED) SNOMED CT

Automatically-generated equivalent of GI Bleed or Ulcer

Published by OpenSAFELY
Gastrointestinal bleeding ICD-10 ICD-10

Codes to define gastrointestinal bleeding in ONS death data.

Published by OpenSAFELY
Giant Cell Arteritis CTV3

Codes indicating a diagnosis of Temporal Arteritis or Giant Cell Arteritis

Published by OpenSAFELY
Glycated haemoglobin (HbA1c) tests SNOMED CT

A SNOMED CT codelist for patients receiving monitoring of glycated haemoglobin (HbA1c) tests.

Published by OpenSAFELY
Glycated haemoglobin (HbA1c) tests (numerical value) SNOMED CT

A SNOMED CT codelist for patients receiving monitoring of glycated haemoglobin (HbA1c) tests, which contains a numerical value using the newer IFCC units.

Published by OpenSAFELY
Guillain Barre CTV3

CTV3 codelist for Guillain Barre syndrome

To be used in conjunction with ICD-10 code G61.0 'Guillain Barre syndrome'

Does not include polyneuritis cranialis due to risk of including other multiple cranial neuropathies with this definition (not designed to be combined with ICD-10 G52.7 'Disorders of multiple cranial nerves' which includes polyneuritis cranialis)

Developed from Read v2 codelist by Leite et al (2017) which was developed for vaccine safety surveillance

Published by OpenSAFELY
Guillain Barre syndrome - ICD10 ICD-10

Guillain-Barre syndrome ICD-10 codelist for use with hospital admissions and mortality data

Published by OpenSAFELY
HIV CTV3

Codes indicating a diagnosis of HIV

Published by OpenSAFELY
HIV (SNOMED) SNOMED CT

Automatically-generated equivalent of HIV

Published by OpenSAFELY
HS CTV3

todo

Published by OpenSAFELY
Haematological Cancer CTV3

Codes indicating diagnosis of a haematological cancer including multiple myeloma

Published by OpenSAFELY
Haematological Cancer (SNOMED) SNOMED CT

Automatically-generated equivalent of Haematological Cancer

Published by OpenSAFELY
Haloperidol BNF

This code list includes all formulations of haloperidol, except for long acting depot formulations of haloperidol decanoate. Haloperidol is a first generation antipsychotic and a potent dopamine antagonist. It is licensed for a wide range of indications including the treatment of psychotic disorders, management of behavioral and psychiatric symptoms of dementia, acute delirium, chorea and tics, nausea and vomiting in post operative or palliative care and restlessness and confusion in palliative care.

Published by OpenSAFELY
Haloperidol DM&D dm+d

This code list includes all formulations of haloperidol, except for long acting depot formulations of haloperidol decanoate. Haloperidol is a first generation antipsychotic and a potent dopamine antagonist. It is licensed for a wide range of indications including the treatment of psychotic disorders, management of behavioral and psychiatric symptoms of dementia, acute delirium, chorea and tics, nausea and vomiting in post operative or palliative care and restlessness and confusion in palliative care.

Published by OpenSAFELY
Heart Failure CTV3

This indicates a diagnosis of heart failure (both left and right sided).

Published by OpenSAFELY
Hepatitis C CTV3

A codelist developed to support identification of people with hepatitis C, current or past.

Includes a history of flag: - 0 for not a history code; - 1 history code; - 2 possible history code

Published by OpenSAFELY
Hidradenitis Suppurativa CTV3

The following list contains codes for Hidradenitis Suppurativa.

Published by OpenSAFELY
High International normalised ratio (INR) CTV3

This codelist is used to identify INR blood tests that are explicitly considered to be high.

Published by OpenSAFELY
High Risk from COVID-19 code SNOMED CT

Taken from the SHIELD_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

High cost drugs - Abatacept null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of abatacept.

Published by OpenSAFELY
High cost drugs - Adalimumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of Adalimumab.

Published by OpenSAFELY
High cost drugs - Aflibercept null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of aflibercept.

Published by OpenSAFELY
High cost drugs - Alemtuzumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of alemtuzumab.

Published by OpenSAFELY
High cost drugs - Anakinra null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of anakinra.

Published by OpenSAFELY
High cost drugs - Baricitinib null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of baricitinib.

Published by OpenSAFELY
High cost drugs - Belimumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of belimumab.

Published by OpenSAFELY
High cost drugs - Benralizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of benralizumab.

Published by OpenSAFELY
High cost drugs - Brodalumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of brodalumab.

Published by OpenSAFELY
High cost drugs - Certolizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of certolizumab.

Published by OpenSAFELY
High cost drugs - Dupilumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of dupilumab.

Published by OpenSAFELY
High cost drugs - Etanercept null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of etanercept.

Published by OpenSAFELY
High cost drugs - Golimumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of golimumab.

Published by OpenSAFELY
High cost drugs - Guselkumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of guselkumab.

Published by OpenSAFELY
High cost drugs - Infliximab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of infliximab.

Published by OpenSAFELY
High cost drugs - Ixekizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of ixekizumab.

Published by OpenSAFELY
High cost drugs - Mepolizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of mepolizumab.

Published by OpenSAFELY
High cost drugs - Methotrexate null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of methotrexate.

Published by OpenSAFELY
High cost drugs - Natalizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of natalizumab.

Published by OpenSAFELY
High cost drugs - Ocrelizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of ocrelizumab.

Published by OpenSAFELY
High cost drugs - Omalizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of omalizumab.

Published by OpenSAFELY
High cost drugs - Ranibizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of ranibizumab.

Published by OpenSAFELY
High cost drugs - Reslizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of reslizumab.

Published by OpenSAFELY
High cost drugs - Risankizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of risankizumab.

Published by OpenSAFELY
High cost drugs - Rituximab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of rituximab.

Published by OpenSAFELY
High cost drugs - Sarilumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of sarilumab.

Published by OpenSAFELY
High cost drugs - Secukinumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of secukinumab.

Published by OpenSAFELY
High cost drugs - Tildrakizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of tildrakizumab.

Published by OpenSAFELY
High cost drugs - Tocilizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of tocilizumab.

Published by OpenSAFELY
High cost drugs - Tofacitinib null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of tofacitinib.

Published by OpenSAFELY
High cost drugs - Upadacitinib null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of upadacitinib.

Published by OpenSAFELY
High cost drugs - Ustekinumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of ustekinumab.

Published by OpenSAFELY
High cost drugs - Vedolizumab null

This is a list of all the unique values from the Drug Name variable in the High Cost Drugs Dataset that relate to the prescribing of vedolizumab.

Published by OpenSAFELY
High dose ICS Inhalers dm+d

A list of high dose inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
High dose multiple ingredient ICS inhalers dm+d

A list of high dose inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
High dose single ingredient ICS Inhalers dm+d

A list of high dose single ingredient inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Hydroxychloroquine dm+d

This is a list of NHS dictionary of medicines and devices items for oral hydroxychloroquine.

Published by OpenSAFELY
Hypertension CTV3

Code indicative of a hypertension diagnosis

Published by OpenSAFELY
Hypertension (SNOMED) SNOMED CT

Automatically-generated equivalent of Hypertension

Published by OpenSAFELY
ICD-10 Chapter I ICD-10
Published by OpenSAFELY
ICD-10 Chapter II ICD-10
Published by OpenSAFELY
ICD-10 Chapter III ICD-10
Published by OpenSAFELY
ICD-10 Chapter IV ICD-10
Published by OpenSAFELY
ICD-10 Chapter IX ICD-10
Published by OpenSAFELY
ICD-10 Chapter V ICD-10
Published by OpenSAFELY
ICD-10 Chapter VI ICD-10
Published by OpenSAFELY
ICD-10 Chapter VII ICD-10
Published by OpenSAFELY
ICD-10 Chapter VIII ICD-10
Published by OpenSAFELY
ICD-10 Chapter X ICD-10
Published by OpenSAFELY
ICD-10 Chapter XI ICD-10
Published by OpenSAFELY
ICD-10 Chapter XII ICD-10
Published by OpenSAFELY
ICD-10 Chapter XIII ICD-10
Published by OpenSAFELY
ICD-10 Chapter XIV ICD-10
Published by OpenSAFELY
ICD-10 Chapter XIX ICD-10
Published by OpenSAFELY
ICD-10 Chapter XV ICD-10
Published by OpenSAFELY
ICD-10 Chapter XVI ICD-10
Published by OpenSAFELY
ICD-10 Chapter XVII ICD-10
Published by OpenSAFELY
ICD-10 Chapter XVIII ICD-10
Published by OpenSAFELY
ICD-10 Chapter XX ICD-10
Published by OpenSAFELY
ICD-10 Chapter XXI ICD-10
Published by OpenSAFELY
ICD-10 Chapter XXII ICD-10
Published by OpenSAFELY
Ibuprofen - oral dm+d

A list of NHS dictionary of medicines and devices codes for oral Ibuprofen.

Published by OpenSAFELY
Immunosuppression diagnosis codes SNOMED CT

Taken from the IMMDX_COV_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Immunosuppression medication codes dm+d

Taken from the IMMRX_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Incident Stroke CTV3

Codes relating to incident stroke in primary care.

Published by OpenSAFELY
Incident heart failure CTV3

Incident heart failure codes

Published by OpenSAFELY
Incident non-traumatic stroke CTV3

Further adapted from https://codelists.opensafely.org/codelist/opensafely/incident-stroke/2020-10-05/, to remove codes associated with trauma, or perinatal events (thanks to Brian Nicholson for reviewing this!).

The list was previously from https://codelists.opensafely.org/codelist/opensafely/stroke-updated/2020-06-02/.

Published by OpenSAFELY
Indometacin dm+d

This is a list of NHS dictionary of medicines and devices codes for oral indometacin.

Published by OpenSAFELY
Inflammatory Bowel Disease CTV3

Codes indicating diagnosis of inflammatory bowel disease

Published by OpenSAFELY
Inflammatory Bowel Disease (SNOMED) SNOMED CT

Automatically-generated equivalent of Inflammatory Bowel Disease

Published by OpenSAFELY
Inflammatory Bowel Disease - Unclassified CTV3
Published by OpenSAFELY
Influenza Vaccination dm+d

This is a list of influenza vaccinations in the NHS dictionary of medicines and devices.

Published by OpenSAFELY
Influenza Vaccination Clinical Codes - All CTV3

tbc

Published by OpenSAFELY
Influenza Vaccination Clinical Codes - Given CTV3

TODO

Published by OpenSAFELY
Influenza Vaccination Clinical Codes - Not given CTV3

TODO

Published by OpenSAFELY
Influenza Vaccination Clinical Codes - Unclear CTV3

TODO

Published by OpenSAFELY
Inhaled or Systemic Corticosteroids dm+d

Inhaled or systemic corticosteroids, developed to support exclusion criteria within position statement following interim results of PRINCIPLE trial: "Patient currently prescribed inhaled or systemic corticosteroids."

Published by OpenSAFELY
Insulin Medication dm+d

A list of insulin preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Intellectual disability CTV3

Codes for a history of intellectual/learning disability

Published by OpenSAFELY
Intellectual disability including Down's Syndrome CTV3

Codelist for identifying a history of intellectual / learning disability (including Down's syndrome)

Published by OpenSAFELY
International normalised ratio (INR) CTV3

This codelist is used to identify INR blood tests.

Published by OpenSAFELY
Interstitial Lung Disease CTV3

These codes indicate a diagnosis of interstitial lung disease (ILD)

Published by OpenSAFELY
Invite for atrial fibrillation care review CTV3

The following codes are used to indicate Invite for atrial fibrillation care review

Published by OpenSAFELY
Janssen vaccination medication code dm+d

Taken from the JNDRX1/2_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Kidney transplant CTV3

Codes indicating kidney transplant (recipient)

Published by OpenSAFELY
LABA + ICS Combination Inhaler dm+d

A list of combination inhalers including a long acting beta agonist (LABA) and an inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
LABA + LAMA + ICS Combination Inhaler dm+d

A list of combination inhalers including a long acting beta agonist (LABA) and long acting antimuscarininc (LAMA) and inhaled corticosteroids (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
LABA + LAMA Combination Inhaler dm+d

A list of combination inhalers including a long acting beta agonist (LABA) and long acting antimuscarininc (LAMA) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Learning disabilities CTV3

The following codes are used to indicate learning disability.

Published by OpenSAFELY
Leflunomide BNF
Published by OpenSAFELY
Leflunomide dmd dm+d

dm+d codelist for Leflunomide

Published by OpenSAFELY
Leukotriene receptor antagonist medication dm+d

A list of leukotriene receptor antagonists (LTRA) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Lithium - oral BNF

This code list includes all oral lithium products available in the UK, used for the treatment and prevention of mental illness.

Published by OpenSAFELY
Lithium - oral (dm+d) dm+d

This code list includes all oral lithium products available in the UK, used for the treatment and prevention of mental illness.

Published by OpenSAFELY
Lithium carbonate BNF

This code list includes all medicines containing lithium carbonate that are available in the UK.

Published by OpenSAFELY
Lithium carbonate (dm+d) dm+d

This code list includes all medicines containing lithium carbonate that are available in the UK.

Published by OpenSAFELY
Lithium citrate BNF

This code list includes all medicines containing lithium citrate available in the UK.

Published by OpenSAFELY
Lithium citrate (dm+d) dm+d

This code list includes all medicines containing lithium citrate available in the UK.

Published by OpenSAFELY
Long acting injectable and depot antipsychotics DM&D dm+d

This code list contains the DM&D list of all antipsychotics that are available in long acting injectable form. It includes first generation (depot) antipsychotics and second generation long acting injections. Zuclopenthixol acetate which is a short/medium acting depot injection is not included.

See Long Acting Inj & Depot Antipsychotics

Published by OpenSAFELY
Low and medium dose ICS inhalers dm+d

A list of low and medium dose inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Low and medium dose multiple ingredient ICS inhalers dm+d

A list of low and medium dose multpiple ingredient inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Low and medium dose single ingredient ICS inhalers dm+d

A list of low and medium dose single ingredient inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Low molecular weight heparins BNF

This codelist contains all preparations of low molecular weight heparins.

Published by OpenSAFELY
Low molecular weight heparins dm+d dm+d

This dm+d codelist contains all preparations of low molecular weight heparins.

Published by OpenSAFELY
Lower Respiratory Tract Infection CTV3

Codes indicating a diagnosis of a lower respiratory tract infection excluding pneumonia

Published by OpenSAFELY
Lower Risk from COVID-19 codes SNOMED CT

Taken from the NONSHIELD_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Lung Cancer CTV3

Codes indicating a diagnosis of lung cancer

Published by OpenSAFELY
Lung Cancer (SNOMED) SNOMED CT

Automatically-generated equivalent of Lung Cancer

Published by OpenSAFELY
Mechanical or Artificial Valves SNOMED CT
Published by OpenSAFELY
Meglitinides dm+d
Published by OpenSAFELY
Mercaptopurine BNF
Published by OpenSAFELY
Mercaptopurine dmd dm+d

dm+d codelist for mercaptopurine

Published by OpenSAFELY
Merhotrexate - injectable BNF
Published by OpenSAFELY
Mesalazine BNF
Published by OpenSAFELY
Methotrexate (oral) dm+d

dm+d codelist for oral methotrexate

Published by OpenSAFELY
Methotrexate - injectable dm+d

dm+d codelist for injectable methotrexate

Published by OpenSAFELY
Methotrexate - oral BNF

BNF codelist for oral methotrexate.

Published by OpenSAFELY
Midazolam BNF

Midazolam that is generally prescribed at the end of life.

Published by OpenSAFELY
Midazolam - end of life dm+d

dm+d codelist for midazolam injections used at the end of life.

Published by OpenSAFELY
Mixed - Any other mixed background Ethnicity SNOMED CT

Taken from the ETH2001_MXDOTHER_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Mixed - White and Asian Ethnicity SNOMED CT

Taken from the ETH2001_MXDWHIASN_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Mixed - White and Black African Ethnicity SNOMED CT

Taken from the ETH2001_MXDWHIBLKAFR_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Mixed - White and Black Caribbean Ethnicity SNOMED CT

Taken from the ETH2001_MXDWHIBLKCAR_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Moderna vaccination medication code dm+d

Taken from the MODRX1/2_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Multiple Sclerosis CTV3

These codes indicate a diagnosis of multiple sclerosis (MS)

Published by OpenSAFELY
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

Published by OpenSAFELY
Mycophenolate dm+d

dm+d codelist for mycophenolate

Published by OpenSAFELY
Mycophenolate (BNF) BNF

BNF codelist for mycophenolate.

Published by OpenSAFELY
Myocardial infarction CTV3

This is a list of codes denoting a heart attack / myocardial infarction.

Published by OpenSAFELY
Myocardial infarction 2 CTV3

The following codes are used to indicate Myocardial infarction 2

Published by OpenSAFELY
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.

Published by OpenSAFELY
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.

Published by OpenSAFELY
NICE managing the long-term effects of COVID-19 SNOMED CT

This codelist are the recommended snomed-ct codes from the NICE guidelines on managing the long-term effects of COVID-19 also known as "long COVID"

Published by OpenSAFELY
NSAIDs - oral dm+d

This is a list of NHS dictionary of medicines and devices oral non-seroidal anti-inflammatory drugs (NSAIDs) .

Published by OpenSAFELY
Naproxen - high dose dm+d

This is a list of NHS dictionary of medicines and devices codes for high dose naproxen.

Published by OpenSAFELY
Naproxen - low dose dm+d

This is a list of NHS dictionary of medicines and devices codes for low dose naproxen.

Published by OpenSAFELY
Naproxen - other doses dm+d

This is a list of NHS dictionary of medicines and devices codes for "other doses" of naproxen.

Published by OpenSAFELY
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 that are used in asthma and COPD.

Published by OpenSAFELY
Newer aminosalicylates for IBD BNF
Published by OpenSAFELY
Newer aminosalicylates for IBD - dmd dm+d

dmd codelist for newer aminosalicylates for IBD; balsalazide, mesalazine, olsalazine.

Published by OpenSAFELY
No longer a carer codes SNOMED CT

Taken from the NOTCARER_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

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.

Published by OpenSAFELY
Orthopaedic Procedure Codes (OPCS-4) - Spinal Cord + roots SC OPCS-4
Published by OpenSAFELY
Orthopaedic Procedure OPCS Codes All Spines OPCS-4
Published by OpenSAFELY
Orthopaedic Surgery Elective OPCS codes OPCS-4
Published by OpenSAFELY
Orthopaedic Surgery Fasciotomy Procedure OPCS codes OPCS-4

Surgical fasciotomy codes - for limbs only

Published by OpenSAFELY
Orthopaedic Surgery Washout Procedure OPCS codes OPCS-4

Surgical post-operative washout + debridement codes

Published by OpenSAFELY
Osteoarthritis CTV3

A list of clinical codes related to osteoarthritis.

Published by OpenSAFELY
Other Chronic Respiratory Disease CTV3

Codes indicating a diagnosis of a chronic respiratory disease excluding asthma, cystic fibrosis and associated diseases such as primary ciliary dyskinesia

Published by OpenSAFELY
Other Heart Disease CTV3

Chronic heart conditions, excluding heart failure

Published by OpenSAFELY
Other Neurological Conditions CTV3

Codes indicating other neurological conditions not including stroke or dementia

Published by OpenSAFELY
Other Neurological Conditions (SNOMED) SNOMED CT

Automatically-generated equivalent of Other Neurological Conditions

Published by OpenSAFELY
Other Organ Transplant CTV3

Codes indicating other organ transplant (not kidney)

Published by OpenSAFELY
Other Respiratory Conditions CTV3

Patients who have any other chronic respiratory condition than COPD considered as a respiratory condition for the UK influenza surveillance programme. It covers: fibrosing lung disease, bronchiectasis or cystic fibrosis. Any code for either of these conditions will be taken to indicate presence of an 'other' chronic respiratory condition, absence of codes for either condition as absence of the disease.

Update 21-07-20: Removal of one CF screening code (Y2708 Cystic fibrosis screening test)

Published by OpenSAFELY
Other ethnic groups - Any other ethnic group Ethnicity SNOMED CT

Taken from the ETH2001_OTHER_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Other ethnic groups - Chinese Ethnicity SNOMED CT

Taken from the ETH2001_CHINESE_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Oxford AstraZeneca vaccination medication code dm+d

Taken from the AZDRX1/2_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Patients in long-stay nursing and residential care SNOMED CT

Taken from the LONGRES_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Penicillamine BNF
Published by OpenSAFELY
Penicillamine dmd dm+d

dm+d codelist for penicillamine

Published by OpenSAFELY
Permanent Immunosuppression CTV3

Codes indicating a diagnosis of a permanent immunosuppression excluding HIV, and including genetic causes of immunosuppression

Published by OpenSAFELY
Permanent Immunosuppression (SNOMED) SNOMED CT

Automatically-generated equivalent of Permanent Immunosuppression

Published by OpenSAFELY
Pfizer BioNTech vaccination medication code dm+d

Taken from the PFDRX1/2_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Pneumococcal Vaccination dm+d

This is a list of pneumococcal vaccinations in the NHS dictionary of medicines and devices

Published by OpenSAFELY
Pneumococcal Vaccination Clinical Codes indicative of being administered CTV3

to do

Published by OpenSAFELY
Pneumococcal Vaccination Clinical Codes indicative of not being administered CTV3

tbc

Published by OpenSAFELY
Pneumococcal Vaccination Clinical Codes that it is unclear of intention CTV3

tbc

Published by OpenSAFELY
Pneumonia Secondary Care ICD-10

Pneumonia ICD-10 codes.

Published by OpenSAFELY
Pregnancy codes recorded in the 8.5 months before the audit run date SNOMED CT

Taken from the PREG_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Pregnancy or Delivery codes recorded in the 8.5 months before audit run date SNOMED CT

Taken from the PREGDEL_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Prochlorperazine DM&D dm+d

This codelist contains the DM&D list of all formulations of prochlorperazine, which is an antipsychotic used for the treatment of psychosis and also nausea and vomiting. Due to its common use in diverse indications we have kept it separate from other antipsychotics.

See Prochlorperazine codelist

Published by OpenSAFELY
Proton Pump Inhibitors - PPI - oral dm+d

This is a list of snomed / NHS dictionary of medicines and devices for oral proton pump inhibtors (PPI).

Published by OpenSAFELY
Psoriasis CTV3
Published by OpenSAFELY
Psoriatic Arthritis SNOMED CT

This is a list of SNOMED-CT codes used to identify diagnosis of psoriatic arthritis.

Published by OpenSAFELY
Psychosis, schizophrenia + bipolar affective disease CTV3

The following codes are used to indicate Psychosis, schizophrenia + bipolar affective disease

Published by OpenSAFELY
Pulse Oximetry - NHS Digtial COVID at Home SNOMED CT

Codelist containing SNOMED codes relating to COVID Oximetry @home.

These should be used for prototyping and monitoring of the uptake of these codes.

Published by OpenSAFELY
Pulse Oximetry Alternative SNOMED CT

Codelist containing SNOMED codes relating to alternative pulse oximetry codes before the introduction of COVID Oximetry @home codes

Published by OpenSAFELY
RA / SLE / Psoriasis CTV3

Codes indicating diagnosis of rheumatoid arthritis or SLE or psoriasis

Published by OpenSAFELY
RA / SLE / Psoriasis (SNOMED) SNOMED CT

Automatically-generated equivalent of RA / SLE / Psoriasis

Published by OpenSAFELY
Red blood cell (RBC) tests SNOMED CT

A SNOMED CT codelist for patients receiving monitoring of red blood cell (RBC) tests.

Published by OpenSAFELY
Red blood cell (RBC) tests (numerical value) SNOMED CT

A SNOMED CT codelist for patients receiving monitoring of red blood cell (RBC) tests with a numerical value

Published by OpenSAFELY
Referral and signposting for long COVID SNOMED CT

This codelists contains referral and signposting codes for "long COVID".

Published by OpenSAFELY
Remission codes relating to Severe Mental Illness SNOMED CT

Taken from the SMHRES_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Renal replacement therapy CTV3

A codelist developed to support identification of people with chronic kidney disease using codes indicating end stage renal disease, dialysis or kidney transplant code.

Published by OpenSAFELY
Revision fixation or dislocation OPCS-4 codes OPCS-4

OPCS-4 codes to identify re-operations following surgery. Specifically this list focuses on remanipulation of fractures, secondary reductions of dislocations and revision operations.

Published by OpenSAFELY
Rheumatoid Arthritis CTV3

These codes indicate a diagnosis of rheumatoid arthritis (RA)

Published by OpenSAFELY
Rivaroxaban BNF

This is a codelist that identifies all preparations from the NHS dictionary of medicines and devices for rivaroxaban, one of the Directing Oral Anticoagulants which are often referred to as DOACs.

Published by OpenSAFELY
Rivaroxaban DM+D dm+d

This is a codelist that identifies all preparations from the NHS dictionary of medicines and devices for rivaroxaban, one of the Directing Oral Anticoagulants which are often referred to as DOACs.

Published by OpenSAFELY
SABA Inhaler Medications dm+d

A list of short acting beta agonist (SABA) inhaler preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
SAMA Medication dm+d

A list of single ingredient short acting antimuscarinic (SAMA) inhaler preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
SNOMED Ethnicity SNOMED CT
Published by OpenSAFELY
Second COVID vaccination administration codes SNOMED CT

Taken from the COVADM2_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Second COVID vaccination declined SNOMED CT

Taken from the COV2DECL_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Second generation antipsychotics, excluding long acting injections dm+d

This code list contains the DM&D list of medicines known as Second Generation Antipsychotics. All formulations of these medicines have been included except for long acting injections, which are included in a separate code list. These antipsychotics are licensed to treat psychoses and related illnesses. although asenapine is only licensed to treat mania.

See Second generation antipsychotics Codelist

Published by OpenSAFELY
Selective serotonin reuptake inhibitors BNF

This codelist contains codes from the NHS dictionary of medicines and devices (dm+d) for SSRI medications, a common class of antidepressants.

Published by OpenSAFELY
Selective serotonin reuptake inhibitors - dmd dm+d

This codelist contains codes from the NHS dictionary of medicines and devices (dm+d) for SSRI medications, a common class of antidepressants.

Published by OpenSAFELY
Severe Mental Illness codes SNOMED CT

Taken from the SEV_MENTAL_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Severe Obesity code recorded SNOMED CT

Taken from the SEV_OBESITY field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Sickle Cell Disease CTV3

Codes indicating diagnosis of sickle cell disease

Published by OpenSAFELY
Sickle Cell Disease (SNOMED) SNOMED CT

Automatically-generated equivalent of Sickle Cell Disease

Published by OpenSAFELY
Single ingredient ICS dm+d

A list of single ingredient inhaled corticosteroid (ICS) preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Single ingredient LABA inhalers dm+d

A list of single ingredient long acting beta agonist (LABA) inhaler preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Single ingredient LAMA inhalers dm+d

A list of single ingredient long acting antimuscarinic (LAMA) inhaler preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Smoking - Clear CTV3

Smoking codes that are clear in the capturing of smoking status. To be contrasted against Smoking - Unclear where the codes are less certain.

Published by OpenSAFELY
Smoking - Clear (SNOMED) SNOMED CT

Automatically-generated equivalent of Smoking - Clear

Published by OpenSAFELY
Smoking - Unclear CTV3

Codes that indicate smoking status. These codes are less clear than codes captured in Smoking Clear, and there remains some ambiguity about the smoking status.

Published by OpenSAFELY
Smoking - Unclear (SNOMED) SNOMED CT

Automatically-generated equivalent of Smoking - Unclear

Published by OpenSAFELY
Sodium tests (numerical value) SNOMED CT

A SNOMED CT codelist for patients receiving monitoring of sodium levels, with a numerical value.

Published by OpenSAFELY
Solid Organ Transplantation CTV3

Codes indicating solid organ transplantion (receptient only) has been carried out

Published by OpenSAFELY
Solid Organ Transplantation (SNOMED) SNOMED CT

Automatically-generated equivalent of Solid Organ Transplantation

Published by OpenSAFELY
Spironolactone dm+d

This codelist contains spironolactone preparations.

Published by OpenSAFELY
Statin Medication dm+d

A list of statin preparations at VMP and AMP from the NHS Dictionary of Medicines and Devices.

Published by OpenSAFELY
Stroke (SNOMED) SNOMED CT

Automatically-generated equivalent of Stroke

Published by OpenSAFELY
Stroke (deprecated) CTV3

DEPRECATED due to presence of Read 2 codes, and missing CTV3 codes, the corrected version is: https://codelists.opensafely.org/codelist/opensafely/stroke-updated

Codes indicating stroke (both haemorrhagic and ischaemic).

Published by OpenSAFELY
Stroke (updated) CTV3

An updated version of https://codelists.opensafely.org/codelist/opensafely/stroke/, which contained some stray unmapped Read 2 codes.

The original codelist had 49 Read 2 codes. These are replaced by 127 CTV3 codes.

Published by OpenSAFELY
Stroke Secondary Care ICD-10

Stroke ICD-10 codes.

Published by OpenSAFELY
Structured Medication Review - NHS England SNOMED CT

SNOMED code to support NHS England Structured Medication Review Service.

Published by OpenSAFELY
Sulfasalazine (oral) BNF
Published by OpenSAFELY
Sulfasalazine-oral (dmd) dm+d

Oral sulfasalazine preparation in dm+d

Published by OpenSAFELY
Surgery - bone OPCS-4 codes OPCS-4

OPCS-4 codes related to bone surgery specifically

Published by OpenSAFELY
Surgery - breast cancer OPCS-4 codes OPCS-4

Surgery codes related to breast cancer

Published by OpenSAFELY
Surgery - joint surgery OPCS-4 codes OPCS-4

Joint surgery OPCS-4 codes

Published by OpenSAFELY
Surgery - muscle surgery OPCS-4 codes OPCS-4

Muscle surgery OPCS-4 codes

Published by OpenSAFELY
Surgery - organ donor OPCS-4 codes OPCS-4

Surgery OPCS-4 codes related to organ donation

Published by OpenSAFELY
Surgery - skull and spine OPCS-4 codes OPCS-4

Surgery OPCS-4 codes for skull and spines

Published by OpenSAFELY
Surgery Emergency OPCS-4 codes WITHOUT complication codes OPCS-4

This is a list of all the emergency OPCS-4 codes (as defined by RCS priority groups 1a and 1b), excluding the complication OPCS-4 codes for amputations, dislocations, compartment syndrome and washouts

Published by OpenSAFELY
Surgery emergency and immediate procedure OPCS-4 codes OPCS-4

OPCS-4 codes indicating an emergency or immediate procedure. Can be used in addition to primary procedure code

Published by OpenSAFELY
Surgery for peripheral artery disease CTV3

DEFINITION: Surgery for peripheral artery disease

Variables: (1) a binary variable denoting the presence of one of the codes at any point in the patient record. (2) the earliest date of such a code.

Published by OpenSAFELY
Surgery staged and revision procedure OPCS-4 codes OPCS-4

OPCS-4 codes indicating planned staged OR revision procedure. Can be used in addition to primary procedure code

Published by OpenSAFELY
Systemic Lupus Erythematosus (SLE) CTV3

These codes indicate a diagnosis of systemic lupus erythematosus (SLE)

Published by OpenSAFELY
Systolic blood pressure QoF SNOMED CT

A SNOMED CT codelist containing codes relating to systolic blood pressure (SBP) measurement.

Published by OpenSAFELY
Temporary Immunosuppression CTV3

Codes indicating a diagnosis of a temporary immunosuppression.

Published by OpenSAFELY
Temporary Immunosuppression (SNOMED) SNOMED CT

Automatically-generated equivalent of Temporary Immunosuppression

Published by OpenSAFELY
Thiazide type diuretic medication dm+d

The codelist contains medicines that are thiazide diuretics from the "thiazides and related diuretics" section of BNF codes.

Published by OpenSAFELY
Thyroid stimulating hormone (TSH) testing SNOMED CT

This codelist was developed to identify patients receiving a thyroid-stimulating hormone (TSH) test

Published by OpenSAFELY
Thyroid stimulating hormone (TSH) tests (numerical value) SNOMED CT

This codelist was developed to identify patients receiving a thyroid-stimulating hormone (TSH) test, with a numerical value.

Published by OpenSAFELY
Transient ischaemic attack CTV3

Codes that indicate incident or history of transient ischaemic attack. This codelist include definite and probable transient ischaemic attack. Future studies which require codes denoting definite transient ischaemic attack need to derive another codelist.

Published by OpenSAFELY
Transverse Myelitis CTV3

Codes that indicate an episode of transverse myelitis

Published by OpenSAFELY
Trimethoprim dm+d
Published by OpenSAFELY
Trimethoprim and nitrofurantoin dm+d
Published by OpenSAFELY
Type 1 Diabetes CTV3

Codes explicitly indicating Type 1 Diabetes

Published by OpenSAFELY
Type 1 diabetes (secondary care) ICD-10

Codes explicity indicating Type 1 Diabetes (secondary care)

Published by OpenSAFELY
Type 2 Diabetes CTV3

Codes explicitly indicating Type 2 Diabetes

Published by OpenSAFELY
Ulcerative colitis CTV3
Published by OpenSAFELY
VTE classified codes CTV3

VTE codes classified into cvt, dvt, pe, hepatic, smv, unspecified and other.

Published by OpenSAFELY
Valvular atrial fibrillation CTV3

Codes indicating incident/ history of valvular atrial fibrillation (codes indicating artificial valves and mitral stenosis).

Published by OpenSAFELY
Venous Thromboembolic Disease CTV3

DEFINITION: A history of venous thromboembolic disease

Variables: (1) a binary variable denoting the presence of one of the codes at any point in the patient record. (2) the earliest date of such a code.

Published by OpenSAFELY
Venous thromboembolism (current) by type - secondary care and mortality data ICD-10

ICD-10 codelist for any history of venous thromboembolism.

This differs from the existing OpenSAFELY codelist incident VTE by including codes that specify the event occured during pregnancy or post partum, and post thrombotic syndrome, and by further clarifying type (site) of VTE.

Published by OpenSAFELY
Venous thromboembolism (past) by type - secondary care and mortality data ICD-10

TODO

Published by OpenSAFELY
Warfarin dm+d

This is a codelist to identify all warfarin preparations in the NHS dictionary of medicines and devices.

Published by OpenSAFELY
White - Any other White background Ethnicity SNOMED CT

Taken from the ETH2001_WHIOTHER_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

White British Ethnicity SNOMED CT

Taken from the ETH2001_WHIBRIT_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

White Irish Ethnicity SNOMED CT

Taken from the ETH2001_WHIIRISH_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Wider Learning Disability SNOMED CT

Taken from the LEARNDIS_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Worms CTV3

CTV3 (READ V3) codelist for Worms

Published by OpenSAFELY
bristol_antiplatelets dm+d

List of antiplatelet drugs provided by Venexia Walker and Rochelle Knight of Bristol University

Published by OpenSAFELY
bristol_diabetes_drugs dm+d

List of diabetes drugs provided by Venexia Walker, Rochelle Knight, and Elsie Horne of Bristol University

Published by OpenSAFELY
bristol_hypertension dm+d

List of hypertension drugs provided by Venexia Walker, Rochelle Knight, and Elsie Horne of Bristol University

Published by OpenSAFELY
chronic inflammatory demyelinating polyneuropathy (CIDP) CTV3

CTV3 codelist for chronic inflammatory demyelinating polyneuropathy (no corresponding ICD-10 codes found)

Published by OpenSAFELY
diabetes-exeter-group CTV3

Codes for type 1 and type 2 diabetes.

Published by OpenSAFELY
hazardous alcohol drinking CTV3

Codes that indicate hazardous alcohol drinking behavior. Future studies that require to specify ex-drinker and current-drinker need to revisit and review this codelist.

Published by OpenSAFELY
incident heart failure CTV3
Published by OpenSAFELY
incident-venous-thromboembolic-disease CTV3

Codes to define incident cases of venous thromboemolic disease.

Published by OpenSAFELY
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
salma chaudhury OPCS-4

Surgery - bone OPCS-4 codes

Published by OpenSAFELY
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
surgery - cardiac surgery OPCS-4 codes OPCS-4

cardiac surgery OPCS-4 codes

Published by OpenSAFELY
surgery - cerebrovascular surgery OPCS-4 codes OPCS-4

cerebrovascular surgery OPCS-4 codes

Published by OpenSAFELY
surgery - ear surgery OPCS-4 codes OPCS-4

Ear surgery OPCS-4 codes

Published by OpenSAFELY
surgery - endocrine OPCS-4 codes OPCS-4

Endocrine surgery OPCS-4 codes

Published by OpenSAFELY
surgery - female GU surgery OPCS-4 codes OPCS-4

Female GU surgery OPCS-4 codes

Published by OpenSAFELY
surgery - hepatobiliary surgery OPCS-4 codes OPCS-4

hepatobiliary surgery OPCS-4 codes

Published by OpenSAFELY
surgery - lower GI surgery OPCS-4 codes OPCS-4

lower GI surgery OPCS-4 codes

Published by OpenSAFELY
surgery - major vessel OPCS-4 codes OPCS-4

major vessel surgery OPCS-4 codes

Published by OpenSAFELY
surgery - male GU surgery OPCS-4 codes OPCS-4

Male GU surgery OPCS-4 codes

Published by OpenSAFELY
surgery - neurosurgery OPCS-4 codes OPCS-4

Neurosurgery OPCS-4 codes

Published by OpenSAFELY
surgery - nose surgery OPCS-4 codes OPCS-4

Nose surgery OPCS-4 codes

Published by OpenSAFELY
surgery - obstetric surgery OPCS-4 codes OPCS-4

Obstetric surgery OPCS-4 codes

Published by OpenSAFELY
surgery - opthalmology surgery OPCS-4 codes OPCS-4

Opthalmology surgery OPCS-4 codes

Published by OpenSAFELY
surgery - oral surgery OPCS-4 codes OPCS-4

Oral surgery OPCS-4 codes

Published by OpenSAFELY
surgery - orthopaedic surgery OPCS-4 codes OPCS-4

Orthopaedic surgery OPCS-4 codes

Published by OpenSAFELY
surgery - other surgery OPCS-4 codes OPCS-4

Surgery codes for procedures listed as 'other'

Published by OpenSAFELY
surgery - pharynx surgery OPCS-4 codes OPCS-4

Pharynx surgery OPCS-4 codes

Published by OpenSAFELY
surgery - skin surgery OPCS-4 codes OPCS-4

Skin surgery OPCS-4 codes

Published by OpenSAFELY
surgery - thoracic surgery OPCS-4 codes OPCS-4

Thoracic surgery OPCS-4 codes

Published by OpenSAFELY
surgery - upper GI surgery OPCS-4 codes OPCS-4

upper GI surgery OPCS-4 codes

Published by OpenSAFELY
surgery - urology surgery OPCS-4 codes OPCS-4

Urology surgery OPCS-4 codes

Published by OpenSAFELY
to represent household contact of shielding individual SNOMED CT

Taken from the HHLD_IMDEF_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

venous thromboembolism ICD-10 ICD-10

Codes to define venous thromboembolism in ONS death data.

Published by OpenSAFELY
venous-thromboembolic-disease-hospital ICD-10

Codes to define venous thromboembolic disease in hospital.

Published by OpenSAFELY