Pummpcomm v2.5.1 Pummpcomm.History.BolusWizardEstimate View Source
Inputs Bolus Wizard used to estimate needed bolus.
Link to this section Summary
Functions
Inputs Bolus Wizard used to estimate needed bolus
Link to this section Functions
Link to this function
decode(body, pump_options)
View Source
decode(binary, any) :: %{bg: Pummpcomm.BloodGlucose.blood_glucose, bg_target_high: Pummpcomm.BloodGlucose.blood_glucose, bg_target_low: Pummpcomm.BloodGlucose.blood_glucose, bolus_estimate: Pummpcomm.Insulin.units, carb_ratio: Pummpcomm.Insulin.carbohydrates_per_unit, carbohydrates: Pummpcomm.Carbohydrates.carbohydrates, correction_estimate: Pummpcomm.Insulin.units, food_estimate: Pummpcomm.Insulin.units, insulin_sensitivity: Pummpcomm.Insulin.blood_glucose_per_unit, timestamp: NaiveDateTime.t, unabsorbed_insulin_total: Pummpcomm.Insulin.units}
Inputs Bolus Wizard used to estimate needed bolus.