Acute Pancreatitis
Manifest is full and current (ACG 2024 + IAP/APA 2025 + Revised Atlanta 2012 + WATERFALL + PONCHO + ESCAPE + AGA 2018) with 10 phenotypes, calculator wiring (BISAP, APACHE-II, SOFA, qSOFA, corrected calcium, CKD-EPI, BMI) and full medications/dosing. Problem-package at src/lib/tier3/problem-package/packages/acute-pancreatitis/ has all atoms + phenotypes + regimen + interlinks; no `_design-brief.md`. Gaps for PRODUCTION: evidence.pmids array empty (manifest cites guideline labels but no numeric PMIDs); no engine-specific test_files; no design brief md file; ICD-10 list in manifest is sparse (K86.x — pancreatitis-specific K85.x codes belong but are not authored). No regimen_axes — manifest.medications has full LR fluid, analgesics, meropenem/imipenem/pip-tazo for infected necrosis, insulin for HTG, indomethacin for PEP prophylaxis, fenofibrate, thiamine without RxCUI verification through regimen-builder.
Entry points (3)
- symptomEpigastric pain radiating to back — Revised Atlanta 2012 diagnostic criterion 1 of 3epigastric_pain_radiating_to_back
- lab_abnormalityLipase >3× upper limit of normal — Revised Atlanta 2012 + ACG 2024 Tenner diagnostic criterionlipase_3x_uln
- imagingCT/MRI showing pancreatic inflammation/necrosis — Revised Atlanta 2012 diagnostic criterion 3 of 3pancreas_inflammation_ct
Required inputs (18)
- agerequireddemographic • used at CONTEXTBISAP age >60 component — Wu 2008; severity prediction — ACG 2024 Tenner
- sbprequiredvital • used at CONTEXTSBP <90 with fluids defines persistent organ failure — Revised Atlanta 2012; ACG 2024 Tenner
- hrrequiredvital • used at CONTEXTSIRS criterion — Revised Atlanta 2012; hemoconcentration / shock screen — ACG 2024 Tenner
- rrrequiredvital • used at CONTEXTBISAP component — Wu 2008; respiratory failure PaO2/FiO2 <300 → severe — Revised Atlanta 2012
- temperaturerequiredvital • used at CONTEXTSIRS criterion — Revised Atlanta 2012; infected necrosis screen — ACG 2024 Tenner
- lipaserequiredlab • used at INITIAL_WORKUP≥3× ULN diagnostic per Revised Atlanta + ACG 2024
- bunrequiredlab • used at INITIAL_WORKUPBISAP component — Wu 2008; hemoconcentration / poor prognosis marker — ACG 2024 Tenner
- creatininerequiredlab • used at INITIAL_WORKUPRenal organ failure Cr >1.9 → severe — Revised Atlanta 2012; fluid balance — ACG 2024 Tenner
- calciumrequiredlab • used at INITIAL_WORKUPHypocalcemia severity marker — ACG 2024 Tenner; corrected for albumin
- hematocritrequiredlab • used at INITIAL_WORKUPHemoconcentration marker — ACG 2024 Tenner; WATERFALL fluid management — de-Madaria NEJM 2022
- triglyceridesrequiredlab • used at INITIAL_WORKUPTG >1000 → HTG-induced AP — ACG 2024 Tenner
- altrequiredlab • used at INITIAL_WORKUPALT >150 → biliary etiology LR+ 13.3 — ACG 2024 Tenner
- crplab • used at MONITORINGCRP >150 at 48h → severe course — ACG 2024 Tenner; AGA 2018
- ruq_usrequiredimaging • used at INITIAL_WORKUPGallstones / sludge → biliary etiology — ACG 2024 Tenner
- cect_pancreasimaging • used at BRANCHING_WORKUPCECT 72-96h for necrosis / local complications — ACG 2024 Tenner; AGA 2018
- alcohol_userequiredhistory • used at CONTEXTAlcoholic AP — second most common etiology — ACG 2024 Tenner
- recent_ercphistory • used at CONTEXTPost-ERCP pancreatitis pathway — ACG 2024 Tenner; ESGE 2020
- recurrent_episodeshistory • used at CONTEXTRecurrent AP triggers etiology workup — ACG 2024 Tenner
12-phase flow (12)
- 1FRAMEConfirm acute pancreatitis (2 of 3: pain + lipase ≥3× ULN + imaging) per Revised Atlantainputs: lipaseadvance: AP confirmed
- 2ENTRYRecognize epigastric pain radiating to back, vomiting, or lipase elevation — Revised Atlanta 2012 presentation criteriaadvance: one entry trigger present
- 3CONTEXTVitals, alcohol/medication history, biliary disease history, prior episodes, ERCP — ACG 2024 Tenner etiology workupinputs: sbp, hr, rr, temperature, alcohol_use, recent_ercp, recurrent_episodesadvance: context captured
- 4RED_FLAGSOrgan failure cv/resp/renal — Revised Atlanta 2012; abdominal compartment syndrome — ACG 2024 Tenner; infected necrosis sepsis — van Santvoort NEJM 2010 STEP-UP; severe hypocalcemia; GI hemorrhageinputs: sbp, creatinineactions: calc.qsofaadvance: organ failure identified or excluded
- 5INITIAL_WORKUPLipase, CBC, CMP, LFTs, TG, calcium, lactate, RUQ ultrasound, CXR/ABG if respiratory distress — ACG 2024 Tenner initial workup batteryinputs: lipase, bun, creatinine, calcium, hematocrit, triglycerides, alt, ruq_usactions: panel.pancreas, panel.lft, panel.renal, panel.cbcadvance: baseline labs + RUQ US returned
- 6BRANCHING_WORKUPCECT at 72-96h if no improvement — ACG 2024 Tenner; AGA 2018; MRCP for occult CBD stones — ESGE 2020; EUS for recurrent AP etiology; IgG4 if autoimmune suspected — ACG 2024 Tennerinputs: cect_pancreasactions: pancreatitis_severityadvance: phenotype identified (mild / mod-severe / severe / biliary / alcoholic / HTG / drug / post-ERCP / necrotizing / recurrent)
- 7DIFFERENTIALDistinguish from cholecystitis, choledocholithiasis/cholangitis, perforated PUD, mesenteric ischemia, inferior MI, AAA, DKA — ACG 2024 Tenner differential diagnosisadvance: differential narrowed
- 8RISK_STRATIFICATIONRevised Atlanta 2012 severity (mild / moderately severe / severe); BISAP — Wu 2008; APACHE-II; modified Marshall organ failure score — Revised Atlanta 2012; Glasgow-Imrie at 48hinputs: bun, creatinineactions: calc.bisap, calc.glasgow_imrie, calc.apache2, calc.sofaadvance: severity assigned
- 9TREATMENTGoal-directed moderate fluids LR 1.5 mL/kg/h — de-Madaria NEJM 2022 WATERFALL; early oral feeding — ACG 2024 Tenner; multimodal analgesia — ACG 2024 Tenner; ERCP within 24h if cholangitis — ESGE 2020; same-admission cholecystectomy — PONCHO da Costa Lancet 2015inputs: creatinineadvance: fluids + analgesia + etiology-specific plan in motion
- 10DISPOSITIONICU for severe / necrotizing / hypotension — Revised Atlanta 2012; step-down for moderately severe; floor for mild — ACG 2024 Tennerinputs: sbpadvance: destination set
- 11MONITORINGVitals q4-8h first 48h — ACG 2024 Tenner; BUN/Cr/Hct at 24h+48h — ACG 2024 Tenner; CRP at 48h — AGA 2018; hourly UOP if severe — de-Madaria NEJM 2022 WATERFALL; SOFA daily for severe — Revised Atlanta 2012inputs: bun, creatinine, hematocrit, crpadvance: response documented or escalated
- 12FOLLOWUPGI follow-up 2-4 weeks — ACG 2024 Tenner; cholecystectomy timing for biliary — PONCHO da Costa Lancet 2015; alcohol/TG control — ACG 2024 Tenner; EPI screen post-necrotizing; recurrence workup if ≥2 episodes — ACG 2024 Tenneradvance: follow-up scheduled