[
  {
    "phenotype_id": "PH3844",
    "phenotype_version_id": 8997,
    "name": "peptic ulceration",
    "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 `PEP_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:50.228583Z",
    "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:50.222836Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "pincer/pep",
    "source_reference": "https://www.opencodelists.org/codelist/pincer/pep/v1.8",
    "concept_information": [
      {
        "concept_id": 9174,
        "concept_version_id": 16659,
        "concept_name": "pincer/pep/v1.8",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3844",
        "phenotype_version_id": 8997,
        "phenotype_name": "peptic ulceration",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "103691000119106",
            "description": "Gastric ulcer caused by Helicobacter pylori",
            "attributes": null
          },
          {
            "code": "10389003",
            "description": "Acute gastrojejunal ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "1086791000119100",
            "description": "Erosive gastritis",
            "attributes": null
          },
          {
            "code": "10897002",
            "description": "Chronic gastrojejunal ulcer with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "109813002",
            "description": "Drug-induced peptic ulcer",
            "attributes": null
          },
          {
            "code": "111350000",
            "description": "Acute gastric erosion associated with drug ingestion",
            "attributes": null
          },
          {
            "code": "111353003",
            "description": "Acute peptic ulcer with hemorrhage and perforation",
            "attributes": null
          },
          {
            "code": "11818002",
            "description": "Gastrojejunal ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "12274003",
            "description": "Acute peptic ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "12355008",
            "description": "Duodenal ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "12384004",
            "description": "Chronic peptic ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "12625009",
            "description": "Peptic ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "128286008",
            "description": "Chronic duodenal ulcer",
            "attributes": null
          },
          {
            "code": "128287004",
            "description": "Chronic peptic ulcer",
            "attributes": null
          },
          {
            "code": "128288009",
            "description": "Chronic gastrojejunal ulcer",
            "attributes": null
          },
          {
            "code": "12847006",
            "description": "Acute duodenal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "129141000119104",
            "description": "Gastric ulcer caused by non-steroidal anti-inflammatory drug in therapeutic use",
            "attributes": null
          },
          {
            "code": "13200003",
            "description": "Peptic ulcer",
            "attributes": null
          },
          {
            "code": "15115006",
            "description": "Duodenal ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "1567007",
            "description": "Chronic gastric ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "15902003",
            "description": "Gastric ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "16089091000119106",
            "description": "History of esophageal ulcer",
            "attributes": null
          },
          {
            "code": "16089131000119108",
            "description": "History of pyloric channel ulcer",
            "attributes": null
          },
          {
            "code": "16089211000119108",
            "description": "History of gastrojejunal ulcer",
            "attributes": null
          },
          {
            "code": "16121001",
            "description": "Gastrojejunal ulcer",
            "attributes": null
          },
          {
            "code": "16516008",
            "description": "Familial duodenal ulcer associated with rapid gastric emptying",
            "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": "173841001",
            "description": "Gastric ulcer operation",
            "attributes": null
          },
          {
            "code": "173842008",
            "description": "Closure of perforated gastric ulcer",
            "attributes": null
          },
          {
            "code": "173887007",
            "description": "Duodenal ulcer operation",
            "attributes": null
          },
          {
            "code": "173889005",
            "description": "Closure of perforated duodenal ulcer",
            "attributes": null
          },
          {
            "code": "17593008",
            "description": "Gastric ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "18169007",
            "description": "Duodenal ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "18367003",
            "description": "Duodenal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "18665000",
            "description": "Acute gastric mucosal erosion",
            "attributes": null
          },
          {
            "code": "196632005",
            "description": "Acute gastric ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196639001",
            "description": "Chronic gastric ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196652006",
            "description": "Acute duodenal ulcer",
            "attributes": null
          },
          {
            "code": "196658005",
            "description": "Acute duodenal ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196666001",
            "description": "Chronic duodenal ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196671008",
            "description": "Recurrent duodenal ulcer",
            "attributes": null
          },
          {
            "code": "196682000",
            "description": "Acute peptic ulcer",
            "attributes": null
          },
          {
            "code": "196687006",
            "description": "Acute peptic ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196694009",
            "description": "Chronic peptic ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196707000",
            "description": "Acute gastrojejunal ulcer",
            "attributes": null
          },
          {
            "code": "196712004",
            "description": "Acute gastrojejunal ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196719008",
            "description": "Chronic gastrojejunal ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "196764005",
            "description": "Duodenal scar",
            "attributes": null
          },
          {
            "code": "196775009",
            "description": "Healed gastric ulcer leaving a scar",
            "attributes": null
          },
          {
            "code": "19850005",
            "description": "Acute gastric ulcer with perforation",
            "attributes": null
          },
          {
            "code": "2066005",
            "description": "Gastric ulcer with hemorrhage AND perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "21759003",
            "description": "Gastrojejunal ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "22157005",
            "description": "Acute peptic ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "22511002",
            "description": "Acute duodenal ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "22620000",
            "description": "Prepyloric ulcer",
            "attributes": null
          },
          {
            "code": "226891000000104",
            "description": "Oversew of blood vessel of duodenal ulcer",
            "attributes": null
          },
          {
            "code": "235232008",
            "description": "Oversewing perforated gastric ulcer",
            "attributes": null
          },
          {
            "code": "235648004",
            "description": "Acute drug-induced ulcer of stomach",
            "attributes": null
          },
          {
            "code": "235650007",
            "description": "Chronic drug-induced ulcer of stomach",
            "attributes": null
          },
          {
            "code": "235651006",
            "description": "Gastric erosion",
            "attributes": null
          },
          {
            "code": "235652004",
            "description": "Multiple gastric erosions",
            "attributes": null
          },
          {
            "code": "235688009",
            "description": "Stress ulcer of duodenum",
            "attributes": null
          },
          {
            "code": "235689001",
            "description": "Cushing ulcer of duodenum",
            "attributes": null
          },
          {
            "code": "235690005",
            "description": "Curling's ulcer of duodenum",
            "attributes": null
          },
          {
            "code": "235692002",
            "description": "Duodenal erosion",
            "attributes": null
          },
          {
            "code": "235702004",
            "description": "Healed gastric ulcer",
            "attributes": null
          },
          {
            "code": "235712006",
            "description": "Ulcerative jejunitis",
            "attributes": null
          },
          {
            "code": "23649000",
            "description": "Cushing ulcer",
            "attributes": null
          },
          {
            "code": "23693000",
            "description": "Acute duodenal ulcer without hemorrhage, without perforation AND without obstruction",
            "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": "248891000000103",
            "description": "Non-steroidal anti-inflammatory drug induced gastric ulcer",
            "attributes": null
          },
          {
            "code": "26221006",
            "description": "Peptic ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "266998003",
            "description": "History of peptic ulcer",
            "attributes": null
          },
          {
            "code": "27281001",
            "description": "Duodenal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "275547005",
            "description": "History of duodenal ulcer",
            "attributes": null
          },
          {
            "code": "275548000",
            "description": "History of gastric ulcer",
            "attributes": null
          },
          {
            "code": "276525003",
            "description": "Peptic ulcer of newborn",
            "attributes": null
          },
          {
            "code": "2783007",
            "description": "Gastrojejunal ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "2807004",
            "description": "Chronic gastrojejunal ulcer with perforation",
            "attributes": null
          },
          {
            "code": "28082003",
            "description": "Chronic duodenal ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "287828006",
            "description": "Duodenal ulcer excision",
            "attributes": null
          },
          {
            "code": "287832000",
            "description": "Stomach ulcer excision",
            "attributes": null
          },
          {
            "code": "28945005",
            "description": "Acute peptic ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "29755007",
            "description": "Duodenal ulcer with increased serum pepsinogen I",
            "attributes": null
          },
          {
            "code": "30183003",
            "description": "Gastrojejunal ulcer with perforation",
            "attributes": null
          },
          {
            "code": "3023008",
            "description": "Acute peptic ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "30514008",
            "description": "Acute gastrojejunal ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "307190008",
            "description": "Laparoscopic closure of perforated gastric ulcer",
            "attributes": null
          },
          {
            "code": "307233002",
            "description": "Bleeding gastric erosion",
            "attributes": null
          },
          {
            "code": "307259004",
            "description": "Suture of gastric ulcer",
            "attributes": null
          },
          {
            "code": "307260009",
            "description": "Suture of duodenal ulcer",
            "attributes": null
          },
          {
            "code": "307510004",
            "description": "Oversewing of bleeding duodenal ulcer",
            "attributes": null
          },
          {
            "code": "307511000",
            "description": "Under-running of bleeding duodenal ulcer",
            "attributes": null
          },
          {
            "code": "307512007",
            "description": "Oversewing of bleeding gastric ulcer",
            "attributes": null
          },
          {
            "code": "307556007",
            "description": "Repair of perforated pyloric ulcer",
            "attributes": null
          },
          {
            "code": "307557003",
            "description": "Omental patch repair of perforated pyloric ulcer",
            "attributes": null
          },
          {
            "code": "308212008",
            "description": "Deformed duodenal cap",
            "attributes": null
          },
          {
            "code": "308882008",
            "description": "Bleeding stress ulcer of stomach",
            "attributes": null
          },
          {
            "code": "31256001",
            "description": "Ligation of gastric ulcer",
            "attributes": null
          },
          {
            "code": "31301004",
            "description": "Chronic gastric ulcer with perforation",
            "attributes": null
          },
          {
            "code": "313425006",
            "description": "Multiple gastric ulcers",
            "attributes": null
          },
          {
            "code": "31452001",
            "description": "Gastric ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "314627002",
            "description": "Endoscopic injection hemostasis of duodenal ulcer",
            "attributes": null
          },
          {
            "code": "314629004",
            "description": "Endoscopic injection hemostasis of gastric ulcer",
            "attributes": null
          },
          {
            "code": "314632001",
            "description": "Under-running of bleeding gastric ulcer",
            "attributes": null
          },
          {
            "code": "32490005",
            "description": "Acute duodenal ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "34021006",
            "description": "Chronic duodenal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "34580000",
            "description": "Duodenal ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "34602004",
            "description": "Chronic duodenal ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "3483000",
            "description": "Chronic peptic ulcer with perforation",
            "attributes": null
          },
          {
            "code": "34921009",
            "description": "Acute peptic ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "35517004",
            "description": "Gastrojejunal ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "35560008",
            "description": "Duodenal ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "35681000",
            "description": "Acute peptic ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "35892001",
            "description": "Oversewing of perforated duodenal ulcer",
            "attributes": null
          },
          {
            "code": "359574001",
            "description": "Closure of ulcer of duodenum",
            "attributes": null
          },
          {
            "code": "360372005",
            "description": "Gastrorrhaphy for perforated gastric ulcer",
            "attributes": null
          },
          {
            "code": "360377004",
            "description": "Oversewing of ulcer crater of stomach",
            "attributes": null
          },
          {
            "code": "36246001",
            "description": "Chronic gastric ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "36975000",
            "description": "Chronic duodenal ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "37442009",
            "description": "Peptic ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "38365000",
            "description": "Peptic ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "39204006",
            "description": "Pyloric ulcer",
            "attributes": null
          },
          {
            "code": "39344002",
            "description": "Acute erosion of duodenum",
            "attributes": null
          },
          {
            "code": "39755000",
            "description": "Curling's ulcer",
            "attributes": null
          },
          {
            "code": "397825006",
            "description": "Gastric ulcer",
            "attributes": null
          },
          {
            "code": "40214005",
            "description": "Chronic duodenal ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "40845000",
            "description": "Gastrointestinal ulcer",
            "attributes": null
          },
          {
            "code": "415623008",
            "description": "Stress ulcer",
            "attributes": null
          },
          {
            "code": "415624002",
            "description": "Stress ulcer of stomach",
            "attributes": null
          },
          {
            "code": "41626001",
            "description": "Chronic gastrojejunal ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "41986000",
            "description": "Acute duodenal ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "423643000",
            "description": "Duodenal ulcer caused by anti-platelet agent",
            "attributes": null
          },
          {
            "code": "424301005",
            "description": "Gastric ulcer caused by anti-platelet agent",
            "attributes": null
          },
          {
            "code": "4269005",
            "description": "Chronic gastrojejunal ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "42698006",
            "description": "Gastrojejunal ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "43035002",
            "description": "Childhood duodenal ulcer",
            "attributes": null
          },
          {
            "code": "43406003",
            "description": "Acute peptic ulcer with hemorrhage AND obstruction",
            "attributes": null
          },
          {
            "code": "43694004",
            "description": "Acute gastric ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "442805003",
            "description": "Incision of stomach and suture of bleeding gastric ulcer",
            "attributes": null
          },
          {
            "code": "444926003",
            "description": "Acute erosive gastritis",
            "attributes": null
          },
          {
            "code": "45485004",
            "description": "Acute peptic ulcer without hemorrhage AND without perforation",
            "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": "47152002",
            "description": "Gastrojejunal ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "48336009",
            "description": "Peptic ulcer with perforation AND 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": "4911000119101",
            "description": "Antral ulcer",
            "attributes": null
          },
          {
            "code": "49232000",
            "description": "Chronic peptic ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "49916007",
            "description": "Chronic duodenal ulcer with perforation",
            "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": "51868009",
            "description": "Ulcer of duodenum",
            "attributes": null
          },
          {
            "code": "53132006",
            "description": "Zollinger-Ellison syndrome",
            "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": "54053008",
            "description": "Acute gastric ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "54157007",
            "description": "Peptic ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "54798007",
            "description": "Gastrojejunal ulcer with hemorrhage, with perforation and with obstruction",
            "attributes": null
          },
          {
            "code": "54822007",
            "description": "Jejunal ulcer",
            "attributes": null
          },
          {
            "code": "5492000",
            "description": "Chronic peptic ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "55483002",
            "description": "Chronic gastric ulcer 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": "56579005",
            "description": "Chronic gastrojejunal ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "56776001",
            "description": "Duodenal ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "57246001",
            "description": "Chronic gastric ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "57871005",
            "description": "Chronic peptic ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "57940000",
            "description": "Chronic duodenal ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "58085004",
            "description": "Acute peptic ulcer without hemorrhage AND without perforation but with obstruction",
            "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": "59913009",
            "description": "Gastric ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "60400003",
            "description": "Chronic peptic ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "60531007",
            "description": "Chronic gastric ulcer without hemorrhage AND without perforation but with obstruction",
            "attributes": null
          },
          {
            "code": "60551006",
            "description": "Chronic duodenal ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "6129004",
            "description": "Peptic ulcer of esophagus",
            "attributes": null
          },
          {
            "code": "61300005",
            "description": "Chronic peptic ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "61347001",
            "description": "Acute duodenal ulcer with perforation",
            "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": "62477005",
            "description": "Chronic gastrojejunal ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "62838000",
            "description": "Chronic gastrojejunal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "62936002",
            "description": "Acute duodenal ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "63137003",
            "description": "Chronic erosive gastritis",
            "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": "66636001",
            "description": "Acute gastrojejunal ulcer with perforation",
            "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": "6761005",
            "description": "Familial hypergastrinemic duodenal ulcer",
            "attributes": null
          },
          {
            "code": "67964002",
            "description": "Acute gastric ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "68834009",
            "description": "Giant duodenal ulcer",
            "attributes": null
          },
          {
            "code": "698496004",
            "description": "Patch repair of perforated duodenal ulcer",
            "attributes": null
          },
          {
            "code": "70418001",
            "description": "Acute gastric ulcer with hemorrhage but without obstruction",
            "attributes": null
          },
          {
            "code": "708644006",
            "description": "Laparoscopic closure of ulcer of stomach using patch",
            "attributes": null
          },
          {
            "code": "708645007",
            "description": "Laparoscopic closure of ulcer of duodenum using patch",
            "attributes": null
          },
          {
            "code": "713638002",
            "description": "Gastric ulcer caused by drug",
            "attributes": null
          },
          {
            "code": "717862005",
            "description": "Erosion of gastrointestinal anastomosis",
            "attributes": null
          },
          {
            "code": "717863000",
            "description": "Peptic anastomotic ulcer",
            "attributes": null
          },
          {
            "code": "717878007",
            "description": "Eosinophilic duodenal ulcer",
            "attributes": null
          },
          {
            "code": "717879004",
            "description": "Lymphocytic duodenal ulcer",
            "attributes": null
          },
          {
            "code": "717891008",
            "description": "Gastric ulcer due to Zollinger-Ellison syndrome",
            "attributes": null
          },
          {
            "code": "717892001",
            "description": "Duodenal ulcer due to Zollinger-Ellison syndrome",
            "attributes": null
          },
          {
            "code": "72219001",
            "description": "Acute gastrojejunal ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "722200003",
            "description": "Duodenal ulcer caused by non-steroidal anti-inflammatory drug",
            "attributes": null
          },
          {
            "code": "723099007",
            "description": "Gastric ulcer caused by bacterium",
            "attributes": null
          },
          {
            "code": "723100004",
            "description": "Gastric ulcer caused by virus",
            "attributes": null
          },
          {
            "code": "723101000",
            "description": "Gastric ulcer caused by fungus",
            "attributes": null
          },
          {
            "code": "723102007",
            "description": "Gastric ulcer due to parasitic infection",
            "attributes": null
          },
          {
            "code": "723103002",
            "description": "Gastric ulcer caused by alcohol",
            "attributes": null
          },
          {
            "code": "723104008",
            "description": "Gastric ulcer caused by ionizing radiation",
            "attributes": null
          },
          {
            "code": "723105009",
            "description": "Gastric ulcer caused by chemical",
            "attributes": null
          },
          {
            "code": "723884008",
            "description": "Duodenal ulcer caused by bacterium",
            "attributes": null
          },
          {
            "code": "72395008",
            "description": "Acute gastrojejunal ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "72408002",
            "description": "Acute gastrojejunal ulcer with hemorrhage and obstruction",
            "attributes": null
          },
          {
            "code": "724519008",
            "description": "Gastric ulcer caused by Helicobacter pylori and non-steroidal anti-inflammatory agent",
            "attributes": null
          },
          {
            "code": "724520002",
            "description": "Ulcer of stomach due to eosinophilic gastritis",
            "attributes": null
          },
          {
            "code": "724521003",
            "description": "Ulcer of stomach due to lymphocytic gastritis",
            "attributes": null
          },
          {
            "code": "724522005",
            "description": "Anastomotic ulcer of stomach caused by Helicobacter pylori",
            "attributes": null
          },
          {
            "code": "724523000",
            "description": "Anastomotic ulcer of stomach caused by drug",
            "attributes": null
          },
          {
            "code": "724528009",
            "description": "Duodenal ulcer caused by Helicobacter pylori",
            "attributes": null
          },
          {
            "code": "724529001",
            "description": "Duodenal ulcer caused by drug",
            "attributes": null
          },
          {
            "code": "724530006",
            "description": "Duodenal ulcer caused by Helicobacter pylori and non-steroidal anti-inflammatory agent",
            "attributes": null
          },
          {
            "code": "724531005",
            "description": "Duodenal ulcer caused by ionizing radiation",
            "attributes": null
          },
          {
            "code": "724532003",
            "description": "Ulcer of duodenum caused by chemical",
            "attributes": null
          },
          {
            "code": "724533008",
            "description": "Duodenal ulcer caused by virus",
            "attributes": null
          },
          {
            "code": "724534002",
            "description": "Duodenal ulcer caused by fungus",
            "attributes": null
          },
          {
            "code": "72486001",
            "description": "Gastric ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "73481001",
            "description": "Gastric ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "738791006",
            "description": "Cushing ulcer of stomach",
            "attributes": null
          },
          {
            "code": "74341002",
            "description": "Chronic gastric ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "75342000",
            "description": "Acute duodenal ulcer without hemorrhage AND without perforation but with 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": "762274007",
            "description": "Ulcer of stomach due to infection",
            "attributes": null
          },
          {
            "code": "762276009",
            "description": "Ulcer of duodenum due to infection",
            "attributes": null
          },
          {
            "code": "76338009",
            "description": "Normopepsinogenemic familial duodenal ulcer",
            "attributes": null
          },
          {
            "code": "76796008",
            "description": "Chronic gastric ulcer without hemorrhage AND without perforation",
            "attributes": null
          },
          {
            "code": "77410006",
            "description": "Duodenal ulcer with perforation AND obstruction",
            "attributes": null
          },
          {
            "code": "77661009",
            "description": "Chronic peptic ulcer with hemorrhage, with perforation AND with obstruction",
            "attributes": null
          },
          {
            "code": "77987006",
            "description": "Acute gastrojejunal ulcer without hemorrhage, without perforation AND without obstruction",
            "attributes": null
          },
          {
            "code": "78054007",
            "description": "Postpyloric ulcer",
            "attributes": null
          },
          {
            "code": "781203005",
            "description": "Curling's ulcer of stomach",
            "attributes": null
          },
          {
            "code": "782935003",
            "description": "Tremor, nystagmus, duodenal ulcer syndrome",
            "attributes": null
          },
          {
            "code": "786068005",
            "description": "Peptic ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "79118000",
            "description": "Acute peptic ulcer with perforation",
            "attributes": null
          },
          {
            "code": "79806007",
            "description": "Combined gastric AND duodenal ulcer",
            "attributes": null
          },
          {
            "code": "80953005",
            "description": "Chronic peptic ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "81142005",
            "description": "Chronic duodenal ulcer with hemorrhage AND with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "81225008",
            "description": "Acute gastric ulcer without hemorrhage AND without perforation but with 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": "8322005",
            "description": "Closure of stomach ulcer",
            "attributes": null
          },
          {
            "code": "84038009",
            "description": "Gastric ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "840591006",
            "description": "Duodenal ulcer caused by platelet aggregation inhibitor",
            "attributes": null
          },
          {
            "code": "840592004",
            "description": "Gastric ulcer caused by platelet aggregation inhibitor",
            "attributes": null
          },
          {
            "code": "84124004",
            "description": "Gastrojejunal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "849591000000103",
            "description": "Gastric ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "849601000000109",
            "description": "Duodenal ulcer with obstruction",
            "attributes": null
          },
          {
            "code": "849621000000100",
            "description": "Gastrojejunal ulcer with obstruction",
            "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": "865912001",
            "description": "Exacerbation of peptic ulcer",
            "attributes": null
          },
          {
            "code": "86895006",
            "description": "Acute duodenal ulcer with hemorrhage AND perforation",
            "attributes": null
          },
          {
            "code": "86983005",
            "description": "Duodenal ulcer with perforation but without obstruction",
            "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": "88169003",
            "description": "Peptic ulcer with perforation",
            "attributes": null
          },
          {
            "code": "88968005",
            "description": "Duodenal ulcer with perforation",
            "attributes": null
          },
          {
            "code": "89469000",
            "description": "Chronic duodenal ulcer with hemorrhage",
            "attributes": null
          },
          {
            "code": "89662003",
            "description": "Helicobacter-associated pyloric ulcer",
            "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": "90628007",
            "description": "Acute gastric ulcer with perforation but without obstruction",
            "attributes": null
          },
          {
            "code": "95529005",
            "description": "Acute gastric ulcer",
            "attributes": null
          },
          {
            "code": "95530000",
            "description": "Chronic gastric ulcer",
            "attributes": null
          },
          {
            "code": "9829001",
            "description": "Gastric ulcer with perforation",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "50a736ec",
    "open_codelist_version_tag": "v1.8",
    "status": 1,
    "doi": "https://doi.org/10.48533/vftc-e046",
    "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": 8997,
        "version_name": "peptic ulceration",
        "version_date": "2026-01-26T23:36:50.237157Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]