Treatment of AIDS Cholangiopathy Endoscopic procedures Endoscopic sphincterotomy, often done during endoscopic retrograde cholangiopancreatography, can markedly relieve pain, jaundice, and cholangitis in patients with papillary stenosis.