A Classification Algorithm for Types of Diabetes in Chronic Pancreatitis Using Epidemiological Characteristics