OpenCodelists

Welcome to OpenCodelists, created by OpenSAFELY for creating and sharing codelists.

Anybody can also use this tool to create and share codelists. To get started, take a look at the documentation or watch the videos.

If you would like to publish codelists on behalf of an organisation, please get in touch.

Below, you'll find all the codelists that have been used in OpenSAFELY research to date.


All codelists


Reset
GLP-1's (excluding those combined insulin) - dmd dm+d
This codelist contains NHS Dictionary of Medicines and Devices (dm+d) codes for GLP-1 mimetics, excluding products which are combined with insulin. Note that some GLP-1 products are licenced for the indication of diabetes and some for the indication of weight loss; all indications are included in this codelist.
Published by OpenSAFELY
GLP-1's in combination with insulin - dmd dm+d
This codelist contains NHS Dictionary of Medicines and Devices (dm+d) codes for products which contain a GLP-1 mimetics in combination with insulin.
Published by OpenSAFELY
GSK/Sanofi booster medication code dm+d
Taken from the `SAB1RX_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
GSK/Sanofi vaccination medication code dm+d
Taken from the `SAD1/2RX_COD` fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Gabapentinoid drugs dm+d
Taken from the `GABADRUG_COD` NHS drug refset. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Published by NHS Drug Refsets
Gallstones disease ICD10 ICD-10
Gallstones disease SNOMED SNOMED CT
Gamma-glutamyl transferase test results codes SNOMED CT
Taken from the `GGT_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Gamma-glutamyl transferase test results codes (obsolete) SNOMED CT
Taken from the `GGT_COD` refset published by NHSD.
Gastric Surgery - Antireflux operation (Clean-contaminated) (G24) OPCS-4
Procedure category: Gastric Surgery - Incision, excision or anastomosis of stomach, including partial or total gastrectomy, vagotomy, pyloromyotomy, pyloroplasty and gastroenterostomy. These can be included in the surveillance using the following Y75.codes as a secondary code to indicate the laparoscopic approach For example, a laparoscopic assisted Oesophagogastrectomy and anastomosis of oesophagus to stomach would be given a primary procedure code of G01.1 and a secondary code of Y75.1. Pleas…
Gastric Surgery - Connection of stomach to duodenum (Clean-contaminated) (G31) OPCS-4
Procedure category: Gastric Surgery - Incision, excision or anastomosis of stomach, including partial or total gastrectomy, vagotomy, pyloromyotomy, pyloroplasty and gastroenterostomy. These can be included in the surveillance using the following Y75.codes as a secondary code to indicate the laparoscopic approach For example, a laparoscopic assisted Oesophagogastrectomy and anastomosis of oesophagus to stomach would be given a primary procedure code of G01.1 and a secondary code of Y75.1. Pleas…
Gastric Surgery - Connection of stomach to transposed jejunum (Clean- contaminated) (G32) OPCS-4
Procedure category: Gastric Surgery - Incision, excision or anastomosis of stomach, including partial or total gastrectomy, vagotomy, pyloromyotomy, pyloroplasty and gastroenterostomy. These can be included in the surveillance using the following Y75.codes as a secondary code to indicate the laparoscopic approach For example, a laparoscopic assisted Oesophagogastrectomy and anastomosis of oesophagus to stomach would be given a primary procedure code of G01.1 and a secondary code of Y75.1. Pleas…
Gastric Surgery - Excision of oesophagus and stomach (oesophagogastrectomy) (Clean-contaminated) (G01) OPCS-4
Procedure category: Gastric Surgery - Incision, excision or anastomosis of stomach, including partial or total gastrectomy, vagotomy, pyloromyotomy, pyloroplasty and gastroenterostomy. These can be included in the surveillance using the following Y75.codes as a secondary code to indicate the laparoscopic approach For example, a laparoscopic assisted Oesophagogastrectomy and anastomosis of oesophagus to stomach would be given a primary procedure code of G01.1 and a secondary code of Y75.1. Pleas…
Gastric Surgery - Extracranial extirpation of vagus nerve (vagotomy) * (Clean) (A27) OPCS-4
Procedure category: Gastric Surgery - Incision, excision or anastomosis of stomach, including partial or total gastrectomy, vagotomy, pyloromyotomy, pyloroplasty and gastroenterostomy. These can be included in the surveillance using the following Y75.codes as a secondary code to indicate the laparoscopic approach For example, a laparoscopic assisted Oesophagogastrectomy and anastomosis of oesophagus to stomach would be given a primary procedure code of G01.1 and a secondary code of Y75.1. Pleas…
Gastric Surgery - Incision of pylorus (Clean-contaminated) (G40) OPCS-4
Procedure category: Gastric Surgery - Incision, excision or anastomosis of stomach, including partial or total gastrectomy, vagotomy, pyloromyotomy, pyloroplasty and gastroenterostomy. These can be included in the surveillance using the following Y75.codes as a secondary code to indicate the laparoscopic approach For example, a laparoscopic assisted Oesophagogastrectomy and anastomosis of oesophagus to stomach would be given a primary procedure code of G01.1 and a secondary code of Y75.1. Pleas…