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
Acute confusion codes SNOMED CT

Taken from the ACCONFUS_COD refset published by NHSD.

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
Addictive medicines dm+d

Codelist for addictive medicines. Including Z-drugs, benzodiazepines, gabapentinoids

Published by OpenSAFELY
Addisons & hypoadrenalism SNOMED CT

Taken from the ADDIS_COD fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3

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
Adult and child psoriasis codes SNOMED CT

Taken from the PSORIASIS_COD refset published by NHSD.

Adult rheumatoid arthritis codes SNOMED CT

Taken from the C19RARTH_COD refset published by NHSD.

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)

The codelist takes into account the conditions which characterise advanced decompensated cirrhosis of the liver listed above as well as codes for cirrhosis.

Note: This version does not include codes related to primary biliary cirrhosis. Additionally reviewer by Dr Karen Waller.

Published by OpenSAFELY
Advanced decompensated cirrhosis of the liver and associated conditions (snomed) SNOMED CT

Codelist to identify patients with advanced decompensated cirrhosis of the liver and severe liver disease.

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)

The codelist takes into account the conditions which characterise advanced decompensated cirrhosis of the liver listed above as well as the code for cirrhosis.

NOTE: This version has taken out codes related primary biliary cirrhosis as our study used this study population and we used the codelist to identify severe disease. We have also added some terms to make sure we capture all severe disease such as HCC and gastric varicies. The update was carried out with Dr Karen Waller at the University Sydney.

Published by OpenSAFELY
Advice, information and any brief intervention given on alcohol usage SNOMED CT

Taken from the ALCADV_COD refset published by NHSD.

Advice, signposting or information on smoking SNOMED CT

Taken from the SMOKADV_COD refset published by NHSD.

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
Albumin tests SNOMED CT

Includes all codes related to albuminuria testing

Published by UK Renal Registry