ERCP is used primarily to diagnose and treat conditions of the bile ducts, including gallstones, inflammatory strictures (scars), leaks (from trauma and surgery), and cancer. ERCP combines the use of x rays and an endoscope, which is a long, flexible, lighted tube. Through the endoscope, the physician can see the inside of the stomach and duodenum, and inject dyes into the ducts in the biliary tree and pancreas so they can be seen on x rays.
The liver is a large organ that, among other things, makes a liquid called bile that helps with digestion. The gallbladder is a small, pear-shaped organ that stores bile until it is needed for digestion. The bile ducts are tubes that carry bile from the liver to the gallbladder and small intestine. These ducts are sometimes called the biliary tree. The pancreas is a large gland that produces chemicals that help with digestion and hormones such as insulin.
For the procedure, you will lie on your left side on an examining table in an x-ray room. You will be given medication to help numb the back of your throat and a sedative to help you relax during the exam. You will swallow the endoscope, and the physician will then guide the scope through your esophagus, stomach, and duodenum until it reaches the spot where the ducts of the biliary tree and pancreas open into the duodenum. At this time, you will be turned to lie flat on your stomach, and the physician will pass a small plastic tube through the scope. Through the tube, the physician will inject a dye into the ducts to make them show up clearly on x rays. X rays are taken as soon as the dye is injected.