GoogleCloudPlatform / deviceconnect

https://deviceconnect.readthedocs.io/
Apache License 2.0
24 stars 28 forks source link
bigquery cloudrun fitbit gcp

.. raw:: html

.. image:: docs/source/_static/youtube.png :width: 100% :alt: youtube link :align: center :target: https://www.youtube.com/embed/OFCKEXGSE3A

Device Connect for Fitbit uses Google Cloud and Fitbit web apis to enable developers to build clinical health applications that leverage data from users' Fitbit activity trackers. The tools provided in this repo are open source and build upon the Google Cloud services. These tools provide:

Deploy the infrastructure to capture your patient's fitbit data in minutes using the provided terraform scripts. Simply create your GCP project, install terraform, and run terraform apply.

The infrastructure uses Cloud Run and Fire Store to manage user enrollment and consent; and Cloud BigQuery to store data from the Fitbit webapis. Once the data is in BQ, build dashboards with Looker (or other dashboarding tool), and develop ML models with AI Notebooks or Vertex AI (tutorials coming).

Dashboards

The Fitbit data provides a unique 360-degree view of the patients' lives and can be clinically valuable for physicians or health coaches. It can also be integrated with other datasets like EHR data, or other device data.

Here are some dashboard views that might be valuable:

Machine Learning

While the dashboards can provide valuable insights about the patient's day to day, more detailed models can be developed that provide both population-level clustering across a patient population, and more predictive models that can help clinical teams identify address problems early.

Fine Print

.. _Fitbit web apis: https://dev.fitbit.com/build/reference/web-api/ .. _Device Connect for Fitbit: https://cloud.google.com/device-connect .. _Google OIDC: https://developers.google.com/identity/protocols/oauth2/openid-connect