MedVellum
MedVellum
Back to Library

Acute Gastritis and Peptic Ulcer Disease

On This Page

Overview

Acute Gastritis and Peptic Ulcer Disease

Quick Reference

Critical Alerts

  • Perforated ulcer is a surgical emergency: Free air, peritonitis
  • GI bleeding from ulcer can be life-threatening: Melena, hematemesis, hemodynamic instability
  • NSAIDs and H. pylori are main causes: Address both
  • PPI therapy is cornerstone of treatment: IV for bleeding, oral for uncomplicated
  • Endoscopy for high-risk bleeding: Within 24 hours

Red Flags

FindingConcernAction
Hematemesis/MelenaActive GI bleedIV PPI, resuscitation, GI consult
Rigid abdomenPerforationCT, surgical consult
Free air on imagingPerforationEmergent surgery
Epigastric pain + hypotensionBleeding or perforationResuscitation, imaging
Weight loss, anemiaMalignancyEGD

Emergency Treatments

ConditionTreatment
Uncomplicated gastritis/PUDPPI (omeprazole 20-40 mg daily) + H. pylori treatment if positive
Bleeding ulcerIV PPI (pantoprazole 80 mg bolus → 8 mg/hr) + EGD within 24h
Perforated ulcerNPO, IV fluids, IV antibiotics, emergent surgery

Definition

Overview

Gastritis is inflammation of the gastric mucosa. Peptic ulcer disease (PUD) refers to ulcers of the stomach (gastric ulcer) or duodenum (duodenal ulcer). The most common causes are H. pylori infection and NSAID use. Complications include bleeding and perforation, which are medical and surgical emergencies respectively.

Classification

By Location:

TypeLocation
Gastric ulcerStomach
Duodenal ulcerDuodenum

By Etiology:

CauseNotes
H. pyloriMost common cause of PUD
NSAIDsDirect mucosal injury, prostaglandin inhibition
Stress ulcersICU patients, burns, trauma
OtherZollinger-Ellison, malignancy

Epidemiology

  • Prevalence: 5-10% lifetime risk of PUD
  • H. pylori: Responsible for 70-80% of duodenal ulcers, 50-60% of gastric ulcers
  • NSAID use: Second most common cause
  • Complications: 20-25% of PUD patients develop complications (bleeding, perforation)

Etiology

H. pylori:

  • Gram-negative spiral bacterium
  • Colonizes gastric mucosa
  • Causes chronic gastritis → Ulceration

NSAIDs:

  • Inhibit prostaglandin synthesis
  • Reduce mucosal defenses
  • Direct topical injury

Other Causes:

CauseNotes
Stress ulcersCritical illness, mechanical ventilation, burns
Zollinger-Ellison syndromeGastrinoma → Excess acid production
MalignancyGastric cancer can ulcerate
CorticosteroidsWhen combined with NSAIDs

Pathophysiology

Mechanism

Imbalance of Aggressive and Protective Factors:

AggressiveProtective
Gastric acidMucus layer
PepsinBicarbonate secretion
H. pyloriProstaglandins
NSAIDsMucosal blood flow

H. pylori:

  • Produces urease → Neutralizes gastric acid locally
  • Causes chronic inflammation
  • Disrupts mucosal defense

NSAIDs:

  • Inhibit COX-1 → Decrease prostaglandins
  • Reduce mucus and bicarbonate secretion
  • Impair mucosal blood flow

Clinical Presentation

Symptoms

SymptomGastric UlcerDuodenal Ulcer
Epigastric painWorsened by foodRelieved by food
Timing15-30 min after eating2-3 hours after eating, nocturnal
Nausea/VomitingCommonLess common
Weight lossMay occurLess common
BloatingCommonCommon

Symptoms of Complications:

FindingComplication
Hematemesis, melenaBleeding
Sudden severe abdominal painPerforation
Vomiting + distensionGastric outlet obstruction

History

Key Questions:

Physical Examination

FindingSignificance
Epigastric tendernessCommon in gastritis/PUD
PallorAnemia from chronic or acute bleeding
Tachycardia, hypotensionAcute bleeding
Rigid abdomen, reboundPerforation
Positive fecal occult bloodGI bleeding

Epigastric pain character, timing, relation to food
Common presentation.
NSAID or aspirin use
Common presentation.
Prior H. pylori treatment
Common presentation.
Hematemesis, melena, black stools
Common presentation.
Weight loss
Common presentation.
Prior ulcer or GI bleeding
Common presentation.
Alcohol use, smoking
Common presentation.
Red Flags

Complications

FindingConcernAction
Hematemesis or melenaUpper GI bleedingIV PPI, resuscitation, EGD
Rigid abdomenPerforationCT, surgery
Free air on imagingPerforationEmergent surgery
Hypotension, tachycardiaHemorrhagic shockResuscitation
Persistent vomiting + distensionGastric outlet obstructionNG decompression, EGD

Differential Diagnosis

Other Causes of Epigastric Pain

DiagnosisFeatures
GERDHeartburn, regurgitation
Acute pancreatitisRadiates to back, elevated lipase
CholecystitisRUQ pain, Murphy's sign
MI (inferior)Risk factors, ECG changes
Gastric cancerWeight loss, early satiety
Functional dyspepsiaChronic symptoms, negative workup

Diagnostic Approach

Clinical Diagnosis

  • Gastritis and PUD often diagnosed clinically
  • EGD for confirmation and H. pylori testing

H. pylori Testing

Non-Invasive:

TestNotes
Urea breath testHigh sensitivity and specificity; avoid PPIs 2 weeks prior
Stool antigen testUseful for diagnosis and test of cure
Serology (IgG)Indicates exposure, not active infection

Invasive (EGD-Based):

TestNotes
Rapid urease test (CLO)Biopsy-based
HistologyGold standard
CultureAntibiotic susceptibility testing

Imaging

Abdominal X-Ray (Upright):

  • Free air under diaphragm = Perforation

CT Abdomen:

  • Sensitive for perforation, abscess, other pathology

Endoscopy (EGD)

Indications:

IndicationUrgency
Active upper GI bleedingWithin 24 hours
Alarm symptoms (weight loss, anemia, vomiting)Urgent
Refractory symptoms despite PPIElective
Gastric ulcerRule out malignancy

Treatment

Principles

  1. Acid suppression: PPI is cornerstone
  2. H. pylori eradication: If positive
  3. Stop NSAIDs: If possible
  4. Address complications: Bleeding, perforation

Acid Suppression

Proton Pump Inhibitors (PPIs):

AgentDose
Omeprazole20-40 mg daily
Pantoprazole40 mg daily
Esomeprazole20-40 mg daily

Duration: 4-8 weeks for ulcer healing

H. pylori Eradication

First-Line Triple Therapy:

ComponentDoseDuration
PPIBID14 days
Clarithromycin500 mg BID14 days
Amoxicillin1 g BID14 days

Alternative (Penicillin Allergy):

ComponentDoseDuration
PPIBID14 days
Clarithromycin500 mg BID14 days
Metronidazole500 mg BID14 days

Quadruple Therapy (Bismuth):

ComponentDoseDuration
PPIBID14 days
Bismuth subsalicylate524 mg QID14 days
Metronidazole500 mg TID14 days
Tetracycline500 mg QID14 days

NSAID-Related Ulcer

  • Discontinue NSAID if possible
  • PPI therapy for healing
  • If NSAID must be continued: Use lowest effective dose + PPI co-therapy
  • Consider COX-2 selective NSAID (lower GI risk)

Bleeding Ulcer

InterventionDetails
ResuscitationIV fluids, blood transfusion if needed
IV PPIPantoprazole 80 mg bolus → 8 mg/hr infusion × 72 hours
EGDWithin 24 hours for diagnosis and hemostasis
Transfusion thresholdHgb <7-8 g/dL (general guideline)

Endoscopic Hemostasis:

  • Injection (epinephrine)
  • Thermal coagulation
  • Clips

Perforated Ulcer

InterventionDetails
NPOBowel rest
NG tubeDecompression
IV fluidsResuscitation
IV antibioticsBroad-spectrum (pip-tazo or ceftriaxone + metronidazole)
Emergent surgeryPrimary closure or definitive surgery

Disposition

Discharge Criteria

  • Uncomplicated gastritis/PUD
  • Pain controlled
  • Able to tolerate oral PPI
  • No signs of bleeding or perforation
  • Follow-up arranged

Admission Criteria

  • Active GI bleeding
  • Perforation
  • Unable to tolerate oral intake
  • Severe pain not controlled
  • High-risk features (hemodynamic instability, comorbidities)

Referral

IndicationReferral
Gastric ulcerEGD to rule out malignancy
Refractory symptomsGI
Bleeding ulcerGI (endoscopy)
PerforationSurgery

Follow-Up

SituationFollow-Up
Uncomplicated PUDPCP in 2-4 weeks
H. pylori treatedTest of cure 4 weeks after completing therapy
Gastric ulcerRepeat EGD in 8-12 weeks to confirm healing

Patient Education

Condition Explanation

  • "You have inflammation or ulcers in your stomach lining."
  • "This is often caused by a bacteria called H. pylori or by medications like ibuprofen."
  • "A medication called a PPI will help heal the ulcer by reducing acid."

Home Care

  • Take PPI as directed
  • Complete H. pylori treatment if prescribed
  • Avoid NSAIDs (ibuprofen, naproxen, aspirin unless prescribed)
  • Avoid alcohol and smoking
  • Eat smaller, more frequent meals

Warning Signs to Return

  • Vomiting blood or "coffee ground" material
  • Black, tarry stools
  • Sudden severe abdominal pain
  • Dizziness or fainting
  • Worsening symptoms despite treatment

Special Populations

Elderly

  • Higher risk of complications (bleeding, perforation)
  • Be cautious with NSAIDs
  • Lower threshold for EGD

NSAID Users

  • Always consider PUD
  • Co-prescribe PPI if NSAIDs necessary
  • Consider COX-2 selective agents

Patients on Anticoagulation

  • Higher bleeding risk
  • Balance anticoagulation needs with GI risk
  • PPI co-therapy if on anticoagulation + NSAID

Quality Metrics

Performance Indicators

MetricTargetRationale
H. pylori testing for PUD>0%Identify treatable cause
NSAID cessation counseled100%Prevent recurrence
IV PPI for bleeding ulcer100%Guideline adherence
EGD within 24h for bleeding>0%Reduce rebleeding risk

Documentation Requirements

  • NSAID and aspirin use
  • H. pylori testing or treatment
  • PPI prescribed
  • Red flag assessment
  • Bleeding status
  • Follow-up plan

Key Clinical Pearls

Diagnostic Pearls

  • Duodenal ulcer: Pain relieved by food: Classic
  • Gastric ulcer: Pain worsened by food: And may have weight loss
  • H. pylori is most common cause: Test and treat
  • NSAIDs are second most common: Stop if possible
  • Gastric ulcer = EGD to rule out cancer: Always
  • Free air = Perforation: Emergent surgery

Treatment Pearls

  • PPIs are cornerstone: For acid suppression
  • Triple therapy for H. pylori: PPI + clarithromycin + amoxicillin × 14 days
  • IV PPI for bleeding ulcer: High-dose infusion
  • Stop NSAIDs: And consider COX-2 selective if must use
  • EGD within 24 hours for bleeding: Diagnosis and hemostasis
  • Test of cure after H. pylori treatment: Confirm eradication

Disposition Pearls

  • Uncomplicated gastritis/PUD can be discharged: With PPI
  • Admit for bleeding or perforation: Life-threatening
  • Repeat EGD for gastric ulcers: Confirm healing, rule out cancer
  • Follow-up essential: H. pylori cure, symptom resolution

References
  1. Chey WD, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. Am J Gastroenterol. 2017;112(2):212-239.
  2. Laine L, et al. Management of patients with ulcer bleeding. Am J Gastroenterol. 2012;107(3):345-360.
  3. Malfertheiner P, et al. Management of Helicobacter pylori infection—the Maastricht V/Florence Consensus Report. Gut. 2017;66(1):6-30.
  4. Lau JY, et al. Endoscopy for upper gastrointestinal bleeding. N Engl J Med. 2010;362(16):1493-1502.
  5. Ramakrishnan K, Salinas RC. Peptic Ulcer Disease. Am Fam Physician. 2007;76(7):1005-1012.
  6. Sverdén E, et al. Use of proton pump inhibitors and the risk of gastric cancer. JAMA Oncol. 2018;4(4):e175855.
  7. NICE Guideline. Gastro-oesophageal reflux disease and dyspepsia in adults. 2014.
  8. UpToDate. Peptic ulcer disease: Treatment and secondary prevention. 2024.

At a Glance

EvidenceStandard
Last UpdatedRecently

Guidelines

  • NICE Guidelines
  • BTS Guidelines
  • RCUK Guidelines