RecruitingDiagnostic testPancreatic Quantitative Sensory Testing (P-QST) to Predict Treatment Response for Pain in Chronic PancreatitisAbdominal pain in chronic pancreatitis (CP) affects up to 90% of patients during the course of their disease, and response to currently available therapies is suboptimal and unpredictable. The proposed clinical trial will evaluate the predictive capability of Pancreatic Quantitative Sensory Testing (P-QST) - a novel assessment of neurosensory phenotyping- for improvement in pain in patients with CP who are undergoing medically-indicated invasive treatment with endoscopic therapy or surgery.