As the baseline osteocalcin levels increased, the baseline age, duration of diabetes, BMI, blood pressure, cholesterol profiles, and HbA1c of the patients showed a linear trend across the quintiles (P for non-linearity > 0.05). This evidence concerns the gene BGLAP and diabetes mellitus.