Therefore, in this EHR-based study, we aimed to investigate the association between osteocalcin and the risks of all-cause and cardiovascular disease (CVD) mortality among patients with type 2 diabetes. This evidence concerns the gene BGLAP and type 2 diabetes mellitus.