A method comprising: executing, by a data processing device, a program configured to: receive patient information for a patient; receive a blood glucose input for a blood glucose measurement of the patient; obtain a blood glucose time associated with measuring the blood glucose measurement; and receive a carbohydrate input indicating a number of carbohydrates the patient is about to consume or has begun consuming; determining, by the data processing device, a multiplier for the patient based on the patient information; determining, by the data processing device, a regular insulin infusion rate for the patient based on the multiplier for the patient and the blood glucose measurement of the patient; determining, by the data processing device, an estimated meal bolus for the patient based on the number of carbohydrates the patient is about to consume or has begun consuming and a carbohydrate-to-insulin ratio for the patient; determining, by the data processing device, an estimated meal bolus infusion rate for the patient based on the estimated meal bolus, an available delivery time, and a configurable constant; determining, by the data processing device, a total insulin infusion rate to administer to the patient based on the regular infusion rate for the patient and the estimated meal bolus infusion rate for the patient; and transmitting the total insulin infusion rate from the data processing device to a patient display and displaying a number of units of insulin corresponding to a value of the total insulin infusion rate on the patient display. executing, by a data processing device, a program configured to: receive patient information for a patient; receive a blood glucose input for a blood glucose measurement of the patient; obtain a blood glucose time associated with measuring the blood glucose measurement; and receive a carbohydrate input indicating a number of carbohydrates the patient is about to consume or has begun consuming; receive patient information for a patient; receive a blood glucose input for a blood glucose measurement of the patient; obtain a blood glucose time associated with measuring the blood glucose measurement; and receive a carbohydrate input indicating a number of carbohydrates the patient is about to consume or has begun consuming; determining, by the data processing device, a multiplier for the patient based on the patient information; determining, by the data processing device, a regular insulin infusion rate for the patient based on the multiplier for the patient and the blood glucose measurement of the patient; determining, by the data processing device, an estimated meal bolus for the patient based on the number of carbohydrates the patient is about to consume or has begun consuming and a carbohydrate-to-insulin ratio for the patient; determining, by the data processing device, an estimated meal bolus infusion rate for the patient based on the estimated meal bolus, an available delivery time, and a configurable constant; determining, by the data processing device, a total insulin infusion rate to administer to the patient based on the regular infusion rate for the patient and the estimated meal bolus infusion rate for the patient; and transmitting the total insulin infusion rate from the data processing device to a patient display and displaying a number of units of insulin corresponding to a value of the total insulin infusion rate on the patient display.