<s>[INST] Gall bladder removed 1 1/2 years ago. 2 months ago, severe abdominal bloating and pain to the touch of the right upper quadrant. Pain and bloating lasts for 6-8 hours. Ultrasound found a dilated common bile duct. Mri in a few days. Is this pain from past gallbladder surgery? [/INST] HelloMost likely pain is not related to gall bladder surgery.Pain may be due to acidity.Dilated CBD is itself not a significant finding.Normally CBD is dilated in elderly patient.It may also dilate due to calculus or distal obstruction.You are rightly suggested for MRI.It can evaluate better.You may need upper GI endoscopy.Proper treatment depend upon findings.Take CareDr.Indu Bhushan </s>