Most of the calculus embedded in a duct are the result of an imbalance in the chemical composition of bile.
If a large stone blocks the cystic duct or the common bile duct (choledocholithiasis), you may have cramping pain from the middle to the upper-right abdomen, known as biliary colic. The pain goes away if the stone passes into the first part of the small intestine (the duodenum).
This pain occurs when something blocks the normal flow of bile from the gallbladder. Bile is a fluid that helps digest fats. Normally, bile produced by the liver and stored in the gallbladder. When you eat a meal, bile moves from the gallbladder through the cystic duct and from the common bile duct to the small intestine, where it is mixed with food.