BGLAP and type 2 diabetes mellitus: Therefore, the different associations between N-MID with the TyG index rather than HOMA-IR in patients with T2D may be due to the direct and indirect mechanisms by which osteocalcin affects glucose metabolism.