Diabetes Tracker


Diabetes is a chronic medical condition in which the body is unable to properly regulate blood sugar (glucose) levels. This occurs because the pancreas is unable to produce enough insulin, or the body's cells are resistant to the effects of insulin. There are two main types of diabetes: type 1 and type 2. Type 1 diabetes, also known as juvenile diabetes or insulin-dependent diabetes, is caused by an autoimmune destruction of the pancreas' insulin-producing cells. Type 2 diabetes, also known as adult-onset diabetes or non-insulin dependent diabetes, occurs when the body becomes resistant to the effects of insulin and/or the pancreas is unable to produce enough insulin to meet the body's needs. Type 2 diabetes is more common and is often associated with obesity and a sedentary lifestyle.

Labii can be used as a diabetes tracker to improve glucose management and make better treatment decisions. For healthcare providers, Labii can improve healthcare management by allowing for better coordination of care, improved communication among healthcare providers, and can help to prevent medical errors. For patients, Labii can help patients easily document and monitor their glucose levels over time, which can aid in the management of diabetes and other related conditions.


In order to use the Diabetes Tracker in Labii, you must first install the Diabetes Tracker application. If Diabetes Tracker application is selected when creating the account, then this step can be skipped.

  1. Select Applications from Settings -> Applications

  2. Click Add application and select Add from a template

  3. Choose Diabetes Tracker from the pop-out modal. A lack of such an option indicates that you have already installed it.

Following the configuration, you should have the following tables installed:

  • Glucose

Update workflow

Labii creates glucose records automatically for fasting, breakfast, lunch, and dinner each day according to an automatic workflow.

  • Triggers - Workflow will be triggered every day at 12 am UTC. Ideally, you should trigger the workflow in the middle of the night. Please update the crontab based on your time zone.

  • Actions - As a default, all glucose records are created in the sample project. In case you wish to create glucose records in a different project, please update the actions to reflect the changes.

  • Is Archived - The workflow must be enabled in order to create glucose records for fasting, breakfast, lunch, and dinner automatically. To do that, go to the workflows and set the is archived to false.

Create glucose record

When workflow is enabled, the glucose records can be created automatically. A glucose record can also be created via clicking Add glucose button.

  1. Select today's date

  2. Choose a meal from the dropdown. To record glucose for fasting, choose Fasting.

  3. Pick time meal ended. If fasting, select the time when your blood glucose will be checked.

  4. Provide the food of the meal. Leave it empty for fasting.

  5. Provide the snack. Leave it empty for fasting.

  6. Provide glucose level.

  7. Check the activity if you perform any activities after eating.

  8. Update your stress level. For the least stress, use 1 start, and for the most stress, use 5 starts.

  9. Click Submit button to submit.

Update glucose level

The glucose level usually need to be tested after 1 hour of meal. To update the glucose level:

  1. Open the glucose record for the date and meal

  2. Click Edit button next to the glucose level field

  3. Enter the glucose level value

  4. Click Submit.

Monitor glucose levels

You can monitor the glucose level overtime with dashboard widgets. In default, Labii creates the charts for Fasting, Breakfast, Lunch, Dinner and overall Glucose level. Click the Dashboard tab of the glucose list view to see the charts.

Last updated