Pummpcomm v2.5.1 Pummpcomm.History.Prime View Source

When a new cannula was primed

Link to this section Summary

Types

  • :manual - user entered a manual value for prime
  • :fixed - user used the fixed prime value of 0.5 or 0.9 for the cannula type

Functions

timestamp when cannula was primed with prime_type

Link to this section Types

Link to this type prime_type() View Source
prime_type() :: :manual | :fixed
  • :manual - user entered a manual value for prime
  • :fixed - user used the fixed prime value of 0.5 or 0.9 for the cannula type

Link to this section Functions

Link to this function decode(body, pump_options) View Source
decode(binary, Pummpcomm.PumpModel.pump_options) :: %{programmed_amount: Pummpcomm.Insulin.units, amount: Pummpcomm.Insulin.units, prime_type: prime_type, timestamp: NaiveDateTime.t}

timestamp when cannula was primed with prime_type.