[
  {
    "phenotype_id": "PH4384",
    "phenotype_version_id": 9602,
    "name": "Peptic ulcer disease",
    "definition": "Ulcer that occurs in the regions of the GASTROINTESTINAL TRACT which come into contact with GASTRIC JUICE containing PEPSIN and GASTRIC ACID. It occurs when there are defects in the MUCOSA barrier.\n\nUKB baseline self reported fields.\n",
    "implementation": "The earliest record across all sources is obtained.\n",
    "publications": [
      {
        "doi": "https://doi.org/10.1038/s41598-025-05838-9",
        "details": "Torralbo, Ana and Davitte, Jonathan M. and Croteau-Chonka, Damien C. and Ytsma, Cai R. and Tomlinson, Christopher and Fitzpatrick, Natalie and Chung, Sheng-Chia and Fatemifar, Ghazaleh and Cortes, Adrian S. and Richardson, Tom G. and Barclay, Matthew and Carrasco Zanini Sanchez, Julia and Finan, Chris and Hemingway, Harry and Hingorani, Aroon D. and Kuan Po Ai, Valerie and Langenberg, Claudia and Lyratzopoulos, Georgios and Lumbers, Tom and Pietzner, Maik and Shah, Anoop Dinesh and Thygesen, Johan Hilge and Zelenka, Natalie and Whittaker, John C. and Ehm, Margaret G. and Denaxas, Spiros, A Computational Framework for Defining and Validating Reproducible Phenotyping Algorithms of 313 Diseases in the UK Biobank.",
        "primary": true
      }
    ],
    "validation": "Phenotypes underwent a multi\\-layered validation approach that included a) evaluating data source concordance, b) age\\-sex incidence and baseline prevalence patterns, c) an external comparison to a representative and unselected UK EHR dataset, d) modifiable risk factor associations, and e) genetic correlations with external genome\\-wide association studies (GWAS). Results showed consistent disease distributions by age and sex, high ranked correlation with general population prevalence estimates, confirmed risk factor associations, and significant genetic correlations with external GWAS.\n",
    "citation_requirements": null,
    "created": "2026-06-08T20:21:40.228188Z",
    "author": "Torralbo, A; Davitte, J M; Croteau-Chonka, D C; Ytsma, C; Tomlinson, C; Fitzpatrick, N K; Chung, S C; Fatemifar, G; Cortes, A S; Richardson, T G; Barclay, M; Carrasco Zanini, J; Finan, C; Hemingway, H; Hingorani, A; Kuan, V; Langenberg, C; Lyratzopoulos, G; Lumbers, R T; Pietzner, M; Shah, A D; Thygesen, J H; Zelenka, N; Whittaker, J C; Ehm, M G; Denaxas, S",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      },
      {
        "name": "UK Biobank",
        "value": 32
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2026-06-08T20:21:40.211463Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": [
      {
        "name": "Peptic ulcer (disorder)",
        "value": 137178
      }
    ],
    "phenoflowid": null,
    "data_sources": [
      {
        "name": "UK Biobank",
        "value": 13,
        "uid": "6a9f93ad-2434-41d9-93bf-6e9d2eee04e5",
        "url": "https://healthdatagateway.org/en/dataset/700",
        "datasource_id": 700
      },
      {
        "name": "Patient Episode Dataset for Wales (PEDW)",
        "value": 40,
        "uid": "4c33a5d2-164c-41d7-9797-dc2b008cc852",
        "url": "https://healthdatagateway.org/en/dataset/318",
        "datasource_id": 318
      },
      {
        "name": "Scottish Cancer Registry (SMR06)",
        "value": 417,
        "uid": "ad36dc03-1856-44de-99b0-1af6f312d86b",
        "url": "https://healthdatagateway.org/en/dataset/79",
        "datasource_id": 79
      },
      {
        "name": "Cancer Registration Data",
        "value": 788,
        "uid": "6904a2ff-ab44-4dd6-b9ec-25d3cad29e43",
        "url": "https://healthdatagateway.org/en/dataset/880",
        "datasource_id": 880
      }
    ],
    "endorsements": null,
    "project_name": null,
    "coding_system": [
      {
        "name": "UKBioBank codes",
        "value": 12
      },
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v3",
        "value": 6
      },
      {
        "name": "OPCS4 codes",
        "value": 7
      }
    ],
    "corresp_author": "Ana Torralbo",
    "event_date_range": null,
    "concept_information": [
      {
        "concept_id": 11356,
        "concept_version_id": 18841,
        "concept_name": "Non-cancer illness code, self-reported",
        "coding_system": {
          "id": 12,
          "name": "UKBioBank codes",
          "description": "UKBioBank codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1142",
            "description": "gastric/stomach ulcers",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "1400",
            "description": "peptic ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "1457",
            "description": "duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11357,
        "concept_version_id": 18842,
        "concept_name": "Diagnoses - main ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "K25",
            "description": "Gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K26",
            "description": "Duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K27",
            "description": "Peptic ulcer, site unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K28",
            "description": "Gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11358,
        "concept_version_id": 18843,
        "concept_name": "Diagnoses - secondary ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "K25",
            "description": "Gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K26",
            "description": "Duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K27",
            "description": "Peptic ulcer, site unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K28",
            "description": "Gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11359,
        "concept_version_id": 18844,
        "concept_name": "Operative procedures - main OPCS4",
        "coding_system": {
          "id": 7,
          "name": "OPCS4 codes",
          "description": "OPCS4 codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "G35",
            "description": "Operations on ulcer of stomach",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.1",
            "description": "Closure of perforated ulcer of stomach",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.2",
            "description": "Closure of ulcer of stomach NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.8",
            "description": "Other specified operations on ulcer of stomach",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.9",
            "description": "Unspecified operations on ulcer of stomach",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52",
            "description": "Operations on ulcer of duodenum",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.1",
            "description": "Closure of perforated ulcer of duodenum",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.2",
            "description": "Suture of ulcer of duodenum NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.3",
            "description": "Oversew of blood vessel of duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.8",
            "description": "Other specified operations on ulcer of duodenum",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.9",
            "description": "Unspecified operations on ulcer of duodenum",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11360,
        "concept_version_id": 18845,
        "concept_name": "Operative procedures - secondary OPCS4",
        "coding_system": {
          "id": 7,
          "name": "OPCS4 codes",
          "description": "OPCS4 codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "G35",
            "description": "G35",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.1",
            "description": "G35.1",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.2",
            "description": "G35.2",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.8",
            "description": "G35.8",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G35.9",
            "description": "G35.9",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52",
            "description": "G52",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.1",
            "description": "G52.1",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.2",
            "description": "G52.2",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.3",
            "description": "G52.3",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.8",
            "description": "G52.8",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "G52.9",
            "description": "G52.9",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11361,
        "concept_version_id": 18846,
        "concept_name": "Underlying (primary) cause of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "K25",
            "description": "Gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K26",
            "description": "Duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K27",
            "description": "Peptic ulcer, site unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K28",
            "description": "Gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11362,
        "concept_version_id": 18847,
        "concept_name": "Contributory (secondary) causes of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "K25",
            "description": "Gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K26",
            "description": "Duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K27",
            "description": "Peptic ulcer, site unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K28",
            "description": "Gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 11363,
        "concept_version_id": 18848,
        "concept_name": "GP clinical event records",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH4384",
        "phenotype_version_id": 9602,
        "phenotype_name": "Peptic ulcer disease",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "14C1.00",
            "description": "H/O: peptic ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "14C1.11",
            "description": "H/O: duodenal ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "14C1.12",
            "description": "H/O: gastric ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "7612111.0",
            "description": "Balfour excision of gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7612500.0",
            "description": "Resection of gastric ulcer by cautery",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761D500",
            "description": "Endoscopic injection haemostasis of duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761D600",
            "description": "Endoscopic injection haemostasis of gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761J.00",
            "description": "Operations on gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761J000",
            "description": "Closure of perforated gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761J100",
            "description": "Closure of gastric ulcer NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761J.11",
            "description": "Stomach ulcer operations",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761J111",
            "description": "Suture of ulcer of stomach NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761Jy00",
            "description": "Other specified operation on gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "761Jz00",
            "description": "Operation on gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7627.00",
            "description": "Operations on duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7627000.0",
            "description": "Closure of perforated duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7627100.0",
            "description": "Suture of duodenal ulcer not elsewhere classified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7627200.0",
            "description": "Oversew of blood vessel of duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7627y00",
            "description": "Other specified operation on duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7627z00",
            "description": "Operation on duodenal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11..00",
            "description": "Gastric ulcer - (GU)",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110.00",
            "description": "Acute gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110000",
            "description": "Acute gastric ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110100",
            "description": "Acute gastric ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110111",
            "description": "Bleeding acute gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110200",
            "description": "Acute gastric ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110300",
            "description": "Acute gastric ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110400",
            "description": "Acute gastric ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110y00",
            "description": "Acute gastric ulcer unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J110z00",
            "description": "Acute gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111.00",
            "description": "Chronic gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111000",
            "description": "Chronic gastric ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11..11",
            "description": "Prepyloric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111100",
            "description": "Chronic gastric ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111111",
            "description": "Bleeding chronic gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11..12",
            "description": "Pyloric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111200",
            "description": "Chronic gastric ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111211",
            "description": "Perforated chronic gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111300",
            "description": "Chronic gastric ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111400",
            "description": "Chronic gastric ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111y00",
            "description": "Chronic gastric ulcer unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J111z00",
            "description": "Chronic gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J112.00",
            "description": "Anti-platelet induced gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J112z00",
            "description": "Anti-platelet induced gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J113.00",
            "description": "Non steroidal anti inflammatory drug induced gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J113z00",
            "description": "Non steroidal anti inflammatory drug induced gastric ulc NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11y.00",
            "description": "Unspecified gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11y000",
            "description": "Unspecified gastric ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11y100",
            "description": "Unspecified gastric ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11y200",
            "description": "Unspecified gastric ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11y400",
            "description": "Unspecified gastric ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11yy00",
            "description": "Unspec gastric ulcer; unspec haemorrhage and/or perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11yz00",
            "description": "Unspecified gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11z.00",
            "description": "Gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11z.11",
            "description": "Gastric erosions",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J11z.12",
            "description": "Multiple gastric ulcers",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12..00",
            "description": "Duodenal ulcer - (DU)",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120.00",
            "description": "Acute duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120000",
            "description": "Acute duodenal ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120100",
            "description": "Acute duodenal ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120200",
            "description": "Acute duodenal ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120300",
            "description": "Acute duodenal ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120400",
            "description": "Acute duodenal ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120y00",
            "description": "Acute duodenal ulcer unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J120z00",
            "description": "Acute duodenal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121.00",
            "description": "Chronic duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121000",
            "description": "Chronic duodenal ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121100",
            "description": "Chronic duodenal ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121111",
            "description": "Bleeding chronic duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121200",
            "description": "Chronic duodenal ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121211",
            "description": "Perforated chronic duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121300",
            "description": "Chronic duodenal ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121400",
            "description": "Chronic duodenal ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121y00",
            "description": "Chronic duodenal ulcer unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J121z00",
            "description": "Chronic duodenal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J122.00",
            "description": "Duodenal ulcer disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J123.00",
            "description": "Duodenal erosion",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J124.00",
            "description": "Recurrent duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J125.00",
            "description": "Anti-platelet induced duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J126.00",
            "description": "Non steroidal anti inflammatory drug induced duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12y.00",
            "description": "Unspecified duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12y000",
            "description": "Unspecified duodenal ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12y100",
            "description": "Unspecified duodenal ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12y200",
            "description": "Unspecified duodenal ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12y300",
            "description": "Unspecified duodenal ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12y400",
            "description": "Unspecified duodenal ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12yy00",
            "description": "Unspec duodenal ulcer; unspec haemorrhage and/or perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12yz00",
            "description": "Unspecified duodenal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J12z.00",
            "description": "Duodenal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13..00",
            "description": "Peptic ulcer - (PU) site unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130.00",
            "description": "Acute peptic ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130000",
            "description": "Acute peptic ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130100",
            "description": "Acute peptic ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130200",
            "description": "Acute peptic ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130300",
            "description": "Acute peptic ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130y00",
            "description": "Acute peptic ulcer unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J130z00",
            "description": "Acute peptic ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131.00",
            "description": "Chronic peptic ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131000",
            "description": "Chronic peptic ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13..11",
            "description": "Stress ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131100",
            "description": "Chronic peptic ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131200",
            "description": "Chronic peptic ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131400",
            "description": "Chronic peptic ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131y00",
            "description": "Chronic peptic ulcer unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J131z00",
            "description": "Chronic peptic ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13y.00",
            "description": "Unspecified peptic ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13y000",
            "description": "Unspecified peptic ulcer without mention of complication",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13y100",
            "description": "Unspecified peptic ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13y200",
            "description": "Unspecified peptic ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13y300",
            "description": "Unspecified peptic ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13y400",
            "description": "Unspecified peptic ulcer with obstruction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13yz00",
            "description": "Unspecified peptic ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J13z.00",
            "description": "Peptic ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14..00",
            "description": "Gastrojejunal ulcer (GJU)",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J140.00",
            "description": "Acute gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J140100",
            "description": "Acute gastrojejunal ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J140200",
            "description": "Acute gastrojejunal ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J140300",
            "description": "Acute gastrojejunal ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J140z00",
            "description": "Acute gastrojejunal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J141.00",
            "description": "Chronic gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14..11",
            "description": "Anastomotic ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14..12",
            "description": "Gastrocolic ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14..13",
            "description": "Jejunal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J141300",
            "description": "Chronic gastrojejunal ulcer with haemorrhage and perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14y.00",
            "description": "Unspecified gastrojejunal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14y100",
            "description": "Unspecified gastrojejunal ulcer with haemorrhage",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14y200",
            "description": "Unspecified gastrojejunal ulcer with perforation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14yz00",
            "description": "Unspecified gastrojejunal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J14z.00",
            "description": "Gastrojejunal ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J17y800",
            "description": "Healed gastric ulcer leaving a scar",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "X302b",
            "description": "Duodenal ulcer disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "X302G",
            "description": "Duodenal erosion",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaCLu",
            "description": "[V] Personal history of gastric ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "XaFBq",
            "description": "Endoscopic injection haemostasis of duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaFBs",
            "description": "Endoscopic injection haemostasis of gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaLdV",
            "description": "Oversew of blood vessel of duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaLWq",
            "description": "Anti-platelet induced gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaLWr",
            "description": "Anti-platelet induced gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaLWs",
            "description": "Anti-platelet induced duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaMO5",
            "description": "Non steroidal anti inflammatory drug induced gastric ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaMO6",
            "description": "Non steroidal anti inflammatory drug induced gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaMO7",
            "description": "Non steroidal anti inflammatory drug induced duodenal ulcer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0aQ",
            "description": "Gastric ulcer NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0aR",
            "description": "Peptic ulcer - (PU) site unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0Cf",
            "description": "Open excision of lesion of stomach NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0Cr",
            "description": "Closure of gastric ulcer NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0qB",
            "description": "H/O: peptic ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "XE24Y",
            "description": "[V]Personal history of digestive system disease",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "ZV12711",
            "description": "[V]Personal history of peptic ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "ZV12712",
            "description": "[V]Personal history of duodenal ulcer",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "ZV12C00",
            "description": "[V] Personal history of gastric ulcer",
            "attributes": {
              "type": "prevalent"
            }
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/93yy-ax79",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 2,
      "name": "BHF Data Science Centre Phenotype",
      "description": "BHF Data Science Centre Phenotype definitions that describe a list of clinical codes, algorithms using clinical codes, or set of clinical trials. Visit the BHF Data Science Centre website to learn more: https://bhfdatasciencecentre.org",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 9602,
        "version_name": "Peptic ulcer disease",
        "version_date": "2026-06-08T20:21:40.234830Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]