[
  {
    "phenotype_id": "PH3554",
    "phenotype_version_id": 8621,
    "name": "Malabsorption due to gastrointestinal surgery",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nThis 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).\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:21:59.123075Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:21:59.112376Z",
    "references": [
      {
        "url": "https://bomss.org/wp-content/uploads/2021/06/BOMSS-guidelines-Final-version1Oct14.pdf",
        "title": "BOMMS Guidelines"
      },
      {
        "url": "https://bomss.org/bomss-post-bariatric-surgery-nutritional-guidance-for-gps/",
        "title": "BOMMS Guidelines for GPs"
      },
      {
        "url": "https://github.com/opensafely/codelist-development/issues/369",
        "title": "GitHub"
      }
    ],
    "signed_off": [],
    "methodology": "Search terms: Roux\\-en\\-Y Gastric Bypass, sleeve gastrectomy, duodenal bypass, duodenal switch, gastric bypass, ileal bypass, pancreatic diversion.\n\n\nThe 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.\n\n\nLarge umbrella terms likely to include these surgeries (e.g. gastrojejustomy) were included; other terms were excluded.\n\n\nGastric 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\".\n\n",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "opensafely/malabsorption-due-to-gastrointestinal-surgery",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/malabsorption-due-to-gastrointestinal-surgery/4c26d322",
    "concept_information": [
      {
        "concept_id": 8798,
        "concept_version_id": 16283,
        "concept_name": "opensafely/malabsorption-due-to-gastrointestinal-surgery/4c26d322",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3554",
        "phenotype_version_id": 8621,
        "phenotype_name": "Malabsorption due to gastrointestinal surgery",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1060721000000106",
            "description": "Single anastomosis duodeno-ileal bypass with sleeve gastrectomy",
            "attributes": null
          },
          {
            "code": "1264335004",
            "description": "Gastrojejunostomy and insertion of stent using endoscopic ultrasonography guidance",
            "attributes": null
          },
          {
            "code": "1340181009",
            "description": "Laparoscopic duodenal switch",
            "attributes": null
          },
          {
            "code": "173747005",
            "description": "Roux-en-Y gastrojejunostomy",
            "attributes": null
          },
          {
            "code": "173748000",
            "description": "Bypass of stomach by anastomosis of stomach to transposed jejunum",
            "attributes": null
          },
          {
            "code": "173750008",
            "description": "Conversion to anastomosis of stomach to transposed jejunum",
            "attributes": null
          },
          {
            "code": "173751007",
            "description": "Conversion from previous anastomosis of stomach to transposed jejunum",
            "attributes": null
          },
          {
            "code": "173755003",
            "description": "Gastroenterostomy: [NEC] or [named variants]",
            "attributes": null
          },
          {
            "code": "173857001",
            "description": "Bypass of duodenum by anastomosis of stomach to jejunum",
            "attributes": null
          },
          {
            "code": "18692006",
            "description": "Bypass gastroenterostomy",
            "attributes": null
          },
          {
            "code": "226991000000105",
            "description": "Duodenal switch",
            "attributes": null
          },
          {
            "code": "227001000000104",
            "description": "Sleeve gastrectomy and duodenal switch",
            "attributes": null
          },
          {
            "code": "227081000000109",
            "description": "Sleeve gastrectomy NEC",
            "attributes": null
          },
          {
            "code": "227131000000109",
            "description": "Attention to connection of stomach to transposed jejunum",
            "attributes": null
          },
          {
            "code": "227151000000102",
            "description": "Attention to connection of stomach to jejunum",
            "attributes": null
          },
          {
            "code": "235281005",
            "description": "Anterior gastrojejunostomy",
            "attributes": null
          },
          {
            "code": "235282003",
            "description": "Anastomosis of stomach to ileum",
            "attributes": null
          },
          {
            "code": "256841000000105",
            "description": "Sleeve gastrectomy and duodenal switch",
            "attributes": null
          },
          {
            "code": "256851000000108",
            "description": "Sleeve gastrectomy NEC",
            "attributes": null
          },
          {
            "code": "257121000000108",
            "description": "Duodenal switch",
            "attributes": null
          },
          {
            "code": "265365007",
            "description": "Bypass of stomach by anastomosis of stomach to duodenum",
            "attributes": null
          },
          {
            "code": "279001000000105",
            "description": "Laparoscopic sleeve gastrectomy",
            "attributes": null
          },
          {
            "code": "289411000000108",
            "description": "Laparoscopic sleeve gastrectomy",
            "attributes": null
          },
          {
            "code": "30803004",
            "description": "Printen and Mason operation, high gastric bypass",
            "attributes": null
          },
          {
            "code": "314593003",
            "description": "Posterior gastrojejunostomy",
            "attributes": null
          },
          {
            "code": "329281000119107",
            "description": "History of sleeve gastrectomy",
            "attributes": null
          },
          {
            "code": "341741000000101",
            "description": "Laparoscopic gastric bypass",
            "attributes": null
          },
          {
            "code": "358575006",
            "description": "Gastroduodenostomy",
            "attributes": null
          },
          {
            "code": "359529008",
            "description": "Jaboulay operation, gastroduodenostomy",
            "attributes": null
          },
          {
            "code": "371161000000100",
            "description": "Laparoscopic gastric bypass",
            "attributes": null
          },
          {
            "code": "377191000000102",
            "description": "[V]Presence of gastric bypass",
            "attributes": null
          },
          {
            "code": "426738005",
            "description": "Duodenal switch",
            "attributes": null
          },
          {
            "code": "427074001",
            "description": "Laparoscopic sleeve gastrectomy",
            "attributes": null
          },
          {
            "code": "427980007",
            "description": "Sleeve gastrectomy with duodenal switch",
            "attributes": null
          },
          {
            "code": "433024005",
            "description": "Gastrojejunostomy using fluoroscopic guidance",
            "attributes": null
          },
          {
            "code": "442338001",
            "description": "Bypass of stomach",
            "attributes": null
          },
          {
            "code": "443906008",
            "description": "Bypass of stomach with short limb Roux-en-Y gastroenterostomy",
            "attributes": null
          },
          {
            "code": "468249005",
            "description": "Duodenal-jejunal bypass liner",
            "attributes": null
          },
          {
            "code": "468989007",
            "description": "Duodenal bypass liner",
            "attributes": null
          },
          {
            "code": "491521000000100",
            "description": "[V]Presence of gastric bypass",
            "attributes": null
          },
          {
            "code": "49245001",
            "description": "Bypass gastrojejunostomy",
            "attributes": null
          },
          {
            "code": "698450007",
            "description": "History of bypass of stomach",
            "attributes": null
          },
          {
            "code": "708629005",
            "description": "Laparoscopic bypass gastrojejunostomy",
            "attributes": null
          },
          {
            "code": "708983005",
            "description": "Laparoscopic bypass of stomach",
            "attributes": null
          },
          {
            "code": "72971003",
            "description": "Gastrojejunostomy with vagotomy",
            "attributes": null
          },
          {
            "code": "762461000000109",
            "description": "Reversal of duodenal switch",
            "attributes": null
          },
          {
            "code": "87604009",
            "description": "Sleeve resection of stomach",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "4c26d322",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/ghza-ap80",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8621,
        "version_name": "Malabsorption due to gastrointestinal surgery",
        "version_date": "2026-01-26T23:21:59.133049Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]