Genetic determination of pancreatitis