An analyte detection and control system to determine and regulate the concentration of one or more analytes in a sample of bodily fluid is provided, which system comprises a control system; an analyte detector configured to measure a characteristic of at least one analyte in the sample of bodily fluid and determine a concentration of the analyte in the sample based on the measured characteristic; a fluid handling system operatively coupled to the analyte detector, said fluid handling system comprising a fluid passageway in communication with a patient through a patient end; a pump unit configured to engage the fluid handling system and draw a sample of bodily fluid from the patient periodically at draw intervals of less than 1 hour for analysis; a source of infusion fluid configured to adjust glycemic levels in the patient, said infusion fluid source in fluid communication with the fluid handling system; and a treatment dosing system in communication with the body fluid analyzer, said treatment dosing system including a treatment dosing protocol and configured to determine a recommended dose for the infusion fluid, wherein the recommended dose is determined based at least in part on one or more determinations by the body fluid analyzer of the concentration of the analyte and the treatment dosing protocol.