Endoscopic retrograde cholangiopancreatography (ERCP) is a procedure that combines upper gastrointestinal (GI) endoscopy and x rays to treat problems of the bile and pancreatic ducts. ERCP is also used to diagnose problems, but the availability of non-invasive tests such as magnetic resonance cholangiography has allowed ERCP to be used primarily for cases in which it is expected that treatment will be delivered during the procedure.
When is ERCP used?
ERCP is used when it is suspected a personâ€™s bile or pancreatic ducts may be narrowed or blocked due to:
- gallstones that form in the gallbladder and become stuck in the ducts
- inflammation due to trauma or illness, such as pancreatitis - inflammation of the pancreas
- valves in the ducts, called sphincters, that wonâ€™t open properly
- scarring of the ducts, called sclerosis
- pseudocysts - accumulations of fluid and tissue debris
How ERCP is Performed
ERCP is conducted at a hospital or outpatient center by a doctor and assistants who have specialized training in this procedure. Patients receive a local anesthetic that is gargled or sprayed on the back of the throat. The anesthetic numbs the throat and calms the gag reflex.
An intravenous needle is inserted into a vein in the arm if sedatives will be given. Doctors and other medical staff monitor vital signs while patients are sedated.
During ERCP, patients lie on their back or side on an x-ray table. The doctor inserts an endoscope down the esophagus, through the stomach, and into the duodenum. Video is transmitted from a small camera attached to the endoscope to a computer screen within the doctorâ€™s view. Air is pumped through the endoscope to inflate the stomach and duodenum, making them easier for the doctor to examine.
When the doctor locates the duodenal papilla, a blunt tube called a catheter is slid through the endoscope and guided through the papillary opening. Once the catheter is inside the papilla, the doctor injects a dye into the ducts. The dye, also called contrast medium, allows the ducts to be seen on x rays. X rays are then taken to see the ducts and to look for narrowed areas or blockages.
Procedures to treat narrowed areas or blockages can be performed during ERCP. To see the ducts during treatment procedures, the doctor uses x-ray video, also called fluoroscopy. Special tools guided through the endoscope and into the ducts allow the doctor to open blocked ducts, break up or remove gallstones, remove tumors in the ducts, or insert stents. Stents are plastic or expandable metal tubes that are left in narrowed ducts to restore the flow of bile or pancreatic juice. A kind of biopsy called brush cytology allows the doctor to remove cells from inside the ducts using a brush that fits through the endoscope. The collected cells are later examined with a microscope for signs of infection or cancer.
Occasionally, ERCP is done after gallbladder surgery, if a surgical bile leak is suspected, to find and stop the leak with a temporary stent.