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
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…
Gastric Surgery - Laparoscopically assisted approach to the abdominal cavity (Y75) 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 - Operations on ulcer of stomach (G35) 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 - Other connection of stomach to jejunum (Clean-contaminated) (G33) 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 - Other open operations on stomach (G38) 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 - Other repair of stomach (G36) 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 - Partial excision of stomach (partial gastrectomy) (Clean-contaminated) (G28) 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 - Plastic operations on stomach (Clean-contaminated) (G30) 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…