A non-transitory computer readable medium having stored therein instructions executable by a computing device to cause the computing device to perform functions comprising: receiving information associated with a glucose measurement value of a patient; receiving information associated with anticipated nutrition intake for the patient; receiving information indicating a short-acting insulin-on-board for the patient, wherein short-acting insulin-on-board is associated with an amount of short-acting insulin that remains in the patient due to a prior insulin administration; based, at least in part, on the information associated with the glucose measurement value of the patient, the anticipated nutrition intake for the patient and the short-acting insulin-on-board, determining a short-acting subcutaneous insulin dosage recommendation and/or an intravenous insulin dosage recommendation; receiving information indicating a confirmation of a nutrition intake for the patient; receiving information indicating a long-acting insulin-on-board for the patient, wherein long-acting insulin-on-board is associated with an amount of long-acting insulin that remains in the patient due to a prior insulin administration; based, at least in part, on the received information associated with the long-acting insulin-on-board for the patient, the glucose measurement value of the patient, and the confirmation of the nutrition intake for the patient, determining a required long-acting subcutaneous or intravenous insulin dosage for the patient; adjusting the short-acting subcutaneous insulin dosage or intravenous insulin dosage recommendation based on a difference between the long-acting insulin-on-board and the required long-acting subcutaneous or intravenous insulin dosage such that the short-acting subcutaneous insulin dosage or intravenous insulin dosage recommendation is lowered if the difference between the long-acting insulin-on-board and the required long-acting insulin dosage is less than a predetermined value and/or the long-acting insulin-on-board is more than the required long-acting insulin dosage; and the short-acting subcutaneous insulin dosage or intravenous insulin dosage recommendation is increased if the difference between the long-acting insulin-on-board and the required long-acting insulin dosage is bigger than the predetermined value and the long-acting insulin-on-board is less than the required long-acting insulin dosage; and outputting an indication of the adjusted short-acting subcutaneous or intravenous insulin dosage recommendation. receiving information associated with a glucose measurement value of a patient; receiving information associated with anticipated nutrition intake for the patient; receiving information indicating a short-acting insulin-on-board for the patient, wherein short-acting insulin-on-board is associated with an amount of short-acting insulin that remains in the patient due to a prior insulin administration; based, at least in part, on the information associated with the glucose measurement value of the patient, the anticipated nutrition intake for the patient and the short-acting insulin-on-board, determining a short-acting subcutaneous insulin dosage recommendation and/or an intravenous insulin dosage recommendation; receiving information indicating a confirmation of a nutrition intake for the patient; receiving information indicating a long-acting insulin-on-board for the patient, wherein long-acting insulin-on-board is associated with an amount of long-acting insulin that remains in the patient due to a prior insulin administration; based, at least in part, on the received information associated with the long-acting insulin-on-board for the patient, the glucose measurement value of the patient, and the confirmation of the nutrition intake for the patient, determining a required long-acting subcutaneous or intravenous insulin dosage for the patient; adjusting the short-acting subcutaneous insulin dosage or intravenous insulin dosage recommendation based on a difference between the long-acting insulin-on-board and the required long-acting subcutaneous or intravenous insulin dosage such that the short-acting subcutaneous insulin dosage or intravenous insulin dosage recommendation is lowered if the difference between the long-acting insulin-on-board and the required long-acting insulin dosage is less than a predetermined value and/or the long-acting insulin-on-board is more than the required long-acting insulin dosage; and the short-acting subcutaneous insulin dosage or intravenous insulin dosage recommendation is increased if the difference between the long-acting insulin-on-board and the required long-acting insulin dosage is bigger than the predetermined value and the long-acting insulin-on-board is less than the required long-acting insulin dosage; and outputting an indication of the adjusted short-acting subcutaneous or intravenous insulin dosage recommendation.