Duodenal vs Gastric Ulcers

**Duodenal ulcers**: most common (95% H. pylori), located in duodenal bulb (first part of duodenum). Pathophysiology: increased acid production (H. pylori damages antral D cells → decreased somatostatin → increased gastrin → increased HCl). Pain: epigastric, worse 2–3h after meals and at night ('hunger pain'), relieved by food (food buffers acid). Posterior DU → erodes gastroduodenal artery → massive upper GI bleed. **Gastric ulcers**: less common; H. pylori (70%) or NSAIDs (25%). Multiple subtypes by location. Pain: epigastric, worse with eating (food stimulates acid when mucosal defenses impaired), no relief with food. Malignancy risk: biopsy all gastric ulcers (DU rarely malignant, GU must be biopsied to rule out cancer). Must confirm GU healing after 8–12 weeks of treatment. **NSAID ulcers**: inhibit COX-1 → decreased prostaglandin → decreased mucus/bicarb/blood flow. Prefer COX-2 selective NSAIDs (celecoxib) or add PPI for NSAID users at risk. **Stress ulcers**: critically ill patients (Cushing's ulcers with head trauma — increased vagal tone → hypersecretion; Curling's ulcers with burns — decreased mucosal blood flow). Prophylax with PPI or H2 blocker in ICU.

H. pylori Diagnosis and Eradication

**Diagnosis**: Non-invasive: urea breath test (UBT — gold standard for test-and-treat; high sensitivity/specificity; false negative if recent PPI/antibiotic use — stop PPIs 2 weeks, antibiotics 4 weeks before test); stool antigen test (also excellent, cheaper). Serology (IgG anti-H. pylori) stays positive after eradication — poor for test-of-cure. Invasive (EGD): rapid urease test (CLO test — fast, cheap), histology (gold standard — shows organisms in gastric mucosa), culture/sensitivity. Biopsy both antrum and body — H. pylori is patchy. **First-line eradication (standard triple therapy × 14 days)**: Clarithromycin + amoxicillin + PPI. Test-and-treat strategy: if H. pylori confirmed → treat without EGD for uncomplicated PUD (age <55, no alarm features). **Bismuth quadruple therapy (preferred in areas with high clarithromycin resistance >15%)**: bismuth + metronidazole + tetracycline + PPI. **Confirm eradication** with UBT or stool antigen 4 weeks after completing antibiotics (serology useless for test-of-cure). If eradication fails → second-line (levofloxacin-based triple or bismuth quadruple if not used first).

Complications and Zollinger-Ellison Syndrome

**Hemorrhage** (most common PUD complication): posterior DU → gastroduodenal artery; lesser curve GU → left gastric artery. Hematemesis, melena, hemodynamic instability. Manage with endoscopic hemostasis (epinephrine injection + thermal therapy/clip); interventional radiology if endoscopy fails; surgery as last resort. **Perforation** (most dangerous complication): acute peritonitis — sudden severe epigastric pain radiating to shoulder, rigid abdomen, free air under diaphragm on upright CXR (classic finding) or CT. Emergency surgery (Omental patch — 'Graham patch' repair). Anterior DU perforation → peritonitis; posterior DU → bleeds. **Gastric outlet obstruction** (scarring from repeated ulcers): succussion splash, nausea/vomiting of undigested food, weight loss. Diagnose with barium swallow (dilated stomach, narrowed pylorus); treat with balloon dilation or surgery. **Zollinger-Ellison syndrome (ZES)**: gastrinoma (usually pancreatic/duodenal) → massive gastrin → acid hypersecretion → multiple severe/refractory ulcers. Suspect with: multiple ulcers, distal duodenal/jejunal ulcers (unusual location), diarrhea (excess acid inactivates pancreatic enzymes, damages small bowel), failed standard treatment. Diagnosis: fasting serum gastrin >1000 pg/mL + secretin stimulation test (paradoxical rise in gastrin with secretin injection). 25% MEN1 syndrome. Treat: high-dose PPI + surgical resection of gastrinoma.