Medical AtlasPROJECT IMG
✎ Sketch Notes🏛️ 3D LibraryMy Desk

Upper GI bleeding, esophageal rupture and gallstone disease

This article covers the surgical conditions of the upper GI tract and biliary system that appear most often on exams: upper GI bleeding with its resuscitation and endoscopy timing, bleeding posterior duodenal ulcers, spontaneous esophageal rupture (Boerhaave), dumping syndrome after gastric surgery, acute cholangitis, and the management of gallstones found incidentally.

Overview

Upper GI bleeding (UGIB) arises proximal to the ligament of Treitz. Most common cause: peptic ulcer disease (H. pylori, NSAIDs); others: varices, Mallory-Weiss tear, erosive esophagitis, Dieulafoy lesion, malignancy. Gallstones are very common; most never cause symptoms.

Pathophysiology

  • Posterior duodenal ulcer: erodes into the gastroduodenal artery → brisk hemorrhage. Anterior duodenal ulcers tend to perforate (free air). Lesser-curvature gastric ulcers bleed from the left gastric artery.
  • Boerhaave syndrome: forceful vomiting against a closed glottis raises intraesophageal pressure → transmural tear, usually left posterolateral distal esophagus. Mallory-Weiss is a mucosal tear only.
  • Early dumping syndrome (15–30 minutes after eating): after gastrectomy, vagotomy/pyloroplasty or gastric bypass, hyperosmolar food enters the small bowel rapidly → fluid shifts into the lumen and release of vasoactive hormones (serotonin, VIP). Late dumping (1–3 hours): insulin surge → reactive hypoglycemia.
  • Acute cholangitis: obstruction of the common bile duct (stone most often; also stricture, tumor, stent) plus bacterial infection (E. coli, Klebsiella, Enterococcus) ascending from the duodenum.

Clinical presentation

  • UGIB: hematemesis, coffee-ground emesis, melena; brisk bleeding can cause hematochezia with shock; BUN rises out of proportion to creatinine.
  • Boerhaave: vomiting (often alcohol binge) then severe retrosternal chest pain, fever, subcutaneous emphysema, Hamman crunch, rapidly progressing to sepsis.
  • Early dumping: cramping, diarrhea, nausea, bloating, sweating, flushing, palpitations, lightheadedness soon after meals.
  • Cholangitis: Charcot triad: fever, jaundice, RUQ pain; Reynolds pentad adds hypotension and confusion.

Diagnosis

  • UGIB: CBC, BMP, coags, type and crossmatch; Glasgow-Blatchford score for risk; upper endoscopy is diagnostic and therapeutic.
  • Boerhaave: chest x-ray (pneumomediastinum, left pleural effusion); CT chest with oral contrast or water-soluble contrast esophagram confirms. Avoid barium first.
  • Cholangitis: high WBC, high bilirubin and alkaline phosphatase, blood cultures; ultrasound shows dilated common bile duct (MRCP if unclear).
  • Cholelithiasis: right upper quadrant ultrasound.

Differential diagnosis

Boerhaave vs MI, aortic dissection, pneumothorax, pancreatitis. Cholangitis vs acute cholecystitis (no jaundice usually, Murphy sign), choledocholithiasis without infection, liver abscess, hepatitis.

Treatment

Upper GI bleeding: two large-bore IVs, crystalloid, airway protection if massive hematemesis or altered mental status. Restrictive transfusion: transfuse RBCs at hemoglobin <7 g/dL (target 7–9); use a higher threshold (about 8) in active cardiovascular disease. Liberal transfusion increases rebleeding and mortality (especially in varices). IV proton pump inhibitor high dose. Suspected varices: octreotide plus IV antibiotics (ceftriaxone). Endoscopy within 24 hours after resuscitation for most patients; do not scope before hemodynamic resuscitation. Hold anticoagulants (reverse if life-threatening). Endoscopic therapy for high-risk stigmata (active bleeding, visible vessel): epinephrine injection plus thermal or clips. Rebleeding: repeat endoscopy; if it fails, interventional radiology embolization (of the gastroduodenal artery) or surgery (oversewing of the ulcer). Test and treat H. pylori; stop NSAIDs.

Spontaneous esophageal rupture: NPO, broad-spectrum IV antibiotics plus antifungal, IV fluids and PPI, and emergency surgical consult: primary surgical repair with drainage within 24 hours is standard; endoscopic stents or clips in selected patients. Delay greatly increases mortality.

Early dumping syndrome: first-line is diet change: small frequent meals, avoid simple sugars, more protein, fiber and complex carbohydrates, separate liquids from solids (drink 30 minutes after eating), lie down after meals. Acarbose for late dumping; octreotide for refractory cases; surgery rarely.

Acute cholangitis: IV fluids, broad-spectrum antibiotics (piperacillin-tazobactam, or ceftriaxone plus metronidazole), then biliary drainage by ERCP: urgently (within 24 hours, sooner if septic or not improving). Percutaneous transhepatic drainage if ERCP fails. Cholecystectomy later if gallstones caused it.

Asymptomatic cholelithiasis: no treatment (expectant management); risk of becoming symptomatic is low. Prophylactic cholecystectomy only in special groups: porcelain gallbladder (increasingly selective), gallstones >3 cm, gallbladder polyps ≥1 cm, sickle cell disease, transplant candidates in some centers, and certain populations with high gallbladder cancer risk. Symptomatic biliary colic: elective laparoscopic cholecystectomy.

Complications & prognosis

UGIB mortality rises with age, comorbidity and rebleeding. Boerhaave mortality is high when treatment is delayed beyond 24 hours (mediastinitis, sepsis). Cholangitis can cause septic shock and liver abscess.

🔥 Exam pearls

  • UGIB: transfuse at Hb <7; endoscopy within 24 hours after resuscitation.
  • Posterior duodenal ulcer bleeding: gastroduodenal artery; failed endoscopy → IR embolization.
  • Vomiting, chest pain, subcutaneous emphysema: Boerhaave; water-soluble contrast study or CT; emergency surgery.
  • Sweating, palpitations and diarrhea 20 minutes after meals post-gastrectomy: early dumping; small frequent low-sugar meals, separate liquids.
  • Fever + jaundice + RUQ pain: cholangitis; antibiotics then ERCP.
  • Incidental gallstones without symptoms: no surgery.
© 2026 Project IMG · Content from Project IMG labs and atlases · For education only, not medical advice.