Patients with type 2 diabetes mellitus have higher risk for acute pancreatitis compared with those without diabetes