What is the recommended evaluation and treatment for a 39-year-old patient with left-sided deep aching pain under the rib cage, two years after gastric surgery and five years after cholecystectomy?

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: September 16, 2026 • View editorial policy

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.

Evaluation and Management of Left-Sided Deep Aching Pain Post-Gastric Surgery

This patient requires urgent evaluation for internal hernia with CT abdomen/pelvis, as this is a potentially life-threatening complication after gastric surgery that can present with chronic, vague abdominal pain and must be excluded first.

Immediate Priority: Rule Out Life-Threatening Complications

Given the history of gastric surgery two years ago, internal hernia is the most critical diagnosis to exclude, as it can present with intermittent, vague abdominal pain and may be missed on imaging 1, 2. Obtain CT abdomen/pelvis immediately - even if imaging appears normal, exploratory laparoscopy may be indicated if clinical suspicion remains high, as internal hernias are frequently missed on CT scans 1, 2.

Additional Urgent Considerations:

  • Marginal ulcer at the surgical anastomosis - common cause of chronic pain post-gastric surgery
  • Small intestinal bacterial overgrowth (SIBO) in the biliopancreatic limb 1, 2
  • Biliary pathology - despite prior cholecystectomy, retained cystic duct stones or bile duct issues can occur 3

Systematic Diagnostic Approach

Step 1: Characterize the Pain Pattern

  • Intermittent cramping periumbilical pain → strongly suggests internal hernia 1, 2
  • Postprandial pain with nausea/vomiting → consider marginal ulcer, stricture, or dumping syndrome 1, 2
  • Right upper quadrant component → biliary pathology despite cholecystectomy 4, 3
  • Pain with eating, early satiety → anastomotic issues or stricture 1

Step 2: Initial Workup

  1. CT abdomen/pelvis with IV contrast - first-line imaging 1, 2

    • Look for: bowel obstruction, mesenteric swirl sign, clustered loops
    • Note: Normal CT does NOT exclude internal hernia
  2. Laboratory studies:

    • Complete metabolic panel, liver function tests
    • Lipase (pancreatic complications)
    • CBC (anemia from marginal ulcer)
    • Vitamin B12, iron studies, vitamin D (nutritional deficiencies) 1
  3. Upper endoscopy - essential for evaluating anastomotic complications 2

    • Assess for marginal ulcers, strictures, gastrogastric fistula
    • Obtain biopsies if indicated
    • Test for H. pylori 1, 2

Step 3: Targeted Evaluation Based on Findings

If CT shows no acute pathology but pain persists:

  • Upper GI series with small bowel follow-through - may reveal intermittent obstruction
  • Abdominal ultrasound - evaluate for biliary pathology (retained stones, bile duct dilation) 4, 3
  • Consider MRCP if biliary pathology suspected and ultrasound inconclusive

If endoscopy negative:

  • Trial of empiric treatment for SIBO with metronidazole or rifaximin 1, 2
  • Evaluate for dumping syndrome (dietary history, glucose tolerance testing)
  • Consider breath testing for SIBO if available

Treatment Algorithm

For Specific Diagnoses:

Internal Hernia:

  • Immediate surgical referral - exploratory laparoscopy/laparotomy indicated 1, 2
  • This is a surgical emergency even with intermittent symptoms

Marginal Ulcer:

  • Proton pump inhibitor (high-dose, 90 days to 1 year) 2
  • H2 blockers and sucralfate as adjuncts 1, 2
  • If H. pylori positive: triple therapy (antibiotics + bismuth + PPI) 2
  • Avoid NSAIDs completely - they cause anastomotic ulceration/perforation 1

SIBO:

  • Empiric trial of metronidazole or rifaximin 1, 2
  • If refractory: probiotics (Lactobacillus plantarum 299v or Lactobacillus GG) 1, 2
  • Check thiamine levels - SIBO increases deficiency risk 2

Biliary Pathology:

  • Ultrasound first for right upper quadrant pain 4
  • If symptomatic choledocholithiasis: ERCP may be challenging post-gastric surgery
  • Consider prophylactic cholecystectomy if asymptomatic stones found (to avoid future complications when ERCP access is limited) 2

Musculoskeletal/Nerve Injury:

  • If pain is reproducible with palpation at port sites → intercostal neuroma 5, 6
  • Diagnostic intercostal nerve block
  • If positive: consider neurectomy with muscle implantation 5

Critical Pitfalls to Avoid

  1. Do not dismiss vague, intermittent pain - internal hernias present this way and are life-threatening 1, 2

  2. Do not rely solely on imaging - if clinical suspicion for internal hernia is high, proceed to diagnostic laparoscopy even with negative CT 1, 2

  3. Do not overlook nutritional deficiencies - chronic pain may be accompanied by B12, iron, vitamin D deficiency requiring supplementation 1

  4. Do not prescribe NSAIDs - absolute contraindication post-bariatric surgery due to ulceration/perforation risk 1

  5. Do not delay surgical consultation - persistent symptoms warrant bariatric surgeon evaluation, not prolonged conservative management 1, 2

When Conservative Management Fails

Indications for surgical re-exploration:

  • Recurrent episodes of severe abdominal pain despite negative workup 1, 2
  • Progressive symptoms with weight loss or inability to eat
  • Any signs of bowel obstruction (even intermittent)
  • Refractory marginal ulcers despite maximal medical therapy

The threshold for diagnostic laparoscopy should be low in post-gastric surgery patients with chronic pain, as many serious complications (internal hernias, adhesions, chronic intussusception) cannot be reliably excluded by imaging alone 1, 2, 7, 8.

References

Guideline

acr appropriateness criteria<sup>®</sup> right upper quadrant pain.

Journal of the American College of Radiology, 2019

Research

Diagnosis and treatment options for chronic abdominal pain after Roux-en-Y gastric bypass.

Surgery for obesity and related diseases : official journal of the American Society for Bariatric Surgery, 2026

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.