Endoscopic retrograde cholangiopancreatography (ERCP) is an invasive longer endoscopic procedure. It is performed in remote locations under a continuum of anesthetic depth, ranging from conscious to deep sedation leading to general anesthesia.