Choledocholithiasis is when you have a gallstone in your common bile duct. That’s the duct that carries bile from your gallbladder. Gallstones in this narrow passageway pose a risk of obstructing the flow of bile. An obstruction can cause pain, inflammation and serious complications.