Brief Introduction
Healthmine is a health management app for people with diabetes. A user can monitor his or her blood glucose level and activities in the app. Healthmine finds the association between the continuous glucose monitoring (CGM) data provided by Dexcom and the user’s activities to give recommendations for users to change their activities, diet, or medicine intake.
Key Modules
Visualization of CGM data from Dexcom –Ruiqi & Chucheng
- Get authentication from Dexcom to access their sandbox data.
- Visualize the CGM data with different time period (y/m/w/d) with bar plot.
Activity Recognition and Visualization –Baiying
- Build service based on Google activity recognition API
- Visualize the activity duration with different time period (y/m/w/d) with pie chart.
Sleep Recognition and Visualization –Ruiqi & Chucheng
User Account Management and Data Synchronization –Ke
User Self Report –Ke
Details
Data Acquisition
Healthmine uses Dexcom API for the CGM data, google activity recognition API for users' everyday activity data.
CGM data
Healthmine will use the CGM data which Dexcom provides. To get this, An OAuth 2.0 authorization and authentication procedure needs to be completed.
Dexcom stores users’ CGM data on its server. Upon the completion of user authorization, Healthmine will be able to fetch data from the Dexcom server by calling a RESTful api.
For the convenience of development, Dexcom also provides a sandbox environment with simulated CGM data. The development and testing will be based on the sandbox environment that Dexcom provides.
Activity Data
Healthmine collects user’s activity data with android device sensors. This data includes GPS location, microphone data, environment light intensity, and screen usage. Using google activity recognition API, Healthmine can detect users’ walking, running, driving, even sleeping duration.
Data Visualization
There are two main categories of data visualization in Healthmine. For the CGM data, a histogram chart visualizes blood glucose fluctuation that the users can monitor. For the activity data, Healthmine uses pie charts to display the user’s activity summary.
To provide users with a better understanding of their health, Healthmine can aggregate data based on different time periods (day/week/month/year). The CGM histogram displays the average of the data collected within the chosen time period. If not enough data has been collected, the chart only shows what’s available up to that point. The pie chart of activity data describes the percentage of time users spend on each activity. The activity data is grouped and can be viewed by different time periods as well.
Also, Healthmine will summarize the data and tell users’ activity and glucose levels in the weekly report.
Self-Report
Users can use the self-report function to record the data and activities that cannot be captured by the android device sensors, allowing the app to analyze their health data better.
- Users can report their diet, medication, other lifestyle changes, and self-rate their health.
- Users are able to create a self report instance, review history reports, and delete erroneous reports.
Settings
Settings is where users can turn on or off permissions, including GPS, activity recognition, microphone, light intensity detector, and Dexcom authorization. In addition, users can set up their profiles and manage their accounts.