Workup for Possible Stomach Ulcer in Primary Care
In primary care, the appropriate workup for a possible gastric ulcer depends critically on patient age and the presence of alarm symptoms: patients under 45 years without alarm features should undergo non-invasive H. pylori testing (urea breath test or stool antigen test preferred), while those 45 years or older, or any age with alarm symptoms, require urgent referral for endoscopy. 1, 2
Age-Based Stratification
Patients Under 45 Years Without Alarm Symptoms
For younger patients presenting with dyspeptic symptoms suggestive of peptic ulcer disease:
If H. pylori positive: Initiate eradication therapy immediately without endoscopy 2
- This approach eliminates peptic ulcer mortality risk even if symptoms persist 1
If H. pylori negative: Empirical trial of full-dose PPI therapy (e.g., omeprazole 20 mg daily) for 4-8 weeks 1, 3
Important caveat: This test-and-treat strategy is only appropriate if symptoms have been present for ≥4 weeks. Patients with symptoms <4 weeks can be managed with reassurance, over-the-counter medications, and watchful waiting 1
Patients 45 Years or Older
Mandatory endoscopy referral for any patient ≥45 years with new-onset or changed dyspeptic symptoms 5, 2, 5
The rationale is clear: gastric cancer incidence rises significantly after age 45 (standardized incidence rate 19 per 100,000 for men, 9 per 100,000 for women in Europe) 2. The age cutoff may be lower depending on local gastric cancer incidence 2.
Alarm Symptoms Requiring Immediate Endoscopy (Any Age)
Refer urgently for endoscopy if any of the following are present 1, 2:
- Anemia (unexplained iron deficiency or documented)
- Unintentional weight loss
- Progressive dysphagia (difficulty swallowing)
- Persistent vomiting
- Palpable abdominal mass
- Evidence of gastrointestinal bleeding (hematemesis, melena)
- Family history of gastric cancer (particularly in first-degree relatives)
Special Populations
Chronic NSAID Users
All patients on regular NSAIDs should be referred for endoscopy regardless of age 1
NSAIDs are a major independent risk factor for peptic ulcer disease, and H. pylori testing alone is insufficient in this population 5, 6. The combination of H. pylori infection and NSAID use substantially increases ulcer risk 6, 7.
Patients with Known History of Gastric Ulcer
Mandatory endoscopy with biopsy until healing is confirmed 2
Unlike duodenal ulcers, gastric ulcers require endoscopic surveillance because malignancy can masquerade as benign ulceration 2.
Clinical Evaluation Essentials
Before testing, perform careful history taking to:
- Distinguish dyspepsia from GORD: Patients with predominant heartburn (>1x/week) or acid regurgitation should be managed as GERD, not dyspepsia 3
- Exclude irritable bowel syndrome: Patients with typical IBS symptoms should not undergo endoscopy 5
- Document predominant symptom: Epigastric pain (ulcer-like) versus fullness/bloating (dysmotility-like) guides subsequent therapy if H. pylori testing is negative 1
- Medication review: Document all NSAIDs, aspirin, anticoagulants, corticosteroids, SSRIs, and bisphosphonates 6
Common Pitfalls to Avoid
- Do not test for H. pylori unless you intend to treat a positive result 8
- Serology cannot confirm eradication - use urea breath test or stool antigen test for post-treatment confirmation 4, 8
- Do not defer endoscopy in older patients hoping for response to empirical therapy - this delays cancer diagnosis 5
- Recognize that test-and-treat will not relieve symptoms in all H. pylori-positive patients (including some with actual ulcers), but it eliminates ulcer mortality risk 1
- Patients with symptoms <4 weeks do not require immediate testing - initial conservative management is appropriate 1
Follow-Up Strategy
- If symptoms resolve with H. pylori eradication or PPI therapy: No further investigation needed 3
- If symptoms persist despite appropriate therapy in young patients without alarm features: Endoscopy adds little diagnostic value but may be considered for reassurance, though evidence suggests limited benefit in highly anxious patients 3
- Confirmation of H. pylori eradication is important to prevent future morbidity, though may not be necessary in uncomplicated cases where symptoms completely resolve 2
This algorithmic approach balances the need to identify serious pathology (particularly gastric cancer) while avoiding unnecessary endoscopy in low-risk patients, making it both clinically sound and cost-effective for primary care practice.