This study aimed to investigate the effectiveness and safety of a weight-based and ratio of 1:1.5 basal-bolus insulin using an algorithm for both initiation and titration in hospitalized patients with type 2 diabetes (T2D). The gene discussed is INS; the disease is type 2 diabetes mellitus.