@tidepool/viz@0.8.1 apidocs /Users/jebeck/Tidepool/viz jsdoc2md "src/utils/bolus.js"

Functions

fixFloatingPoint(numeric)Number

fixFloatingPoint

getBolusFromInsulinEvent(insulinEvent)Object

getBolusFromInsulinEvent

getProgrammed(insulinEvent)Number

getProgrammed

getRecommended(insulinEvent)Number

getRecommended

getDelivered(insulinEvent)Number

getDelivered

getDuration(insulinEvent)Number

getDuration

getExtended(insulinEvent)Number

getExtended

getMaxDuration(insulinEvent)Number

getMaxDuration

getMaxValue(insulinEvent)Number

getMaxValue

hasExtended(insulinEvent)Boolean

hasExtended

isInterruptedBolus(insulinEvent)Boolean

isInterruptedBolus

isOverride(insulinEvent)Boolean

isOverride

isUnderride(insulinEvent)Boolean

isUnderride

fixFloatingPoint(numeric) ⇒ Number

fixFloatingPoint

Kind: global function
Returns: Number - numeric value rounded to 3 decimal places

Param Type Description
numeric Number value

getBolusFromInsulinEvent(insulinEvent) ⇒ Object

getBolusFromInsulinEvent

Kind: global function
Returns: Object - a Tidepool bolus object

Param Type Description
insulinEvent Object a Tidepool wizard or bolus object

getProgrammed(insulinEvent) ⇒ Number

getProgrammed

Kind: global function
Returns: Number - value of insulin programmed for delivery in the given insulinEvent

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

getRecommended(insulinEvent) ⇒ Number

getRecommended

Kind: global function
Returns: Number - total recommended insulin dose

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

getDelivered(insulinEvent) ⇒ Number

getDelivered

Kind: global function
Returns: Number - units of insulin delivered in this insulinEvent

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

getDuration(insulinEvent) ⇒ Number

getDuration

Kind: global function
Returns: Number - duration value in milliseconds

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

getExtended(insulinEvent) ⇒ Number

getExtended

Kind: global function
Returns: Number - units of insulin delivered over an extended duration

Param Type Description
insulinEvent Object a Tidepool wizard or bolus object

getMaxDuration(insulinEvent) ⇒ Number

getMaxDuration

Kind: global function
Returns: Number - duration value in milliseconds

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

getMaxValue(insulinEvent) ⇒ Number

getMaxValue

Kind: global function
Returns: Number - max programmed or recommended value wrt the insulinEvent

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

hasExtended(insulinEvent) ⇒ Boolean

hasExtended

Kind: global function
Returns: Boolean - whether the bolus has an extended delivery portion

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

isInterruptedBolus(insulinEvent) ⇒ Boolean

isInterruptedBolus

Kind: global function
Returns: Boolean - whether the bolus was interrupted or not

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

isOverride(insulinEvent) ⇒ Boolean

isOverride

Kind: global function
Returns: Boolean - whether the bolus programmed was larger than the calculated recommendation

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

isUnderride(insulinEvent) ⇒ Boolean

isUnderride

Kind: global function
Returns: Boolean - whether the bolus programmed was smaller than the calculated recommendation

Param Type Description
insulinEvent Object a Tidepool bolus or wizard object

results matching ""

    No results matching ""