From 91d60dab0dda39008c1ec12ed0f6ab3e0f3bbae7 Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Sat, 23 Sep 2017 09:57:56 +0200 Subject: common: add constants for measure methods --- glucometerutils/common.py | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3