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
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…
Gastric Surgery - Repair of perforation of pylorus 44 SSISS Protocol: OPCS operating procedure code supplement. OPCS-4.8 to OPCS-4.9 (G41) 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 - Revision of antireflux operations (Clean-contaminated) (G25) 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 - Total excision of stomach (total gastrectomy) (Clean-contaminated) (G27) 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…
Gastro oesophageal reflux disease (GORD) diagnosis codes SNOMED CT
Taken from the `GORD_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/).
Gastrointestinal bleeding ICD-10 ICD-10
Codes to define gastrointestinal bleeding in ONS death data.
Published by OpenSAFELY
Gastroprotective drugs dm+d
Taken from the `ULCERHEALDRUG_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
Generic ciclosporin and tacrolimus BNF
Used by the following [OpenPrescribing](https://openprescribing.net) measures:

* [Ciclosporin and tacrolimus oral preparations prescribed generically](https://openprescribing.net/measure/ciclosporin/)
Published by OpenPrescribing
Generic diltiazem BNF
Used by the following [OpenPrescribing](https://openprescribing.net) measures:

* [Diltiazem preparations (>60mg) prescribed generically](https://openprescribing.net/measure/diltiazem/)
Published by OpenPrescribing