You will be given intravenous sedation to perform this procedure comfortably without any pain or discomfort. While you are asleep, an endoscope is passed through the mouth gently into the upper gastrointestinal tract. The endoscope doesn’t interfere with your breathing. Once the scope is passed all the way into the small intestine, a thin catheter is passed into the bile duct and a dye injected so that the bile ducts can be seen using x-rays (fluoroscopy). Sometimes the opening of the bile duct will be cut by making a small incision if there are stones that need to be removed or if a stent needs to be placed.