Age (Beta = - 0.3, p = 0.000), number of complications (Beta = - 3.5, p = 0.002), comorbidities (Beta = - 1.5, p = 0.03), and the HbA1c index (Beta = - 1.3, p = 0.02) were factors influencing mental health composite score.