The system demonstrated efficacy and safety in insulin dosage titration, showing noninferiority compared with the performance of senior physicians in treating hospitalized patients with T2D in specialized endocrinology wards. Here, INS is linked to type 2 diabetes mellitus.