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

Functions

classifyBgValue(bgBounds, bgValue)String

classifyBgValue

convertToMmolL(bgVal)Number

convertToMmolL

reshapeBgClassesToBgBounds(bgPrefs)Object

reshapeBgClassesToBgBounds

classifyBgValue(bgBounds, bgValue) ⇒ String

classifyBgValue

Kind: global function
Returns: String - bgClassification - low, target, high

Param Type Description
bgBounds Object object describing boundaries for blood glucose categories
bgValue Number integer or float blood glucose value in either mg/dL or mmol/L

convertToMmolL(bgVal) ⇒ Number

convertToMmolL

Kind: global function
Returns: Number - convertedBgVal - blood glucose value in mmol/L, unrounded

Param Type Description
bgVal Number blood glucose value in mg/dL

reshapeBgClassesToBgBounds(bgPrefs) ⇒ Object

reshapeBgClassesToBgBounds

Kind: global function
Returns: Object - bgBounds - @tidepool/viz-style bgBounds

Param Type Description
bgPrefs Object bgPrefs object from blip containing tideline-style bgClasses

results matching ""

    No results matching ""