Epigastric Tenderness Worse When Lying Flat
The most likely diagnosis is gastroesophageal reflux disease (GERD) or peptic ulcer disease (PUD), and you should initiate empiric proton pump inhibitor therapy while arranging upper endoscopy if symptoms persist or alarm features are present.
Diagnostic Approach
The positional worsening (supine exacerbation) is a classic feature of GERD, as lying flat facilitates acid reflux into the esophagus 1. However, PUD can also present with similar positional symptoms and must be considered in the differential 1, 2.
Key Clinical Distinctions
For GERD:
- Symptoms worsen when lying flat or bending over
- May have associated heartburn, regurgitation, or nocturnal cough
- Diagnosis relies on clinical presentation, though symptoms are nonspecific and overlap with other conditions 1
For PUD:
- Incidence of 0.1-0.3%, but complications occur in 2-10% of cases 1
- PUD-related perforation carries up to 30% mortality and is a surgical emergency 1
- Must assess for Helicobacter pylori infection
Critical Red Flags to Exclude
Before proceeding with empiric therapy, actively exclude:
- Cardiac causes: Acute coronary syndrome can present as epigastric pain 2
- Acute pancreatitis: Check lipase level 3
- Biliary disease: Particularly in older adults, who may present atypically 4
- Perforated viscus: Assess for peritoneal signs
Management Algorithm
Initial Steps:
- Physical examination specifics: Look for peritoneal signs (rigidity, rebound), Murphy's sign, and cardiovascular findings
- Laboratory testing: Complete blood count, lipase, liver function tests, and pregnancy test if applicable 3
- Empiric PPI therapy: Initiate immediately for symptom relief while awaiting further workup
Imaging Decisions:
When to image immediately:
- Hemodynamic instability
- Peritoneal signs suggesting perforation
- Older adults (higher risk of atypical presentations) 4
- Severe or persistent symptoms despite empiric therapy
Imaging modality selection:
CT abdomen/pelvis with IV contrast is the appropriate initial imaging if PUD or complications are suspected 1
- Use neutral oral contrast (water or dilute barium), not positive contrast, to assess mucosal enhancement and intraluminal bleeding 1
- CT can detect perforation with 95% sensitivity and 93% specificity when wall defect/ulcer and wall thickening are combined 1
- Findings include: gastric/duodenal wall thickening, mucosal hyperenhancement, extraluminal gas (97% in perforation), focal wall defects 1
Ultrasound may be used as first-line in the emergency setting for rapid bedside assessment 5
Endoscopy Indications:
Upper endoscopy is the gold standard for diagnosing GERD, esophagitis, gastritis, and PUD 1. Arrange endoscopy if:
- Symptoms persist despite 4-6 weeks of PPI therapy
- Alarm features present (weight loss, dysphagia, bleeding, anemia)
- Age >50 with new-onset symptoms
- To confirm diagnosis and assess for H. pylori
Common Pitfalls
- Missing cardiac etiology: Always consider acute coronary syndrome in the differential of epigastric pain 2
- Delaying imaging in older adults: They frequently present with atypical symptoms and higher complication rates 4
- Using positive oral contrast for CT: This impedes assessment of mucosal enhancement and intraluminal bleeding 1
- Overlooking perforation: Extraluminal gas is present in 97% of perforations; this is a surgical emergency 1