hubot-diabetes

2.2.0 • Public • Published

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> i was _90_ this morning
<diabot> 90 mg/dL is 5 mmol/L
<awaxa> i was _5.0_ this morning
<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.0 mmol/L is about 4.8% (DCCT) or 29 mmol/mol (IFCC)
<awaxa> diabot: estimate a1c from average 5.0
<diabot> an average of 90 mg/dL or 5.0 mmol/L is about 4.8% (DCCT) or 29 mmol/mol (IFCC)
<awaxa> diabot: estimate average from a1c 4.8
<diabot> an A1C of 4.8% (DCCT) or 29 mmol/mol (IFCC) is about 91 mg/dL or 5.1 mmol/L
<awaxa> diabot: estimate average from a1c 29
<diabot> an A1C of 4.8% (DCCT) or 29 mmol/mol (IFCC) is about 91 mg/dL or 5.1 mmol/L

Sources

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

Package Sidebar

Install

npm i hubot-diabetes

Weekly Downloads

1

Version

2.2.0

License

MIT

Last publish

Collaborators

  • awaxa