Impact of genetic testing and smoking on the distribution of risk factors in patients with recurrent acute and chronic pancreatitis