In our cohort, the proportion of women aged 45–55 years accounted for 59.1% of middle-aged women, and estrogen-mediated the effects of HGB levels on bone in middle-aged women (57); therefore, in patients with T2DM, the HGB-BMD correlation was more significant in middle-aged women. The gene discussed is CYGB; the disease is type 2 diabetes mellitus.