Peptic Ulcer Disease
Manifest is full and current (ACG 2024 HP + Maastricht VI/Florence 2022 + ACG 2021 UGIB + AGA 2024 PPI + COMPASS + COGENT + SUP-ICU) with 10 phenotypes (HP-gastric, HP-duodenal, NSAID, stress-ulcer, ZES, bleeding-Forrest, perforated, refractory, on-anticoag, marginal post-bariatric) and full medication/dosing tables for HP eradication regimens. Problem-package at peptic-ulcer-disease/ has all atoms; no `_design-brief.md`. Workup `dyspepsia` (Rome IV + ACG 2017) is the entry point. GBS, AIMS-65, HAS-BLED calculators wired. Gaps for INTEGRATED: no design brief md file; evidence.pmids array empty (manifest cites guideline labels but no numeric PMIDs); no engine-specific test_files; vonoprazan RxCUI in manifest is flagged as `2604577 (TBD — verify RxNorm CUI)`. No regimen_axes — PPIs (omeprazole, esomeprazole, pantoprazole, lansoprazole, rabeprazole), vonoprazan P-CAB, HP antibiotics (amoxicillin, clarithromycin, metronidazole, tetracycline, bismuth, rifabutin, levofloxacin), sucralfate, misoprostol all in manifest.medications without RxCUI verification through regimen-builder.
Entry points (5)
- symptomEpigastric pain — relieved or worsened by meals (ACG 2024)epigastric_pain
- symptomChronic dyspepsia ± alarm features (ACG 2024)dyspepsia
- symptomHematemesis / melena → bleeding PUD (ACG 2024)hematemesis_melena
- symptomAcute abdomen + pneumoperitoneum → perforation (ACG 2024)acute_abdomen_perforation
- lab_abnormalityIron deficiency anemia / occult blood (ACG 2024)iron_deficiency_anemia
Required inputs (16)
- agerequireddemographic • used at CONTEXTAlarm features age >55; ZES/MEN1 screen; surgical risk (ACG 2024)
- sbprequiredvital • used at CONTEXTHypotension in bleeding/perforation (ACG 2024)
- hrrequiredvital • used at CONTEXTTachycardia / shock index for bleeding PUD (ACG 2024)
- hemoglobinrequiredlab • used at INITIAL_WORKUPBleeding severity; transfusion threshold (ACG 2024)
- plateletsrequiredlab • used at INITIAL_WORKUPCoagulopathy management (ACG 2024)
- creatininerequiredlab • used at INITIAL_WORKUPRenal dosing antibiotics; CKD-EPI (ACG 2024)
- h_pylori_testrequiredlab • used at INITIAL_WORKUPEradication mandatory for HP-positive PUD; UBT or stool antigen with washout (ACG 2024)
- fasting_gastrinlab • used at BRANCHING_WORKUPZES screen if refractory or atypical (off PPI 7d, on H2RA temporarily) (ACG 2024)
- egd_with_biopsyrequiredimaging • used at INITIAL_WORKUPDiagnosis + biopsy + Forrest classification + HP testing (ACG 2024)
- ct_abdomen_perforationimaging • used at BRANCHING_WORKUPFree air on upright CXR / CT for perforation (ACG 2024)
- nsaid_aspirin_userequiredhistory • used at CONTEXTNSAID PUD pathway; COX-2 + PPI co-therapy (ACG 2024)
- anticoag_antiplateletrequiredhistory • used at CONTEXTHold/reverse decisions; PPI co-prescription mandatory (COMPASS, COGENT) (ACG 2024)
- prior_hp_treatmentrequiredhistory • used at CONTEXTSalvage regimen selection (rifabutin / levofloxacin if susceptibility known) (ACG 2024)
- smoking_alcoholrequiredhistory • used at CONTEXTRisk factor; cessation reduces recurrence (ACG 2024)
- prior_bariatric_surgeryhistory • used at CONTEXTMarginal ulcer pathway post-RYGB (ACG 2024)
- icu_admissionhistory • used at CONTEXTStress ulcer prophylaxis pathway (mech vent >48h, coagulopathy, TBI, burns) (ACG 2024)
12-phase flow (12)
- 1FRAMEConfirm PUD scope — acute (bleeding/perforation), chronic dyspepsia evaluation, or stress prophylaxis (ACG 2024)inputs: ageadvance: PUD pattern recognized
- 2ENTRYRecognize epigastric pain, dyspepsia ± alarm features, hematemesis/melena, perforation, IDA (ACG 2024)advance: one entry trigger present
- 3CONTEXTVitals, NSAID/aspirin/anticoag/antiplatelet review, prior HP testing/Rx, smoking/alcohol, prior bariatric, ICU/critical illness for SUP (ACG 2024)inputs: sbp, hr, nsaid_aspirin_use, anticoag_antiplatelet, prior_hp_treatment, smoking_alcohol, prior_bariatric_surgery, icu_admissionadvance: context captured
- 4RED_FLAGSHematemesis/coffee-ground, melena/hematochezia, syncope/hemodynamic instability, acute abdomen/peritonitis, unintentional weight loss, dysphagia, age >55 with new dyspepsia, persistent vomiting, IDA (ACG 2024)inputs: sbp, hr, hemoglobinadvance: red flag escalated to bleeding/perforation/UGIB pathway or excluded
- 5INITIAL_WORKUPCBC, BMP, EGD with biopsy + RUT + histology, HP testing (UBT or stool antigen with PPI washout 2 wks), iron studies if anemia (ACG 2024)inputs: hemoglobin, platelets, creatinine, h_pylori_test, egd_with_biopsyactions: panel.cbc, panel.renal, dyspepsiaadvance: EGD + HP testing complete
- 6BRANCHING_WORKUPForrest classification for bleeding; CT for perforation; fasting gastrin if refractory/atypical → ZES; secretin test; MRCP if biliary mimic (ACG 2024)inputs: ct_abdomen_perforation, fasting_gastrinadvance: phenotype identified (HP-gastric, HP-duodenal, NSAID, stress-ulcer, ZES, bleeding, perforated, refractory, on-anticoag, marginal)
- 7DIFFERENTIALDistinguish PUD from functional dyspepsia, GERD/esophagitis, gastric cancer, MALT lymphoma, gastritis, pancreatitis, biliary, Crohn upper GI, ZES, ACS inferior MI (ACG 2024)advance: diagnosis confirmed (location + etiology + complication)
- 8RISK_STRATIFICATIONGlasgow-Blatchford for bleeding triage (≤1 → outpatient eligible); HAS-BLED on anticoagulation; Forrest classification post-EGD (ACG 2024)inputs: hemoglobin, sbpactions: calc.glasgow_blatchford, calc.has_bled, calc.aims65advance: severity score documented
- 9TREATMENTPPI healing course; HP eradication (bismuth quad 14d, concomitant quad 14d, vonoprazan dual 14d, rifabutin/levofloxacin salvage); endoscopic hemostasis Forrest Ia/Ib/IIa + post-EGD IV PPI 72h; surgical Graham patch for perforation; SUP in ICU; PPI co-prescription on DAPT/OAC (ACG 2024)inputs: creatinineadvance: eradication regimen + PPI + lifestyle plan in motion
- 10DISPOSITIONOR for perforation; ICU/floor for bleeding; outpatient for uncomplicated (ACG 2024)inputs: sbpadvance: destination set
- 11MONITORINGHP eradication test ≥4w post-Rx; repeat EGD 8-12w for gastric ulcer (mandatory; biopsy malignancy), serial CBC for bleeding, gastrin q6-12mo if ZES, PPI long-term safety reassessment annually (ACG 2024)inputs: hemoglobinadvance: eradication confirmed and healing documented
- 12FOLLOWUP4w symptom check + HP eradication test, 8-12w repeat EGD for gastric ulcer, 2w post-bleed clinic, post-op for perforation, ZES long-term surveillance, PPI step-down assessment (ACG 2024)advance: follow-up scheduled