diff options
author | Samuel Martin <s.martin49@gmail.com> | 2017-09-23 09:57:56 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-09-25 16:12:06 +0200 |
commit | 91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7 (patch) | |
tree | be946286765b1b9373e17c02a45151016e8241d8 /glucometerutils | |
parent | fslibre: fix reading-type comment (diff) | |
download | glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.tar glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.tar.gz glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.tar.bz2 glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.tar.lz glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.tar.xz glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.tar.zst glucometerutils-91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7.zip |
Diffstat (limited to 'glucometerutils')
-rw-r--r-- | glucometerutils/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glucometerutils/common.py b/glucometerutils/common.py index 6ca7a98..4088091 100644 --- a/glucometerutils/common.py +++ b/glucometerutils/common.py @@ -22,6 +22,10 @@ NO_MEAL = '' BEFORE_MEAL = 'Before Meal' AFTER_MEAL = 'After Meal' +# Constants for measure method +BLOOD_SAMPLE = 'blood sample' +CGM = 'CGM' # Continuous Glucose Monitoring + def convert_glucose_unit(value, from_unit, to_unit=None): """Convert the given value of glucose level between units. |