Malabsorption due to gastrointestinal surgery

Metadata

Coding system
SNOMED CT (UK Clinical Edition)
Coding system release
40.2.0
Organisation
OpenSAFELY
Codelist ID
opensafely/malabsorption-due-to-gastrointestinal-surgery
Version ID
4c26d322
Number of codes included
47

Actions

Versions

About

Description

This codelist aims to identify gastrointestinal surgeries resulting in malabsorption of vitamin D. It is developed for the purpose of the vitamin D study (indications for vitamin D testing/ prescribing).

Methodology

Search terms: Roux-en-Y Gastric Bypass, sleeve gastrectomy, duodenal bypass, duodenal switch, gastric bypass, ileal bypass, pancreatic diversion.

The aim was to identify specific surgical procedures most likely to lead to vit. D deficiency: sleeve gastrectomy (esp. Biliopancreatic diversion with duodenal switch (BPD/DS)) and gastric bypass (esp. RYGB). Related weight-loss procedures, especially those affecting duodenal and ileal absorption (e.g. duodenal bypass liner), were included. Similarly, procedures where the duodenum is bypassed (as this is where most vit D. absorption occurs) were included.

Large umbrella terms likely to include these surgeries (e.g. gastrojejustomy) were included; other terms were excluded.

Gastric banding was excluded, as BOMMS guidelines state that following gastric banding: "Routine monitoring is usually not required unless the patient has symptomatic vitamin D deficiency".

References

Signed off by

  • Arina Tamborska, (July 21, 2025)
  • Andrew Brown, (Aug. 18, 2025)

Codelists are developed by a broad community of users for individual study purposes, which may or may not meet the needs of other studies. They should not be thought of as universal definitions of a particular condition.

We don't offer any guarantees about what they do or don't identify. Users should carefully check that any codelist meets their needs, and seek clinical input where appropriate.

code term
1060721000000106 Single anastomosis duodeno-ileal bypass with sleeve gastrectomy
1264335004 Gastrojejunostomy and insertion of stent using endoscopic ultrasonography guidance
1340181009 Laparoscopic duodenal switch
173747005 Roux-en-Y gastrojejunostomy
173748000 Bypass of stomach by anastomosis of stomach to transposed jejunum
173750008 Conversion to anastomosis of stomach to transposed jejunum
173751007 Conversion from previous anastomosis of stomach to transposed jejunum
173755003 Gastroenterostomy: [NEC] or [named variants]
173857001 Bypass of duodenum by anastomosis of stomach to jejunum
18692006 Bypass gastroenterostomy
226991000000105 Duodenal switch
227001000000104 Sleeve gastrectomy and duodenal switch
227081000000109 Sleeve gastrectomy NEC
227131000000109 Attention to connection of stomach to transposed jejunum
227151000000102 Attention to connection of stomach to jejunum
235281005 Anterior gastrojejunostomy
235282003 Anastomosis of stomach to ileum
256841000000105 Sleeve gastrectomy and duodenal switch
256851000000108 Sleeve gastrectomy NEC
257121000000108 Duodenal switch
265365007 Bypass of stomach by anastomosis of stomach to duodenum
279001000000105 Laparoscopic sleeve gastrectomy
289411000000108 Laparoscopic sleeve gastrectomy
30803004 Printen and Mason operation, high gastric bypass
314593003 Posterior gastrojejunostomy
329281000119107 History of sleeve gastrectomy
341741000000101 Laparoscopic gastric bypass
358575006 Gastroduodenostomy
359529008 Jaboulay operation, gastroduodenostomy
371161000000100 Laparoscopic gastric bypass
377191000000102 [V]Presence of gastric bypass
426738005 Duodenal switch
427074001 Laparoscopic sleeve gastrectomy
427980007 Sleeve gastrectomy with duodenal switch
433024005 Gastrojejunostomy using fluoroscopic guidance
442338001 Bypass of stomach
443906008 Bypass of stomach with short limb Roux-en-Y gastroenterostomy
468249005 Duodenal-jejunal bypass liner
468989007 Duodenal bypass liner
491521000000100 [V]Presence of gastric bypass
49245001 Bypass gastrojejunostomy
698450007 History of bypass of stomach
708629005 Laparoscopic bypass gastrojejunostomy
708983005 Laparoscopic bypass of stomach
72971003 Gastrojejunostomy with vagotomy
762461000000109 Reversal of duodenal switch
87604009 Sleeve resection of stomach

This page shows the search terms that were used to build the codelist. Concepts that match the search terms, but which were excluded, are in faint grey.

Pancreatic Diversion

Included 0 out of 0 matching concepts.

Show matching concepts

Roux-en-Y Gastric Bypass

Included 5 out of 5 matching concepts.

Show matching concepts
  • Bypass of stomach by anastomosis of stomach to transposed jejunum (173748000)
  • Bypass of stomach with short limb Roux-en-Y gastroenterostomy (443906008)
  • Conversion from previous anastomosis of stomach to transposed jejunum (173751007)
  • Conversion to anastomosis of stomach to transposed jejunum (173750008)
  • Roux-en-Y gastrojejunostomy (173747005)

Sleeve gastrectomy

Included 13 out of 13 matching concepts.

Show matching concepts
  • Duodenal switch (426738005)
  • History of sleeve gastrectomy (329281000119107)
  • Laparoscopic duodenal switch (1340181009)
  • Laparoscopic sleeve gastrectomy (279001000000105)
  • Laparoscopic sleeve gastrectomy (427074001)
  • Laparoscopic sleeve gastrectomy (289411000000108)
  • Single anastomosis duodeno-ileal bypass with sleeve gastrectomy (1060721000000106)
  • Sleeve gastrectomy NEC (227081000000109)
  • Sleeve gastrectomy NEC (256851000000108)
  • Sleeve gastrectomy and duodenal switch (227001000000104)
  • Sleeve gastrectomy and duodenal switch (256841000000105)
  • Sleeve gastrectomy with duodenal switch (427980007)
  • Sleeve resection of stomach (87604009)

duodenal bypass

Included 2 out of 2 matching concepts.

Show matching concepts
  • Duodenal bypass liner (468989007)
  • Duodenal-jejunal bypass liner (468249005)

duodenal switch

Included 8 out of 10 matching concepts.

Show matching concepts
  • Duodenal switch (426738005)
  • Duodenal switch (226991000000105)
  • Duodenal switch (257121000000108)
  • Laparoscopic duodenal switch (1340181009)
  • Reversal of duodenal switch (762461000000109)
  • Reversal of duodenal switch (447892004)
  • Reversal of duodenal switch (779621000000101)
  • Sleeve gastrectomy and duodenal switch (227001000000104)
  • Sleeve gastrectomy and duodenal switch (256841000000105)
  • Sleeve gastrectomy with duodenal switch (427980007)

gastric bypass

Included 29 out of 34 matching concepts.

Show matching concepts
  • Anastomosis of stomach to ileum (235282003)
  • Anterior gastrojejunostomy (235281005)
  • Attention to connection of stomach to jejunum (227151000000102)
  • Attention to connection of stomach to transposed jejunum (227131000000109)
  • Bypass gastroenterostomy (18692006)
  • Bypass gastrojejunostomy (49245001)
  • Bypass of duodenum by anastomosis of stomach to jejunum (173857001)
  • Bypass of esophagus using stomach (173587003)
  • Bypass of stomach (442338001)
  • Bypass of stomach by anastomosis of stomach to duodenum (265365007)
  • Bypass of stomach by anastomosis of stomach to transposed jejunum (173748000)
  • Bypass of stomach with short limb Roux-en-Y gastroenterostomy (443906008)
  • Cholecystenterostomy with gastroenterostomy (45753003)
  • Conversion from previous anastomosis of stomach to transposed jejunum (173751007)
  • Conversion to anastomosis of stomach to transposed jejunum (173750008)
  • Esophagogastrostomy, antesternal or antethoracic (11127003)
  • Gastroduodenostomy (358575006)
  • Gastroenterostomy - no gastrectomy (287834004)
  • Gastroenterostomy: [NEC] or [named variants] (173755003)
  • Gastrojejunostomy and insertion of stent using endoscopic ultrasonography guidance (1264335004)
  • Gastrojejunostomy using fluoroscopic guidance (433024005)
  • Gastrojejunostomy with vagotomy (72971003)
  • History of bypass of stomach (698450007)
  • Jaboulay operation, gastroduodenostomy (359529008)
  • Laparoscopic bypass gastrojejunostomy (708629005)
  • Laparoscopic bypass of stomach (708983005)
  • Laparoscopic gastric bypass (341741000000101)
  • Laparoscopic gastric bypass (371161000000100)
  • Posterior gastrojejunostomy (314593003)
  • Printen and Mason operation, high gastric bypass (30803004)
  • Pylorostomy (57245002)
  • Roux-en-Y gastrojejunostomy (173747005)
  • [V]Presence of gastric bypass (377191000000102)
  • [V]Presence of gastric bypass (491521000000100)

ileal bypass

Included 1 out of 3 matching concepts.

Show matching concepts
  • Revision of jejunoileal bypass (10088002)
  • Single anastomosis duodeno-ileal bypass with sleeve gastrectomy (1060721000000106)
  • Take-down of jejunoileal bypass (61600000)