awaxa / hubot-diabetes

A diabetes script package for Hubot.

Home Page:https://www.npmjs.org/package/hubot-diabetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hubot Diabetes

A diabetes script package for Hubot

Build Status

Installation

Run npm install --save hubot-diabetes

Add hubot-diabetes to your external-scripts.json:

["hubot-diabetes"]

Sample Interaction

<awaxa> 90
<diabot> 90 mg/dL is 5 mmol/L
<awaxa> 5.0
<diabot> 5.0 mmol/L is 90 mg/dL
<awaxa> diabot: estimate a1c from average 90
<diabot> an average of 90 mg/dL or 5 mmol/L is approximately equivalent to 4.8% (DCCT) or 28.6 mmol/mol (IFCC)
<awaxa> diabot: estimate a1c from average 5.0
<diabot> an average of 5.0 mmol/L or 90 mg/dL is approximately equivalent to 4.8% (DCCT) or 28.6 mmol/mol (IFCC)

Sources

Many thanks to JJ Asghar for all his help and advice!

About

A diabetes script package for Hubot.

https://www.npmjs.org/package/hubot-diabetes

License:MIT License


Languages

Language:CoffeeScript 87.0%Language:Shell 13.0%