Having an ERCP endoscopy procedure to examine or treat conditions of the biliary system