Peptic Ulcer Disease, GERD & Esophageal Motility
Causal flowchart for PUD, GERD, Barrett esophagus, and achalasia: H. pylori/NSAID mucosal breakdown, alarm dysphagia, and eradication therapy.
Stage 1 of 6
Cause & Risk Factors
Peptic Ulcer Disease: H. pylori & NSAIDs
HYHelicobacter pylori (> 90% of duodenal ulcers, ~70% of gastric ulcers) and NSAIDs (COX-1 inhibition depletes gastroprotective PGE2/PGI2); rare gastrinoma (Zollinger-Ellison / MEN 1).
GERD & Barrett Esophagus
HYTransient lower esophageal sphincter (LES) relaxations, hiatal hernia, obesity, smoking, caffeine, and late-night meals.
Esophageal Motility (Achalasia)
HYIdiopathic autoimmune destruction of inhibitory ganglion cells (NO/VIP) in Auerbach myenteric plexus; secondary pseudoachalasia from Chagas (T. cruzi) or gastric cardia adenocarcinoma.
Stage 2 of 6
Pathogenesis (Causal Mechanism)
PUD: Impaired Mucosal Defense vs. Acid-Pepsin Attack
HYDuodenal ulcers erode the gastroduodenal artery posteriorly (massive UGIB) or perforate anteriorly (pneumoperitoneum).
Barrett Metaplasia-Dysplasia-Carcinoma Sequence
HYContrasts with proximal/mid-esophageal squamous cell carcinoma driven by smoking, alcohol, and achalasia.
Achalasia Outflow Failure
HYProduces dysphagia to BOTH solids and liquids from symptom onset (motility disorder vs. mechanical stricture/cancer affecting solids first).
Stage 3 of 6
Clinical Features
Duodenal vs. Gastric Ulcer Meal Pain Pattern
HYDuodenal ulcer: pain IMPROVES with meals (weight gain) and wakes patient 2–3 hours later. Gastric ulcer: pain WORSENS immediately with meals (weight loss).
Alarm Features Mandating Immediate Upper Endoscopy
HYAge ≥ 60 with new dyspepsia, progressive dysphagia, odynophagia, unintentional weight loss, iron-deficiency anemia, persistent vomiting, or GI bleeding.
GERD & Achalasia Presentation
GERD: retrosternal burning, chronic cough, nocturnal asthma, hoarseness. Achalasia: progressive solid + liquid dysphagia and nocturnal regurgitation of undigested food.
Stage 4 of 6
Diagnosis
H. pylori Non-Invasive Testing & Endoscopy
HYAge < 60 without alarm features: stool H. pylori antigen or urea breath test (stop PPIs 2 weeks & bismuth/antibiotics 4 weeks prior to avoid false negatives!). EGD with biopsy mandatory for gastric ulcers (rule out cancer) and alarm features.
Esophageal Manometry (Gold Standard for Achalasia)
HYConfirms incomplete LES relaxation (elevated IRP) + aperistalsis; barium swallow shows classic distal "bird-beak" tapering; EGD required to exclude pseudoachalasia malignancy.
Zollinger-Ellison Screening
HYSuspect in refractory, multiple, or distal duodenal/jejunal ulcers + secretory diarrhea: check fasting serum gastrin (off PPI) and secretin stimulation test (paradoxical ↑ gastrin).
Stage 5 of 6
Complications
Ulcer Hemorrhage, Perforation & Gastric Outlet Obstruction
HYPerforation causes sudden rigid board-like abdomen with free air under right hemidiaphragm on upright CXR; chronic pyloric scarring causes succussion splash and hypochloremic metabolic alkalosis.
Gastric MALT Lymphoma & Adenocarcinoma
HYH. pylori drives chronic antigenic stimulation of gastric B cells (early low-grade MALT lymphoma often regresses completely with H. pylori eradication alone!).
Stage 6 of 6
Management
H. pylori Eradication (Bismuth Quadruple Therapy First-Line)
HYPPI + bismuth subsalicylate + tetracycline + metronidazole for 14 days (preferred due to rising clarithromycin resistance); confirm eradication ≥ 4 weeks post-therapy with stool antigen or urea breath test.
GERD & Barrett Surveillance
HYWeight loss, elevate head of bed, avoid late meals + 8-week PPI trial (omeprazole/pantoprazole before breakfast). Barrett without dysplasia: PPI + EGD q3–5 yr; high-grade dysplasia: endoscopic radiofrequency ablation/resection.
Achalasia Definitive Therapy
HYLaparoscopic Heller myotomy (with partial fundoplication), POEM (peroral endoscopic myotomy), or pneumatic balloon dilation; botulinum toxin injection only for high-risk surgical candidates.
Stage 1
Cause & Risk Factors
Peptic Ulcer Disease: H. pylori & NSAIDs
HYHelicobacter pylori (> 90% of duodenal ulcers, ~70% of gastric ulcers) and NSAIDs (COX-1 inhibition depletes gastroprotective PGE2/PGI2); rare gastrinoma (Zollinger-Ellison / MEN 1).
GERD & Barrett Esophagus
HYTransient lower esophageal sphincter (LES) relaxations, hiatal hernia, obesity, smoking, caffeine, and late-night meals.
Esophageal Motility (Achalasia)
HYIdiopathic autoimmune destruction of inhibitory ganglion cells (NO/VIP) in Auerbach myenteric plexus; secondary pseudoachalasia from Chagas (T. cruzi) or gastric cardia adenocarcinoma.
Stage 2
Pathogenesis (Causal Mechanism)
PUD: Impaired Mucosal Defense vs. Acid-Pepsin Attack
HYDuodenal ulcers erode the gastroduodenal artery posteriorly (massive UGIB) or perforate anteriorly (pneumoperitoneum).
Barrett Metaplasia-Dysplasia-Carcinoma Sequence
HYContrasts with proximal/mid-esophageal squamous cell carcinoma driven by smoking, alcohol, and achalasia.
Achalasia Outflow Failure
HYProduces dysphagia to BOTH solids and liquids from symptom onset (motility disorder vs. mechanical stricture/cancer affecting solids first).
Stage 3
Clinical Features
Duodenal vs. Gastric Ulcer Meal Pain Pattern
HYDuodenal ulcer: pain IMPROVES with meals (weight gain) and wakes patient 2–3 hours later. Gastric ulcer: pain WORSENS immediately with meals (weight loss).
Alarm Features Mandating Immediate Upper Endoscopy
HYAge ≥ 60 with new dyspepsia, progressive dysphagia, odynophagia, unintentional weight loss, iron-deficiency anemia, persistent vomiting, or GI bleeding.
GERD & Achalasia Presentation
GERD: retrosternal burning, chronic cough, nocturnal asthma, hoarseness. Achalasia: progressive solid + liquid dysphagia and nocturnal regurgitation of undigested food.
Stage 4
Diagnosis
H. pylori Non-Invasive Testing & Endoscopy
HYAge < 60 without alarm features: stool H. pylori antigen or urea breath test (stop PPIs 2 weeks & bismuth/antibiotics 4 weeks prior to avoid false negatives!). EGD with biopsy mandatory for gastric ulcers (rule out cancer) and alarm features.
Esophageal Manometry (Gold Standard for Achalasia)
HYConfirms incomplete LES relaxation (elevated IRP) + aperistalsis; barium swallow shows classic distal "bird-beak" tapering; EGD required to exclude pseudoachalasia malignancy.
Zollinger-Ellison Screening
HYSuspect in refractory, multiple, or distal duodenal/jejunal ulcers + secretory diarrhea: check fasting serum gastrin (off PPI) and secretin stimulation test (paradoxical ↑ gastrin).
Stage 5
Complications
Ulcer Hemorrhage, Perforation & Gastric Outlet Obstruction
HYPerforation causes sudden rigid board-like abdomen with free air under right hemidiaphragm on upright CXR; chronic pyloric scarring causes succussion splash and hypochloremic metabolic alkalosis.
Gastric MALT Lymphoma & Adenocarcinoma
HYH. pylori drives chronic antigenic stimulation of gastric B cells (early low-grade MALT lymphoma often regresses completely with H. pylori eradication alone!).
Stage 6
Management
H. pylori Eradication (Bismuth Quadruple Therapy First-Line)
HYPPI + bismuth subsalicylate + tetracycline + metronidazole for 14 days (preferred due to rising clarithromycin resistance); confirm eradication ≥ 4 weeks post-therapy with stool antigen or urea breath test.
GERD & Barrett Surveillance
HYWeight loss, elevate head of bed, avoid late meals + 8-week PPI trial (omeprazole/pantoprazole before breakfast). Barrett without dysplasia: PPI + EGD q3–5 yr; high-grade dysplasia: endoscopic radiofrequency ablation/resection.
Achalasia Definitive Therapy
HYLaparoscopic Heller myotomy (with partial fundoplication), POEM (peroral endoscopic myotomy), or pneumatic balloon dilation; botulinum toxin injection only for high-risk surgical candidates.
Read this flowchart as text (6-Stage Clinical Outline + HY Tags) Expand / Cmd+F
1. Cause & Risk Factors
- Peptic Ulcer Disease: H. pylori & NSAIDs (HY): Helicobacter pylori (> 90% of duodenal ulcers, ~70% of gastric ulcers) and NSAIDs (COX-1 inhibition depletes gastroprotective PGE2/PGI2); rare gastrinoma (Zollinger-Ellison / MEN 1).
- GERD & Barrett Esophagus (HY): Transient lower esophageal sphincter (LES) relaxations, hiatal hernia, obesity, smoking, caffeine, and late-night meals.
- Esophageal Motility (Achalasia) (HY): Idiopathic autoimmune destruction of inhibitory ganglion cells (NO/VIP) in Auerbach myenteric plexus; secondary pseudoachalasia from Chagas (T. cruzi) or gastric cardia adenocarcinoma.
2. Pathogenesis (Causal Mechanism)
- PUD: Impaired Mucosal Defense vs. Acid-Pepsin Attack (HY): Pathway: H. pylori urease/cytotoxins (CagA/VacA) OR NSAID ↓ PGE2 (↓ mucus, ↓ HCO3−, ↓ mucosal blood flow) → Acid-pepsin digests exposed epithelium → Deep mucosal ulceration. Duodenal ulcers erode the gastroduodenal artery posteriorly (massive UGIB) or perforate anteriorly (pneumoperitoneum).
- Barrett Metaplasia-Dysplasia-Carcinoma Sequence (HY): Pathway: Chronic acid/bile reflux → Squamous epithelial injury → Intestinal columnar metaplasia with goblet cells (Barrett) → Low/high-grade dysplasia → Distal esophageal adenocarcinoma. Contrasts with proximal/mid-esophageal squamous cell carcinoma driven by smoking, alcohol, and achalasia.
- Achalasia Outflow Failure (HY): Pathway: Loss of myenteric NO/VIP inhibitory neurons → Unopposed cholinergic LES tone + aperistalsis → Proximal esophageal dilation & food retention. Produces dysphagia to BOTH solids and liquids from symptom onset (motility disorder vs. mechanical stricture/cancer affecting solids first).
3. Clinical Features
- Duodenal vs. Gastric Ulcer Meal Pain Pattern (HY): Mechanism: Food buffers acid and closes pylorus briefly in duodenal ulcer, then delayed gastric emptying bathes the bulb in acid; food directly irritates gastric ulcers. Duodenal ulcer: pain IMPROVES with meals (weight gain) and wakes patient 2–3 hours later. Gastric ulcer: pain WORSENS immediately with meals (weight loss).
- Alarm Features Mandating Immediate Upper Endoscopy (HY): Mechanism: Structural obstruction, chronic occult blood loss, or tumor cachexia signal underlying malignancy. Age ≥ 60 with new dyspepsia, progressive dysphagia, odynophagia, unintentional weight loss, iron-deficiency anemia, persistent vomiting, or GI bleeding.
- GERD & Achalasia Presentation: Mechanism: Acid microaspiration irritates airways/larynx; aperistaltic esophagus regurgitates undigested food. GERD: retrosternal burning, chronic cough, nocturnal asthma, hoarseness. Achalasia: progressive solid + liquid dysphagia and nocturnal regurgitation of undigested food.
4. Diagnosis
- H. pylori Non-Invasive Testing & Endoscopy (HY): Age < 60 without alarm features: stool H. pylori antigen or urea breath test (stop PPIs 2 weeks & bismuth/antibiotics 4 weeks prior to avoid false negatives!). EGD with biopsy mandatory for gastric ulcers (rule out cancer) and alarm features.
- Esophageal Manometry (Gold Standard for Achalasia) (HY): Confirms incomplete LES relaxation (elevated IRP) + aperistalsis; barium swallow shows classic distal "bird-beak" tapering; EGD required to exclude pseudoachalasia malignancy.
- Zollinger-Ellison Screening (HY): Suspect in refractory, multiple, or distal duodenal/jejunal ulcers + secretory diarrhea: check fasting serum gastrin (off PPI) and secretin stimulation test (paradoxical ↑ gastrin).
5. Complications
- Ulcer Hemorrhage, Perforation & Gastric Outlet Obstruction (HY): Perforation causes sudden rigid board-like abdomen with free air under right hemidiaphragm on upright CXR; chronic pyloric scarring causes succussion splash and hypochloremic metabolic alkalosis.
- Gastric MALT Lymphoma & Adenocarcinoma (HY): H. pylori drives chronic antigenic stimulation of gastric B cells (early low-grade MALT lymphoma often regresses completely with H. pylori eradication alone!).
6. Management
- H. pylori Eradication (Bismuth Quadruple Therapy First-Line) (HY): PPI + bismuth subsalicylate + tetracycline + metronidazole for 14 days (preferred due to rising clarithromycin resistance); confirm eradication ≥ 4 weeks post-therapy with stool antigen or urea breath test.
- GERD & Barrett Surveillance (HY): Weight loss, elevate head of bed, avoid late meals + 8-week PPI trial (omeprazole/pantoprazole before breakfast). Barrett without dysplasia: PPI + EGD q3–5 yr; high-grade dysplasia: endoscopic radiofrequency ablation/resection.
- Achalasia Definitive Therapy (HY): Laparoscopic Heller myotomy (with partial fundoplication), POEM (peroral endoscopic myotomy), or pneumatic balloon dilation; botulinum toxin injection only for high-risk surgical candidates.
Connected Pathophysiology