Vitamin D levels in the group of patients who exercised regularly, controlled blood pressure and HbA1c were statistically significantly higher than those who did not exercise, uncontrolled blood pressure and HbA1c (p < 0.05).