Git Product home page Git Product logo

fitbitonfhir's Introduction

Attention: Repo in active development!

Fitbit on FHIR

This repo has been populated by two main projects to help you get started with bringing Fitbit to FHIR. The webapp to help you authenticate your patients with the Fitbit API and the Function that continously downloads patient data as it becomes available.

Authentication and One Time Sync Webapp

The webapp is appropriate for anyone trying to quickly deploy a solution where they would like to ingest historical patient data (30 days by default) from Fitbit and into FHIR.

webapp architecture

Quickstart

Deploy this project directly to Azure:

Deploy to Azure

then:

git clone https://github.com/microsoft/FitbitOnFHIR
cd webapp
az webapp up --sku <SKU> --name <app-name>

or you can deploy the app yourself using this guide.

Architecture

webapp architecture

Adding continuous monitoring using an Azure function

This is the extended architecture, it adds a an azure function that is triggered by Fitbit whenever data is synced by an authorized user.

function architecture

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

fitbitonfhir's People

Contributors

cloud-sean avatar matthansen0 avatar microsoft-github-operations[bot] avatar microsoftopensource avatar msjasteppe avatar namalu avatar rbhaiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fitbitonfhir's Issues

Docs Out of Date & API Version Issue

Hi there,

These docs no longer work as the IoMT connector no longer appears in the portal.

https://github.com/microsoft/FitbitOnFHIR/blob/main/guides/webapp-guide.md shows IoMT connector information but it is no longer available in the portal.

Plus, Iomt connectors doesn't seem to be a valid sub-provider of Microsoft.HealthcareApis/services anymore :-( So, the ARM template deployments are also no longer working. Here's the error I'm getting from the portal:

Operation name
Write Iomtconnectors

Time stamp
Thu Dec 29 2022 11:08:41 GMT-0500 (Eastern Standard Time)

Event initiated by
[redacted]

Error code
ApiVersionNotRegistered

Message
The ApiVersion '2020-05-01-preview' is not registered for ResourceType 'Microsoft.HealthcareApis/services'. Valid Api Versions are: '2018-08-20-preview' '2019-09-16' '2020-03-30' '2020-03-15' '2021-01-11' '2020-11-01-preview' '2021-03-31-preview' '2021-06-01-preview' '2021-11-01' '2022-01-31-preview' '2022-02-28-preview' '2022-07-01-preview' '2022-05-15' '2022-06-01' '2052-06-01-preview' '2022-10-01-preview'.

As a workaround, I forked this to my own repo, changed to the iomtconnectors properties of the ARM JSON to one of the supported versions. It still doesn't work, unfortunately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.