What diagnostic evaluation and management are recommended for a 37‑year‑old man with an 11‑month history of epigastric pain that worsens on an empty stomach, persistent despite prior Helicobacter pylori eradication and standard‑dose proton pump inhibitor therapy, who also reports fatigue, occasional leg cramps, foul‑smelling loose stools, belching, intermittent chest‑type pain, halitosis, underwent cholecystectomy two months ago, has pre‑diabetes (hemoglobin A1c 5.5 %) and vitamin D deficiency (30.6 ng/mL), and has normal abdominal computed tomography and ultrasound?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: March 7, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Recommended Diagnostic Evaluation and Management

This patient requires upper endoscopy with duodenal biopsies to screen for celiac disease, given the constellation of persistent epigastric pain despite H. pylori eradication and PPI therapy, combined with malabsorptive symptoms (foul-smelling loose stools, fatigue, leg cramps). 1

Diagnostic Approach

Immediate Testing Required

Upper endoscopy is indicated because:

  • Symptoms persist 11 months despite appropriate H. pylori treatment and PPI therapy
  • The presence of overlapping dyspepsia and IBS-type symptoms (loose stools, belching) specifically warrants celiac screening 1
  • Foul-smelling stools suggest malabsorption
  • Leg cramps may indicate electrolyte abnormalities or nutritional deficiencies from malabsorption

During endoscopy, obtain:

  • Duodenal biopsies for celiac disease evaluation (this is the critical diagnostic step given the symptom pattern)
  • Gastric biopsies to confirm H. pylori eradication and assess for atrophic gastritis
  • Evaluation for peptic ulcer disease or other mucosal pathology

Additional Laboratory Testing

Obtain the following bloodwork:

  • Tissue transglutaminase IgA with total IgA level (celiac screening)
  • Complete blood count (recommended for age ≥55 years per guidelines, though this patient is 37) 1
  • Comprehensive metabolic panel (to assess electrolytes given leg cramps)
  • Iron studies, B12, folate (malabsorption markers)
  • Fecal calprotectin or fecal elastase if inflammatory bowel disease or pancreatic insufficiency suspected

Important caveat: The British Society of Gastroenterology guidelines specifically state that routine celiac screening is NOT recommended in general dyspepsia populations, but IS recommended when dyspepsia overlaps with IBS-type symptoms, which this patient clearly has 1.

Management Strategy

If Celiac Disease is Confirmed

  • Strict gluten-free diet
  • Nutritional supplementation as needed
  • Repeat endoscopy in 1-2 years to confirm mucosal healing

If Celiac Disease is Excluded

Second-line treatment for functional dyspepsia:

Initiate tricyclic antidepressant (TCA) as a gut-brain neuromodulator 1:

  • Start amitriptyline 10 mg once daily at bedtime
  • Titrate slowly to 30-50 mg once daily based on response
  • Explain this is for pain modulation, not depression
  • Counsel about side effects (dry mouth, drowsiness, constipation)

This is a strong recommendation with moderate quality evidence for refractory functional dyspepsia 1.

Alternative second-line options if TCA contraindicated or not tolerated:

  • Sulpiride 100 mg four times daily or levosulpiride 25 mg three times daily 1
  • These require careful explanation and counseling about side effects

Concurrent Supportive Measures

Lifestyle modifications (strong recommendation):

  • Regular aerobic exercise 1
  • Avoid opioids completely 2

Optimize acid suppression:

  • If not already done, ensure PPI was taken correctly (30 minutes before breakfast, adequate duration)
  • Consider switching PPI formulation or trying H2-receptor antagonist as alternative 1

Address Comorbidities

Pre-diabetes (A1c 5.5%):

  • Continue lifestyle modifications
  • The vitamin D level of 30.6 ng/mL is adequate (>30 ng/mL is generally considered sufficient) 3
  • While some evidence suggests vitamin D supplementation may reduce progression to diabetes in high-risk prediabetes, this patient's current level does not mandate supplementation 3, 4

Post-cholecystectomy status:

  • Consider bile acid malabsorption as contributor to loose stools
  • Trial of bile acid sequestrant (cholestyramine) if diarrhea persists after celiac exclusion

Critical Pitfalls to Avoid

  1. Do not dismiss the malabsorptive symptoms - foul-smelling stools with nutritional deficiencies (fatigue, leg cramps) demand investigation beyond functional dyspepsia
  2. Do not prescribe opioids for this chronic gastrointestinal pain 2
  3. Do not repeat H. pylori testing unless the patient has increased gastric cancer risk, which is not indicated here 1
  4. Do not perform gastric emptying studies or 24-hour pH monitoring routinely in typical functional dyspepsia 1

Follow-up Plan

  • If symptoms persist after celiac exclusion and TCA trial, refer to gastroenterology specialist clinic with access to dietetic support and gut-brain behavioral therapies 1
  • Consider multidisciplinary team involvement if symptoms remain severe or refractory 1
  • Avoid surgery for functional dyspepsia to minimize iatrogenic harm 1

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.