Gastrointestinal · Clinical algorithm

Abdominal Pain: Upper

Back to contents

Use the zoom controls to enlarge the algorithm, or open the full-screen view.

The Algorithm…

  1. Resuscitation / Critical Diagnoses

    • Unstable → ABCs / resuscitation + bedside assessment.
    • Surgical abdomen → urgent surgical evaluation; imaging when stable.
    • See Abdominal Pain — General.
  2. Biliary Causes

    • RUQ / biliary pain → RUQ US.
    • Persistent pain / inflammation → assess cholecystitis.
    • Cholestasis → assess CBD obstruction.
    • Suspected cholangitis → IV antibiotics + urgent GI / drainage.
  3. Gastric / Pancreatic Causes

    • Epigastric pain radiating to the back → lipase / assess pancreatitis.
    • Suspected PUD → assess bleeding / perforation / obstruction.
    • Dangerous alternatives excluded + compatible symptoms → dyspepsia / GERD.
  4. Other Causes / Mimics

    • Assess cardiopulmonary, hepatic, splenic, and lower-abdominal causes.
    • Findings do not fit → reopen the differential.

01Resuscitation / Critical Diagnoses

  • Initial Approach: See Abdominal Pain — General.
  • Unstable: Resuscitation + diagnostic assessment in parallel.
    • ABCs / IV access / monitor; O₂, fluids, or blood as indicated.
  • Critical Diagnoses: Perforation, mesenteric ischemia, hemorrhage / AAA, bowel obstruction, ectopic pregnancy when applicable.
  • Peritoneal Signs / Surgical Abdomen
    • Stable → directed US / CT + surgical evaluation.
    • Unstable → urgent surgical evaluation; imaging must not delay definitive care.
  • Reassess: Pain location / pattern, examination, labs, and imaging.

02Biliary Causes

Localize The Process

  • Gallstones Alone: May be incidental.
  • Transient Cystic-Duct Obstruction: Biliary colic.
  • Persistent Cystic-Duct Obstruction + Inflammation: Calculous cholecystitis.
  • CBD Stone: Choledocholithiasis ± cholangitis.
  • Ampullary Obstruction / Stone Passage: Gallstone pancreatitis. EASL — Gallstones www.journal-of-hepatology.eu
  • Initial Assessment: Episodic vs persistent pain, fever / jaundice, Murphy sign, bilirubin / alkaline phosphatase / lipase.
    • RUQ US usually first; further testing follows the suspected disease.

Cholelithiasis

  • Common; usually asymptomatic. Merck
  • Stones alone do not explain the pain. The clinical pattern must fit.

Biliary Colic

Transient cystic-duct obstruction. Merck

What Moves The Needle?

  • Pain: Episodic RUQ / epigastric pain; steady during attacks and resolves over hours.
    • May follow meals; fatty-food association is nonspecific.
  • Associated Findings: Usually well appearing / afebrile; ± nausea / mild RUQ tenderness.
  • Labs: Usually normal.
    • Inflammatory, liver, or pancreatic abnormalities → assess complications.

Diagnosis

  • RUQ US: Typical biliary pain + stones without cholecystitis / CBD obstruction supports biliary colic. ACR

Treatment / Disposition

  • Analgesia.
  • Symptoms controlled / tolerating PO → outpatient surgical referral. SAGES

Cholecystitis

Calculous Disease: Persistent cystic-duct obstruction → gallbladder inflammation.

What Moves The Needle?

  • Pain: Persistent RUQ / epigastric pain, typically >6 hours.
  • Exam: RUQ tenderness / Murphy sign; supportive, not diagnostic alone.
  • Associated Findings: N/V ± fever / leukocytosis.
  • LFTs: May be normal / mildly elevated.
    • Marked bilirubin / alkaline phosphatase elevation → assess CBD obstruction.

Diagnosis

  • RUQ US: Gallstones, wall thickening, pericholecystic fluid, sonographic Murphy sign. ACR
  • Equivocal US + Persistent Suspicion: Consider HIDA.
  • Acalculous Disease: Critically ill + unexplained sepsis / RUQ findings → consider cholecystitis without stones.

Treatment / Disposition

  • Supportive care + antibiotics.
  • Surgery consultation → early laparoscopic cholecystectomy during the index admission. WSES 2020

Choledocholithiasis

CBD stone → partial / complete obstruction. Merck

What Moves The Needle?

  • Biliary RUQ / epigastric pain.
  • ↑Bilirubin / alkaline phosphatase ± jaundice. Merck
  • Fever / Systemic Illness: Assess cholangitis.

Diagnosis / Treatment

  • RUQ US: CBD dilation / visible stone.
    • Obstruction may be apparent without visualizing the stone.
  • Uncertain Retained Stone: MRCP / EUS. ASGE
  • High Probability / Strong Evidence: GI consultation → therapeutic ERCP / duct clearance. ASGE

Gallstone Pancreatitis

Stone migration through the ampulla → pancreatitis.

  • Evaluation: See Acute Pancreatitis; RUQ US for biliary etiology.
  • Retained CBD Stone Uncertain: MRCP / EUS.
  • Cholangitis / Persistent Biliary Obstruction: GI consultation → ERCP.
    • No routine urgent ERCP for gallstone pancreatitis without these findings. ASGE
  • Mild Gallstone Pancreatitis: Surgery consultation for cholecystectomy during the same admission. ACG 2024 pmc.ncbi.nlm.nih.gov

Ascending Cholangitis

Biliary obstruction + infection → possible sepsis / shock.

What Moves The Needle?

  • Charcot Triad: RUQ pain + fever + jaundice.
  • Reynolds Pentad: Triad + hypotension + AMS → severe / septic cholangitis.
  • Diagnostic Pattern: Systemic inflammation + cholestasis + evidence of biliary obstruction. Tokyo Guidelines

Diagnosis

  • RUQ US: Duct dilation / obstructing stone.
  • MRCP / EUS when further definition is needed.

Treatment / Disposition

  • Resuscitation + broad-spectrum IV antibiotics.
  • Urgent GI → biliary drainage.
    • ERCP preferred; percutaneous drainage when ERCP cannot be performed. ASGE

03Gastric / Pancreatic Causes

Acute Pancreatitis

What Moves The Needle?

  • Pain: Constant epigastric pain, often radiating to the back.
  • N/V; epigastric tenderness ± guarding.
  • Etiology: Gallstones / alcohol; neither apparent → check triglycerides. ACG 2024

Board Pearls

  • Cullen Sign: Periumbilical ecchymosis.
  • Grey Turner Sign: Flank ecchymosis.
  • Rare, insensitive signs of severe intra-abdominal / retroperitoneal hemorrhagic disease. Review

Diagnosis

  • Requires 2 Of 3 Revised Atlanta Classification
    • Characteristic pain.
    • Lipase / amylase ≥3× ULN.
    • Characteristic imaging.
  • Lipase: Preferred enzyme; degree of elevation does not grade severity.
  • CT: Uncertain diagnosis or failure to improve within 48–72 hours.
    • No routine CT for a straightforward presentation. ACG 2024
  • RUQ US: Assess biliary etiology.

Severity — Revised Atlanta

  • Mild: No organ failure or local / systemic complications; usually resolves within 1 week.
  • Moderately Severe: Transient organ failure <48 hours and/or local / systemic complications without persistent organ failure.
  • Severe: Persistent organ failure >48 hours; single or multiple organs.
  • Local Complications: Fluid collections, pancreatic / peripancreatic necrosis, pseudocyst, walled-off necrosis. Revised Atlanta Classification
  • Organ Failure / Persistent SIRS: Monitored setting or ICU, as appropriate. ACG 2024

Hypertriglyceridemia

  • Established Pancreatitis + TG >1,000 mg/dL: Supports a hypertriglyceridemic cause. ACG 2024
  • Supportive pancreatitis care + correction of the metabolic cause.
  • Uncontrolled Diabetes: Insulin to treat hyperglycemia; IV infusion when indicated.
    • Also lowers TG.
  • Without Diabetes: No routine insulin infusion solely to lower TG. Endocrine Society
  • Plasmapheresis: Not routine first-line therapy; selected extraordinary / refractory cases. Endocrine Society
  • After Recovery: Address secondary causes / long-term TG reduction; consider a fibrate.

Treatment / Disposition

  • Analgesia.
  • Fluids: Moderate, reassessment-driven IV hydration; LR preferred.
    • Reassess frequently; avoid indiscriminate large volumes. ACG 2024
  • Mild Disease: Early oral feeding as tolerated; avoid prolonged routine NPO. ACG 2024
  • Antibiotics: No prophylaxis for sterile pancreatic necrosis. ACG 2024
  • Necrosis: Does not itself mandate early surgery.
    • Intervention needed + stable → delayed, minimally invasive / step-up approach. ACG 2024
  • Fluid Collections: Intervention depends on symptoms / infection / obstruction / bleeding / other complications.
    • Size alone is not an indication. ASGE
  • Gallstone Pancreatitis: See Biliary Causes.

Journal Club — WATERFALL

  • Aggressive hydration increased fluid overload without improving clinical outcomes. WATERFALL

PUD / Dyspepsia / GERD

Overlapping epigastric discomfort / burning / reflux. Assess dangerous alternatives before assigning these diagnoses.

Peptic Ulcer Disease

What Moves The Needle?
  • Pain: Burning / gnawing epigastric pain.
  • Risk Factors: H. pylori / prior PUD; NSAIDs / aspirin. Merck
  • Meal response alone does not diagnose PUD.
  • Complications
    • Hematemesis / melena / anemia / hemodynamic change → bleeding.
    • Sudden severe pain / peritoneal signs → perforation.
    • Persistent vomiting / early satiety / PO intolerance → outlet obstruction.
Diagnosis
  • ED: Suspected PUD from symptoms / risk factors after assessing dangerous alternatives.
  • EGD: Confirms diagnosis.
  • Current / prior PUD → arrange H. pylori testing and treatment as indicated.
Treatment / Disposition
  • Uncomplicated PUD
    • Omeprazole 20 mg PO daily or pantoprazole 40 mg PO daily.
    • Stop nonessential NSAIDs.
    • H. pylori testing / outpatient follow-up.
    • Persistent / concerning symptoms → GI / EGD.
  • Complicated PUD
    • Bleeding → Upper GI Bleeding.
    • Perforation → Intestinal Perforation.
    • Outlet obstruction → admission / GI ± surgery.

Dyspepsia

  • Pattern: Epigastric pain / burning, postprandial fullness / early satiety ± nausea.
  • <60 Years: Consider outpatient H. pylori test-and-treat.
    • Negative / persistent symptoms → PPI trial.
  • New Dyspepsia ≥60 Years: GI / upper endoscopy. ACG/CAG

GERD

  • Pattern: Heartburn / regurgitation / water brash; often postprandial or worse lying down.
  • Chest Pain: Exclude cardiac disease before attributing it to GERD.
  • Classic GERD Without Alarm Features: PPI once daily before a meal ×8 weeks. ACG
  • Mild / Intermittent: Antacid / H2 blocker.
  • Persistent GERD / Suspected Ulcer: PPI preferred.
  • GI / EGD: Bleeding / anemia, dysphagia, weight loss, persistent vomiting, or symptoms despite treatment.

In The Pit…

  • Uncomplicated PUD / Dyspepsia / GERD: Acid suppression + stop nonessential NSAIDs; H. pylori / GI follow-up as appropriate.
  • Bleeding: Upper GI Bleeding.
  • Perforation: Intestinal Perforation.
  • Obstruction: Admission / GI ± surgery.

04Other Causes / Mimics

Assess above and below the area of tenderness.

Cardiopulmonary

  • ACS: Epigastric / upper abdominal discomfort may be an anginal equivalent. AHA/ACC
  • Lower-Lobe Pneumonia: Fever / cough / dyspnea / hypoxia ± upper abdominal pain. Merck
  • PE: Pleuritic upper abdominal / lower chest pain; dyspnea / hypoxia / VTE risk.

Hepatic / Splenic

  • Acute Hepatitis: RUQ pain + ↑AST/ALT ± jaundice. Merck
  • Liver Abscess: RUQ pain + fever / sepsis.
  • Splenic Infarct / Injury / Rupture: LUQ ± left shoulder pain; trauma / embolic risk. Merck

Lower-Abdominal Causes

Clinical picture does not fit? Reassess the differential before labeling “gastritis.”

Cases

Pop Quiz Hotshot

Must-Read References

View Full References

Additional Cited Guidance

Privacy & analytics choices