Pummpcomm v2.5.1 Pummpcomm.History.BolusNormal View Source
A normal bolus, entered by the user.
Link to this section Summary
Types
The duration of the square wave bolus. 0
when not a normal bolus
Whether the bolus is delivered :normal
(all at once) or as a :square
wave over a duration
Functions
A :normal
or :square
bolus, entered manually by the user
Link to this section Types
The duration of the square wave bolus. 0
when not a normal bolus.
Whether the bolus is delivered :normal
(all at once) or as a :square
wave over a duration
.
Link to this section Functions
Link to this function
decode(body, pump_options)
View Source
decode(binary, Pummpcomm.PumpModel.pump_options) :: %{programmed: Pummpcomm.Insulin.units, amount: Pummpcomm.Insulin.units, duration: duration, type: type, timestamp: NaiveDateTime.t} | %{programmed: Pummpcomm.Insulin.units, amount: Pummpcomm.Insulin.units, duration: duration, unabsorbed_insulin: Pummpcomm.Insulin.units, type: type, timestamp: NaiveDateTime.t}
A :normal
or :square
bolus, entered manually by the user.