INS and diabetes mellitus: While basic algorithms are easy to follow at the bedside, it is difficult to appropriately manage patients with insulin resistance due to critical illness or in patients with pre-existing diabetes [65]. Hence, more advanced algorithms are incorporated to manage patients in the ICU.