[
  {
    "phenotype_id": "PH3835",
    "phenotype_version_id": 8988,
    "name": "GI bleeding codes",
    "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\nTaken from the `GI_BLEED_COD` field in the National PINCER Data Specification, published by PRIMIS.\n\n\n© PRIMIS \\- the University of Nottingham 2021\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:36:19.288057Z",
    "author": "PINCER",
    "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:36:19.283483Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "pincer/gi_bleed",
    "source_reference": "https://www.opencodelists.org/codelist/pincer/gi_bleed/v1.8",
    "concept_information": [
      {
        "concept_id": 9165,
        "concept_version_id": 16650,
        "concept_name": "pincer/gi_bleed/v1.8",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3835",
        "phenotype_version_id": 8988,
        "phenotype_name": "GI bleeding codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1082631000119106",
            "description": "Gastric hemorrhage due to allergic gastritis",
            "attributes": null
          },
          {
            "code": "1082701000119105",
            "description": "Duodenal hemorrhage due to angiodysplasia of duodenum",
            "attributes": null
          },
          {
            "code": "1082711000119108",
            "description": "Gastric hemorrhage due to angiodysplasia of stomach",
            "attributes": null
          },
          {
            "code": "1085121000119107",
            "description": "Gastric hemorrhage due to chronic superficial gastritis",
            "attributes": null
          },
          {
            "code": "1086031000119101",
            "description": "Duodenal hemorrhage due to Dieulafoy vascular malformation of duodenum",
            "attributes": null
          },
          {
            "code": "1086041000119105",
            "description": "Gastric hemorrhage due to Dieulafoy lesion of stomach",
            "attributes": null
          },
          {
            "code": "1086561000119100",
            "description": "Hemorrhage of duodenum co-occurrent and due to diverticulosis",
            "attributes": null
          },
          {
            "code": "1086951000119108",
            "description": "Gastric hemorrhage due to vascular ectasia of gastric antrum",
            "attributes": null
          },
          {
            "code": "1087081000119102",
            "description": "Gastric hemorrhage caused by Helicobacter pylori",
            "attributes": null
          },
          {
            "code": "1087161000119105",
            "description": "Gastric hemorrhage due to hypertrophic gastritis",
            "attributes": null
          },
          {
            "code": "1087811000119103",
            "description": "Gastric hemorrhage due to irritant gastritis",
            "attributes": null
          },
          {
            "code": "1090361000119108",
            "description": "Gastric hemorrhage due to pyloric gastritis",
            "attributes": null
          },
          {
            "code": "1092941000119109",
            "description": "Gastric hemorrhage due to viral gastritis",
            "attributes": null
          },
          {
            "code": "111353003",
            "description": "Acute peptic ulcer with hemorrhage and perforation",
            "attributes": null
          },
          {
            "code": "12274003",
            "description": "Acute peptic ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "123411000119106",
            "description": "Gastric hemorrhage due to eosinophilic gastritis",
            "attributes": null
          },
          {
            "code": "12355008",
            "description": "Duodenal ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "12847006",
            "description": "Acute duodenal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "150721000119102",
            "description": "Gastric hemorrhage due to atrophic gastritis",
            "attributes": null
          },
          {
            "code": "15115006",
            "description": "Duodenal ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "15238002",
            "description": "Esophageal bleeding",
            "attributes": null
          },
          {
            "code": "15902003",
            "description": "Gastric ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "15970005",
            "description": "Intramural esophageal hematoma",
            "attributes": null
          },
          {
            "code": "16694003",
            "description": "Gastric ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "17067009",
            "description": "Acute gastric ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "17593008",
            "description": "Gastric ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "18367003",
            "description": "Duodenal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "2066005",
            "description": "Gastric ulcer with hemorrhage AND perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "218541000119109",
            "description": "Gastric hemorrhage co-occurrent with and due to idiopathic erosive gastritis",
            "attributes": null
          },
          {
            "code": "22157005",
            "description": "Acute peptic ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "236093004",
            "description": "Esophageal anastomotic hemorrhage",
            "attributes": null
          },
          {
            "code": "236094005",
            "description": "Gastric anastomotic hemorrhage",
            "attributes": null
          },
          {
            "code": "236095006",
            "description": "Duodenal anastomotic hemorrhage",
            "attributes": null
          },
          {
            "code": "2367005",
            "description": "Acute hemorrhagic gastritis",
            "attributes": null
          },
          {
            "code": "23812009",
            "description": "Duodenal ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "24001002",
            "description": "Chronic gastrojejunal ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "24807004",
            "description": "Bleeding gastric varices",
            "attributes": null
          },
          {
            "code": "25349007",
            "description": "Chronic upper gastrointestinal hemorrhage",
            "attributes": null
          },
          {
            "code": "26221006",
            "description": "Peptic ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "262790002",
            "description": "Esophageal hematoma",
            "attributes": null
          },
          {
            "code": "262838003",
            "description": "Stomach hematoma",
            "attributes": null
          },
          {
            "code": "262843005",
            "description": "Duodenal hematoma",
            "attributes": null
          },
          {
            "code": "267051003",
            "description": "Vomiting blood - fresh",
            "attributes": null
          },
          {
            "code": "27281001",
            "description": "Duodenal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "28945005",
            "description": "Acute peptic ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "307233002",
            "description": "Bleeding gastric erosion",
            "attributes": null
          },
          {
            "code": "308882008",
            "description": "Bleeding stress ulcer of stomach",
            "attributes": null
          },
          {
            "code": "308904008",
            "description": "Hematemesis - cause unknown",
            "attributes": null
          },
          {
            "code": "34021006",
            "description": "Chronic duodenal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "35560008",
            "description": "Duodenal ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "36975000",
            "description": "Chronic duodenal ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "37372002",
            "description": "Upper gastrointestinal hemorrhage",
            "attributes": null
          },
          {
            "code": "38938002",
            "description": "Acute upper gastrointestinal hemorrhage",
            "attributes": null
          },
          {
            "code": "40241000119109",
            "description": "Gastric hemorrhage due to alcoholic gastritis",
            "attributes": null
          },
          {
            "code": "40835002",
            "description": "Coffee ground vomiting",
            "attributes": null
          },
          {
            "code": "409506009",
            "description": "Hemorrhagic gastroenteritis",
            "attributes": null
          },
          {
            "code": "413212000",
            "description": "Hemorrhagic duodenopathy",
            "attributes": null
          },
          {
            "code": "413218001",
            "description": "Hemorrhagic gastropathy",
            "attributes": null
          },
          {
            "code": "414390000",
            "description": "Hemorrhagic mucosa of duodenum",
            "attributes": null
          },
          {
            "code": "414391001",
            "description": "Hemorrhagic mucosa of stomach",
            "attributes": null
          },
          {
            "code": "41986000",
            "description": "Acute duodenal ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "42698006",
            "description": "Gastrojejunal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "430349003",
            "description": "Upper gastrointestinal hemorrhage associated with hypercoagulability state",
            "attributes": null
          },
          {
            "code": "43406003",
            "description": "Acute peptic ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "439442003",
            "description": "Esophageal bleeding due to ulcerative esophagitis",
            "attributes": null
          },
          {
            "code": "45640006",
            "description": "Chronic gastrojejunal ulcer with hemorrhage and perforation",
            "attributes": null
          },
          {
            "code": "46523000",
            "description": "Chronic gastrojejunal ulcer with hemorrhage and with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "46708007",
            "description": "Acute gastric ulcer with hemorrhage and obstruction",
            "attributes": null
          },
          {
            "code": "47064007",
            "description": "Acute peptic ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "48658001",
            "description": "Peptic ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "48974009",
            "description": "Acute gastric ulcer with hemorrhage and perforation",
            "attributes": null
          },
          {
            "code": "49232000",
            "description": "Chronic peptic ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "50663005",
            "description": "Gastrojejunal ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "51847008",
            "description": "Acute duodenal ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "53337006",
            "description": "Acute gastric ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "53877005",
            "description": "Gastric ulcer with hemorrhage and obstruction",
            "attributes": null
          },
          {
            "code": "54798007",
            "description": "Gastrojejunal ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "55617001",
            "description": "Peptic ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "55746001",
            "description": "Chronic peptic ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "56461008",
            "description": "Chronic peptic ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "57246001",
            "description": "Chronic gastric ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "57748001",
            "description": "Bleeding ulcer of esophagus",
            "attributes": null
          },
          {
            "code": "58711008",
            "description": "Acute gastrojejunal ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "59356009",
            "description": "Chronic gastrojejunal ulcer with hemorrhage but without perforation",
            "attributes": null
          },
          {
            "code": "59515005",
            "description": "Acute gastrojejunal ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "60698006",
            "description": "Hemorrhagic esophagitis",
            "attributes": null
          },
          {
            "code": "61300005",
            "description": "Chronic peptic ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "61401005",
            "description": "Gastric hemorrhage",
            "attributes": null
          },
          {
            "code": "62341002",
            "description": "Chronic duodenal ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "62366003",
            "description": "Gastric ulcer with hemorrhage and perforation",
            "attributes": null
          },
          {
            "code": "62838000",
            "description": "Chronic gastrojejunal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "63954007",
            "description": "Acute gastrojejunal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "64094003",
            "description": "Gastrojejunal ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "64121000",
            "description": "Peptic ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "64398008",
            "description": "Peptic ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "66673003",
            "description": "Acute gastrojejunal ulcer with hemorrhage and with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "66767006",
            "description": "Acute duodenal ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "698352000",
            "description": "Chronic antral gastritis with hemorrhage",
            "attributes": null
          },
          {
            "code": "70418001",
            "description": "Acute gastric ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "7071000119102",
            "description": "Gastric hemorrhage due to erosive gastritis",
            "attributes": null
          },
          {
            "code": "717868009",
            "description": "Intramural hemorrhage of stomach",
            "attributes": null
          },
          {
            "code": "717882009",
            "description": "Intramural hemorrhage of duodenum",
            "attributes": null
          },
          {
            "code": "721179009",
            "description": "Intramural hemorrhage of esophagus",
            "attributes": null
          },
          {
            "code": "72408002",
            "description": "Acute gastrojejunal ulcer with hemorrhage and obstruction",
            "attributes": null
          },
          {
            "code": "74341002",
            "description": "Chronic gastric ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "76078009",
            "description": "Chronic gastric ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "76181002",
            "description": "Chronic gastric ulcer with hemorrhage and with perforation",
            "attributes": null
          },
          {
            "code": "77661009",
            "description": "Chronic peptic ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "81142005",
            "description": "Chronic duodenal ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "81387001",
            "description": "Acute gastrojejunal ulcer with hemorrhage and perforation",
            "attributes": null
          },
          {
            "code": "81518000",
            "description": "Chronic peptic ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "84124004",
            "description": "Gastrojejunal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "85787009",
            "description": "Chronic gastric ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "85859006",
            "description": "Chronic gastric ulcer with hemorrhage and with obstruction",
            "attributes": null
          },
          {
            "code": "86258000",
            "description": "Chronic duodenal ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "86895006",
            "description": "Acute duodenal ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "8765009",
            "description": "Hematemesis",
            "attributes": null
          },
          {
            "code": "87756006",
            "description": "Acute duodenal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "87796008",
            "description": "Gastrojejunal ulcer with hemorrhage and with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "89469000",
            "description": "Chronic duodenal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "89748001",
            "description": "Acute gastric ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "90257004",
            "description": "Chronic gastrojejunal ulcer with hemorrhage and obstruction",
            "attributes": null
          },
          {
            "code": "90489006",
            "description": "Peptic ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "95531001",
            "description": "Hemorrhagic duodenitis",
            "attributes": null
          },
          {
            "code": "95533003",
            "description": "Duodenal hemorrhage",
            "attributes": null
          },
          {
            "code": "97801000119102",
            "description": "Upper gastrointestinal hemorrhage co-occurrent and due to gastritis",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "3797c3b7",
    "open_codelist_version_tag": "v1.8",
    "status": 1,
    "doi": "https://doi.org/10.48533/d6d3-0j36",
    "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": 8988,
        "version_name": "GI bleeding codes",
        "version_date": "2026-01-26T23:36:19.293675Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]