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

Peptic ulcer disease, H. pylori and gastric physiology

Peptic ulcers form when acid and pepsin overcome mucosal defenses, most often because of H. pylori infection or NSAIDs. Step 1 tests the GI hormones that control acid and the arteries that bleed from ulcers; Step 2 and 3 test H. pylori regimens and complications. Metoclopramide, a common prokinetic for gastroparesis and nausea, is tested for its dopamine-blocking side effects.

Overview

FeatureDuodenal ulcerGastric ulcer
Pain with mealsImproves with food, then returns 2–3 hours later; wakes patient at nightWorse with food, weight loss
H. pyloriAlmost alwaysOften
Cancer riskVery low; no routine biopsyBiopsy edges; repeat EGD to confirm healing

Pathophysiology

H. pylori is a curved, urease-positive, gram-negative rod that lives under the mucus. Antral infection lowers somatostatin, raises gastrin and acid (duodenal ulcers); body-predominant infection causes atrophic gastritis, gastric adenocarcinoma and MALT lymphoma. NSAIDs block COX-1, lowering protective prostaglandins.

GI hormones:

HormoneSourceMain action
GastrinG cells, antrumRaises acid (via histamine from ECL cells and directly on parietal cells); trophic to gastric mucosa. Very high in Zollinger-Ellison syndrome and with PPIs or atrophic gastritis
CCKI cells, duodenum and jejunumGallbladder contraction, pancreatic enzyme release, relaxes sphincter of Oddi, slows gastric emptying; triggered by fat and protein
SecretinS cells, duodenumPancreatic bicarbonate; lowers gastric acid; triggered by acid in the duodenum
SomatostatinD cellsInhibits almost everything (acid, gastrin, pancreatic and gallbladder function, insulin, glucagon)

Other hormones: GIP (insulin release), motilin (migrating motor complex; erythromycin is a motilin agonist), VIP (VIPoma: watery diarrhea, hypokalemia, achlorhydria).

Peptic ulcer bleeding anatomy: a posterior duodenal ulcer erodes the gastroduodenal artery (major bleeding); an anterior duodenal ulcer tends to perforate (free air). A lesser-curvature gastric ulcer bleeds from the left gastric artery.

Clinical presentation

Burning epigastric pain, dyspepsia, nausea; complications present as melena or hematemesis, sudden peritonitis with free air (perforation), or vomiting from gastric outlet obstruction. Multiple ulcers, ulcers beyond the duodenal bulb, diarrhea and refractory disease suggest Zollinger-Ellison (gastrinoma; consider MEN1).

Diagnosis

  • Dyspepsia under age 60 without alarm features: test and treat for H. pylori (urea breath test or stool antigen). Age 60 or older or alarm features: EGD.
  • Noninvasive tests become falsely negative on PPIs, bismuth or antibiotics: stop PPI for 2 weeks and antibiotics/bismuth for 4 weeks before testing.
  • Serology cannot show active infection and is not used for test of cure.
  • ZES: fasting gastrin very high with gastric pH below 2; secretin stimulation test paradoxically raises gastrin.

Treatment

H. pylori first-line therapy (US guidance, no susceptibility data): bismuth quadruple therapy for 14 days — PPI + bismuth + tetracycline + metronidazole. Alternatives for selected patients: rifabutin-based triple therapy, or vonoprazan plus amoxicillin dual therapy (14 days). Clarithromycin triple therapy only when the strain is known to be clarithromycin-susceptible, because resistance is now common. Avoid repeating an antibiotic that already failed. Confirm eradication in everyone at least 4 weeks after therapy with urea breath test or stool antigen.

Ulcer care: PPI for 4–8 weeks, stop NSAIDs (if NSAIDs are essential, use a PPI or a COX-2 inhibitor plus PPI). Perforation: surgical repair. Bleeding: see GI bleeding.

Metoclopramide: a D2 receptor antagonist (with 5-HT4 agonist and 5-HT3 antagonist effects) used for diabetic gastroparesis and nausea. Adverse effects:

  • Tardive dyskinesia (boxed warning): avoid use for more than 12 weeks; higher risk in older women and diabetics.
  • Acute dystonia (treat with diphenhydramine or benztropine), akathisia, drug-induced parkinsonism, rarely neuroleptic malignant syndrome.
  • Hyperprolactinemia (galactorrhea, amenorrhea, gynecomastia), drowsiness, depression, QT prolongation.
  • Contraindicated in mechanical bowel obstruction, perforation, pheochromocytoma, seizure disorders and Parkinson disease (use domperidone or other agents where available).

Complications & prognosis

Bleeding (most common), perforation, penetration into the pancreas (pain radiating to the back, high lipase), gastric outlet obstruction. Successful H. pylori eradication greatly lowers ulcer recurrence and gastric cancer risk; low-grade gastric MALT lymphoma can regress after eradication alone.

🔥 Exam pearls

  • First-line H. pylori: bismuth quadruple therapy for 14 days; always confirm eradication.
  • Stop PPIs 2 weeks before breath or stool testing.
  • Posterior duodenal ulcer bleeds from the gastroduodenal artery.
  • Secretin raises bicarbonate and lowers acid, but paradoxically raises gastrin in a gastrinoma.
  • CCK: fat in duodenum → gallbladder contraction and pancreatic enzymes.
  • Metoclopramide over 12 weeks risks tardive dyskinesia; never give it with bowel obstruction.
© 2026 Project IMG · Content from Project IMG labs and atlases · For education only, not medical advice.