What is the likely cause and emergency management for a woman with right upper quadrant pain near the ribcage, bile‑colored vomiting, and a previously palpable gallstone that is now absent?

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: October 26, 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.

Emergency Management of Suspected Gallstone Migration with Cholangitis

This patient requires urgent ERCP with biliary sphincterotomy and stone extraction within 72 hours, or within 24 hours if showing signs of severe sepsis or deterioration. 1

Clinical Presentation Analysis

The constellation of right upper quadrant pain near the ribcage, bile-colored (very yellow acidic) vomiting, and a previously palpable mass that has now disappeared strongly suggests choledocholithiasis with biliary obstruction — the gallstone has migrated from the gallbladder into the common bile duct 2.

The bile-colored vomiting indicates:

  • Biliary obstruction causing reflux of bile into the stomach
  • Possible ascending cholangitis (infection of the obstructed biliary tree)
  • Potential for acute gallstone pancreatitis

Immediate Assessment Required

Look specifically for:

  • Fever and signs of sepsis (tachycardia, hypotension, altered mental status)
  • Jaundice (scleral icterus, dark urine)
  • Charcot's triad: RUQ pain + fever + jaundice (cholangitis)
  • Reynolds pentad: Add hypotension + confusion (severe cholangitis)

Obtain:

  • Liver function tests (elevated alkaline phosphatase, ALT, AST, bilirubin suggest biliary obstruction) 3
  • Lipase/amylase (rule out pancreatitis)
  • Complete blood count (leukocytosis suggests infection)
  • Blood cultures if febrile

Diagnostic Imaging Algorithm

  1. Start with ultrasound — first-line imaging for RUQ pain 4

    • Look for: CBD dilation (>6-7mm), intrahepatic ductal dilation, gallbladder wall thickening
    • May not visualize the stone itself if it's in the duct
  2. If ultrasound shows ductal dilation or clinical suspicion remains high: Obtain MRCP 3

    • Superior for visualizing CBD stones and defining anatomy before intervention
    • Non-invasive alternative to diagnostic ERCP

Treatment Algorithm Based on Clinical Severity

If Cholangitis Present (fever + RUQ pain + elevated LFTs):

Urgent intervention required 1:

  • Start broad-spectrum IV antibiotics immediately
  • ERCP with sphincterotomy and stone extraction within 72 hours 1
  • If severe sepsis or deteriorating despite antibiotics: ERCP within 24 hours 1
  • If ERCP unavailable or fails: percutaneous biliary drainage 1

The 2017 Gut guidelines are explicit that patients with cholangitis or persistent biliary obstruction require endoscopic intervention within 72 hours, with success rates of approximately 90% for stone extraction 2. The timing distinction matters: while 72 hours is the standard window, patients showing septic shock require more urgent decompression within 24 hours 1.

If Acute Pancreatitis Develops:

  • ERCP is indicated only if concurrent cholangitis or persistent biliary obstruction 1
  • Without these complications, early routine ERCP does not improve mortality or complications in pancreatitis 1
  • Cholecystectomy should be performed during same admission once pancreatitis resolves (if mild) 1

Definitive Management:

After successful stone extraction via ERCP:

  • Laparoscopic cholecystectomy should still be performed to prevent recurrent biliary events 1
  • Sphincterotomy alone reduces recurrence risk but is less effective than cholecystectomy 1
  • Greatest risk reduction occurs with both sphincterotomy and cholecystectomy 1

Critical Pitfalls to Avoid

  1. Delaying ERCP in cholangitis: The 72-hour window is evidence-based; delays increase mortality 1

  2. Assuming ERCP alone is sufficient: Even after successful duct clearance, the gallbladder remains a source for future stones and complications 1

  3. Missing severe sepsis indicators: Patients with hypotension or mental status changes need intervention within 24 hours, not 72 1

  4. Relying on ultrasound alone: CBD stones are frequently missed on ultrasound; if clinical suspicion is high with ductal dilation, proceed to MRCP or directly to ERCP 2, 3

  5. Performing early ERCP in pancreatitis without cholangitis: This does not improve outcomes and adds procedural risk 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.