Doctors use Endoscopic Retrograde Cholangiopancreatography to diagnose and treat problems of the bile and pancreatic ducts.