Question: why ercp test is done?
Answer: Doctors use ERCP to treat problems of the bile and pancreatic ducts. Doctors also use ERCP to diagnose problems of the bile and pancreatic ducts if they expect to treat problems during the procedure. For diagnosis alone, doctors may use noninvasive tests—tests that do not physically enter the body—instead of ERCP.