summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glucometerutils/common.py4
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.