One-liner#
Evaluate dyspepsia and GERD symptoms to identify patients needing endoscopy (alarm features, refractory symptoms) while efficiently managing the majority with empiric PPI therapy and H. pylori test-and-treat.
Quick nav#
- Red flags / send to ED
- Key history
- Focused exam
- Differential (quick pattern recognition)
- Workup
- Initial management
- Management by diagnosis
- Follow-up
- Patient instructions
- Smartphrase snippets
Red flags / send to ED#
- GI bleeding: hematemesis, melena, hematochezia with hemodynamic instability
- Severe abdominal pain with peritoneal signs (perforation)
- Complete dysphagia (unable to swallow saliva)
- Severe dehydration from persistent vomiting
Alarm features (warrant EGD, not necessarily ED)#
- Dysphagia (difficulty swallowing)
- Odynophagia (painful swallowing)
- Unintentional weight loss (>5% in 6 months)
- GI bleeding (hematemesis, melena, iron deficiency anemia)
- Persistent vomiting
- Palpable abdominal mass or lymphadenopathy
- Family history of upper GI malignancy
- Age >60 with new-onset dyspepsia (lower threshold for EGD)
Key history#
Distinguish dyspepsia from GERD:
| Feature | Dyspepsia | GERD |
|---|---|---|
| Location | Epigastric | Retrosternal (heartburn) |
| Character | Burning, gnawing, fullness, early satiety | Burning, regurgitation |
| Timing | During/after meals | Postprandial, supine, bending over |
| Relief | Variable; sometimes with eating (ulcer) | Antacids, sitting upright |
Dyspepsia subtypes (Rome IV):
- Postprandial distress syndrome: early satiety, postprandial fullness
- Epigastric pain syndrome: epigastric burning or pain
GERD symptoms:
- Typical: heartburn, regurgitation
- Atypical: chronic cough, hoarseness, throat clearing, globus sensation, dental erosions
- Extraesophageal: asthma exacerbation, laryngitis
Key questions:
- Duration: acute vs chronic
- Frequency: daily, weekly, occasional
- Severity: impact on quality of life, sleep disruption
- Triggers: specific foods, alcohol, caffeine, lying down, large meals
- Relief: antacids, PPIs, food, position changes
- Prior treatment: what has been tried and response
Risk factors for organic disease:
- NSAID use (peptic ulcer)
- H. pylori infection
- Smoking
- Alcohol
- Family history of gastric cancer
- Prior peptic ulcer disease
Medication review:
- NSAIDs, aspirin (ulcer, gastritis)
- Bisphosphonates (esophagitis—take correctly?)
- Potassium, iron, tetracyclines (pill esophagitis)
- Calcium channel blockers, nitrates (lower LES pressure)
Focused exam#
- Vitals: usually normal; weight trend
- General: nutritional status, pallor (anemia)
- Abdominal: epigastric tenderness, masses, organomegaly
- Lymph nodes: supraclavicular (Virchow’s node—gastric cancer)
- Skin: pallor (anemia from bleeding)
- Oral: dental erosions (chronic GERD/vomiting)
Differential (quick pattern recognition)#
Common/likely (outpatient)#
| Diagnosis | Keywords patients use | Key clues | Focused exam clues | Initial next step |
|---|---|---|---|---|
| GERD | “Heartburn,” “acid,” “burning in chest,” “worse lying down” | Postprandial; supine worsening; responds to antacids | Usually normal; epigastric tenderness | PPI trial x 4–8 weeks |
| Functional dyspepsia | “Uncomfortable after eating,” “full after a few bites,” “bloated” | Rome IV criteria; no alarm features; normal EGD | Mild epigastric tenderness | H. pylori test-and-treat; PPI trial |
| H. pylori gastritis | “Burning,” “gnawing,” “stomach pain” | May be asymptomatic; associated with ulcer risk | Epigastric tenderness | H. pylori testing; treat if positive |
| NSAID gastropathy | “Stomach pain since starting ibuprofen” | NSAID use; epigastric pain; may have occult bleeding | Epigastric tenderness | Stop NSAID; PPI |
| Peptic ulcer disease | “Gnawing,” “burning,” “hunger pain,” “wakes me at night” | NSAIDs, H. pylori; may improve or worsen with food | Epigastric tenderness | H. pylori testing; PPI; EGD if alarm features |
| Medication-induced esophagitis | “Pill got stuck,” “hurts to swallow” | Bisphosphonates, doxycycline, potassium, iron | Odynophagia | Review medication technique; PPI |
Can’t-miss / urgent#
| Diagnosis | Keywords patients use | Key clues | Focused exam clues | Initial next step |
|---|---|---|---|---|
| Gastric cancer | “Lost weight,” “can’t eat,” “full quickly,” “vomiting” | Age >60; weight loss; early satiety; anemia; family history | Epigastric mass; Virchow’s node; cachexia | EGD urgently |
| Esophageal cancer | “Food gets stuck,” “lost weight,” “hurts to swallow” | Progressive dysphagia; weight loss; smoking/alcohol history | Weight loss; supraclavicular nodes | EGD urgently |
| Peptic ulcer with bleeding | “Black stool,” “vomiting blood,” “dizzy” | NSAID use; H. pylori; hematemesis or melena | Pallor; tachycardia; melena on rectal | ED for EGD |
| Peptic ulcer perforation | “Sudden severe pain,” “rigid abdomen” | Sudden onset; severe epigastric pain; peritoneal signs | Rigid abdomen; rebound; guarding | ED immediately |
| Cardiac disease (ACS) | “Pressure,” “squeezing,” “indigestion” with exertion | Risk factors; exertional; associated dyspnea, diaphoresis | May be normal | ECG; if concern → ED |
| Biliary disease | “Pain after fatty food,” “RUQ,” “comes and goes” | Postprandial; RUQ; episodic | RUQ tenderness; Murphy’s sign | RUQ ultrasound |
Workup#
Empiric treatment vs testing:
| Scenario | Approach |
|---|---|
| Age <60, no alarm features | H. pylori test-and-treat OR empiric PPI (either acceptable) |
| Age ≥60 with new-onset dyspepsia | Lower threshold for EGD (increased malignancy risk) |
| Alarm features present | EGD before empiric treatment |
| Typical GERD, no alarm features | Empiric PPI trial; EGD if refractory |
| Refractory to 8 weeks PPI | EGD to evaluate |
H. pylori testing:
- Urea breath test: preferred; high sensitivity/specificity
- Stool antigen: alternative; good accuracy
- Serology: NOT recommended (remains positive after treatment; can’t confirm eradication)
Important: Stop PPI for 2 weeks and antibiotics for 4 weeks before H. pylori testing (false negatives).
When to order EGD:
- Alarm features (dysphagia, weight loss, bleeding, anemia, vomiting)
- Age ≥60 with new-onset dyspepsia
- Refractory symptoms despite 8 weeks of PPI
- Need to confirm H. pylori eradication in ulcer disease
- Surveillance (Barrett’s esophagus, prior gastric ulcer)
When NOT to order EGD:
- Young patient (<60) with typical GERD, no alarm features, responding to PPI
- Functional dyspepsia meeting Rome IV criteria with negative H. pylori
Additional workup if indicated:
- CBC: anemia (bleeding)
- Iron studies: if anemia present
- LFTs: if biliary disease suspected
- Lipase: if pancreatitis suspected
Initial management#
GERD (no alarm features):
- Lifestyle modifications (see below)
- PPI trial x 4–8 weeks
- If responds: attempt step-down to H2RA or PRN PPI
- If refractory: EGD
Dyspepsia (no alarm features):
- H. pylori test-and-treat (if positive, treat; if negative, PPI trial)
- OR empiric PPI trial x 4–8 weeks
- If refractory: EGD
Lifestyle modifications (all patients):
- Weight loss if overweight (most effective intervention for GERD)
- Elevate head of bed 6–8 inches (blocks under bedposts, not just pillows)
- Avoid eating 2–3 hours before bedtime
- Avoid trigger foods: fatty foods, chocolate, caffeine, alcohol, mint, citrus, tomatoes
- Smoking cessation
- Avoid tight-fitting clothing
- Small, frequent meals
Management by diagnosis#
GERD (Gastroesophageal reflux disease)#
Education:
- Stomach acid flowing back into esophagus
- Lifestyle changes are as important as medication
- Most patients can eventually step down from daily PPI
- Long-term untreated GERD can lead to Barrett’s esophagus (precancerous)
Treatment:
Step 1: Lifestyle modifications (see above)
Step 2: Acid suppression
| Drug | Dose | Contraindications | Monitoring | Cost | Notes |
|---|---|---|---|---|---|
| Omeprazole | 20 mg daily (40 mg if severe) | None absolute | Mg, B12 if years of use | $ | First-line PPI; take 30–60 min before breakfast |
| Pantoprazole | 40 mg daily | None absolute | Same | $ | Alternative PPI; may have fewer drug interactions |
| Esomeprazole | 20–40 mg daily | None absolute | Same | $ | S-isomer of omeprazole; similar efficacy |
| Lansoprazole | 15–30 mg daily | None absolute | Same | $ | Alternative PPI |
| Famotidine | 20 mg BID or 40 mg QHS | CKD (adjust dose) | None | $ | H2RA; less potent than PPI; good for step-down or breakthrough |
| Calcium carbonate (Tums) | 500–1000 mg PRN | Hypercalcite | None | $ | Immediate relief; not for maintenance |
PPI prescribing pearls:
- Take 30–60 minutes before first meal of the day (maximizes efficacy)
- Once-daily dosing sufficient for most; BID for severe/refractory
- All PPIs similarly effective; choose based on cost and interactions
- If one PPI fails, can try another (some patients respond differently)
- Drug interactions: Omeprazole/esomeprazole may reduce clopidogrel efficacy (CYP2C19); use pantoprazole if on clopidogrel
Step 3: If refractory to 8 weeks PPI:
- Confirm adherence and proper timing
- EGD to evaluate for complications, alternative diagnoses
- Consider pH monitoring (off PPI) to confirm diagnosis
- GI referral for refractory cases
Long-term PPI considerations:
- Attempt step-down after 4–8 weeks: reduce to lowest effective dose, switch to H2RA, or PRN use
- Long-term risks (generally small): C. diff, pneumonia, hip fracture, hypomagnesemia, B12 deficiency
- Benefits outweigh risks for patients with documented GERD, Barrett’s, or erosive esophagitis
- Avoid indefinite PPI without clear indication
Follow-up: 4–8 weeks; if improved, attempt step-down. If refractory, EGD.
Functional dyspepsia#
Education:
- Stomach discomfort without ulcer or structural cause
- Related to how stomach processes food and signals to brain
- Chronic condition; goal is symptom management
- Not dangerous; does not lead to cancer
Treatment:
Step 1: H. pylori test-and-treat
- If positive: eradication may improve symptoms in ~10% (NNT ~14)
- If negative: proceed to PPI trial
Step 2: PPI trial x 4–8 weeks
- Effective in ~30–40% of functional dyspepsia
Step 3: If PPI fails—neuromodulators
| Drug | Dose | Contraindications | Monitoring | Cost | Notes |
|---|---|---|---|---|---|
| Amitriptyline | 10–25 mg QHS; titrate to 50 mg | Cardiac disease; glaucoma; elderly | ECG if risk factors | $ | Low-dose TCA; helps visceral hypersensitivity |
| Nortriptyline | 10–25 mg QHS; titrate to 50 mg | Same as amitriptyline | Same | $ | Less sedating than amitriptyline |
| Mirtazapine | 7.5–15 mg QHS | None significant | Weight gain | $ | Helps nausea, early satiety, weight loss |
| Buspirone | 10 mg TID | None significant | None | $ | Fundic relaxation; helps early satiety |
Step 4: Prokinetics (if delayed gastric emptying suspected)
| Drug | Dose | Contraindications | Monitoring | Cost | Notes |
|---|---|---|---|---|---|
| Metoclopramide | 5–10 mg TID before meals (max 12 weeks) | Parkinson’s; seizures; GI obstruction | Tardive dyskinesia (black box) | $ | Limit to 12 weeks; risk of TD |
Follow-up: 4–8 weeks after each intervention; GI referral if refractory to multiple treatments.
H. pylori infection#
Education:
- Bacterial infection of the stomach lining
- Associated with ulcers and (rarely) gastric cancer
- Curable with antibiotics + acid suppression
- Confirm eradication after treatment (for ulcer disease)
Treatment:
First-line regimens (14 days preferred):
| Regimen | Components | Notes |
|---|---|---|
| Bismuth quadruple therapy | PPI BID + bismuth subsalicylate 524 mg QID + metronidazole 250 mg QID + tetracycline 500 mg QID x 14 days | Preferred if prior macrolide exposure or high clarithromycin resistance area |
| Concomitant therapy | PPI BID + clarithromycin 500 mg BID + amoxicillin 1 g BID + metronidazole 500 mg BID x 14 days | High efficacy; more pills |
| Clarithromycin triple therapy | PPI BID + clarithromycin 500 mg BID + amoxicillin 1 g BID x 14 days | Only if no prior macrolide exposure AND local clarithromycin resistance <15% |
If penicillin allergy:
- Bismuth quadruple therapy (no amoxicillin)
- OR: PPI + clarithromycin + metronidazole x 14 days
Confirm eradication:
- Urea breath test or stool antigen ≥4 weeks after completing treatment
- Stop PPI 2 weeks before testing
- Required for: peptic ulcer disease, gastric MALT lymphoma, after gastric cancer resection
- Optional but recommended for: all treated patients
If first-line fails:
- Avoid regimen with same antibiotics
- Bismuth quadruple if not used initially
- Levofloxacin-based regimen: PPI BID + levofloxacin 500 mg daily + amoxicillin 1 g BID x 14 days
- GI referral for culture and sensitivity if multiple failures
Follow-up: Confirm eradication 4+ weeks after treatment completion.
Peptic ulcer disease#
Education:
- Sore in the lining of stomach or duodenum
- Usually caused by H. pylori or NSAIDs
- Heals with acid suppression; must treat underlying cause
- Complications: bleeding, perforation, obstruction
Treatment:
Acute management:
- Stop NSAIDs
- PPI x 4–8 weeks (8 weeks for gastric ulcer)
- Test and treat H. pylori
| Drug | Dose | Duration | Notes |
|---|---|---|---|
| Omeprazole | 20–40 mg daily | 4 weeks (duodenal) or 8 weeks (gastric) | Any PPI at standard dose |
| Pantoprazole | 40 mg daily | Same | Alternative |
H. pylori eradication: See above
NSAID-induced ulcer:
- Stop NSAID if possible
- If NSAID must continue: PPI co-therapy indefinitely
- Consider COX-2 selective NSAID (celecoxib) + PPI if high GI risk but need NSAID
Follow-up:
- Duodenal ulcer: confirm H. pylori eradication; repeat EGD not routinely needed
- Gastric ulcer: repeat EGD in 8–12 weeks to confirm healing and rule out malignancy
- If H. pylori negative and no NSAID use: consider Zollinger-Ellison syndrome (check fasting gastrin)
Barrett’s esophagus#
Education:
- Precancerous change in esophageal lining from chronic acid exposure
- Requires ongoing PPI therapy and surveillance endoscopy
- Most patients with Barrett’s do NOT develop cancer, but monitoring is important
PCP role:
- Continue PPI therapy (indefinitely)
- Ensure GI follow-up for surveillance EGD
- Lifestyle modifications for GERD
Surveillance intervals (GI manages):
- No dysplasia: EGD every 3–5 years
- Low-grade dysplasia: EGD every 6–12 months or ablation
- High-grade dysplasia: ablation or resection
Follow-up: GI manages surveillance; PCP continues PPI and monitors for symptoms.
Follow-up#
- GERD responding to PPI: 4–8 weeks; attempt step-down
- GERD refractory to PPI: EGD; GI referral
- Functional dyspepsia: 4–8 weeks after each intervention
- H. pylori: Confirm eradication 4+ weeks after treatment
- Peptic ulcer: Confirm H. pylori eradication; gastric ulcers need repeat EGD
When to refer to GI:
- Alarm features requiring EGD
- Refractory symptoms despite 8 weeks PPI
- Barrett’s esophagus (for surveillance)
- Complicated peptic ulcer disease
- Failed H. pylori eradication (multiple regimens)
- Consideration for anti-reflux surgery
Patient instructions#
For GERD:
- Take your PPI 30–60 minutes before breakfast for best effect.
- Avoid eating 2–3 hours before bedtime.
- Raise the head of your bed 6–8 inches (put blocks under the bedposts).
- Avoid foods that trigger your symptoms: fatty foods, chocolate, caffeine, alcohol, mint, citrus.
- Lose weight if overweight—this is the most effective lifestyle change.
- Don’t lie down right after eating.
- Call the office if you have trouble swallowing, vomiting blood, black stools, or unintentional weight loss.
For H. pylori treatment:
- Take all medications exactly as prescribed for the full course (usually 14 days).
- You may have side effects like nausea, metallic taste, or diarrhea—these are temporary.
- Avoid alcohol during treatment (especially with metronidazole).
- You’ll need a follow-up test to make sure the infection is gone.
Smartphrase snippets#
.GERDTYPICAL
Typical GERD symptoms without alarm features. Plan: lifestyle modifications discussed (weight loss, elevate HOB, avoid late meals, avoid triggers). Starting PPI [omeprazole 20 mg daily] x 4–8 weeks. Will reassess response and attempt step-down if improved. Discussed return precautions (dysphagia, weight loss, bleeding).
.DYSPEPSIAHPYLORI
Dyspepsia, age <60, no alarm features. Plan: H. pylori testing with [urea breath test/stool antigen]. If positive, will treat with [regimen]. If negative, will trial PPI x 4–8 weeks. Discussed alarm features requiring earlier evaluation.
.GERDREFRACTORY
GERD symptoms refractory to [X weeks] of PPI therapy. Confirmed proper adherence and timing. Plan: EGD to evaluate for erosive esophagitis, Barrett’s, or alternative diagnosis. GI referral placed. Continue PPI pending evaluation.
Related pages#
- GERD (problem) — comprehensive chronic GERD management, long-term PPI considerations, Barrett’s surveillance
- Irritable Bowel Syndrome (problem) — functional GI disorder often overlapping with functional dyspepsia
- Chest Pain (complaint) — cardiac causes of epigastric/chest discomfort
- Nausea/Vomiting (complaint) — related GI symptom evaluation