The proportion of patients with a diabetes duration of > 5 years was higher in patients with mental disorders, as was that of those prescribed insulin or ≥ 3 oral hypoglycemic agents. Here, INS is linked to diabetes mellitus.