A 62-year-old man with long-standing type 2 diabetes mellitus secondary to chronic pancreatitis with a tendency to hypoglycemia due to the administration of fast insulin, multiple admissions due to urinary infections and functional impairment.