Kailona / ehr

Private Electronic Health Records in Nextcloud
GNU Affero General Public License v3.0
54 stars 11 forks source link

Data integration with Polar #86

Open alexbijma opened 3 years ago

alexbijma commented 3 years ago

Can we suggest integrations to get more data in EHR?

I saw that Polar has an API : https://www.polar.com/teampro-api/#teampro-api

krikkert commented 3 years ago

Google Fit also provides a REST API: https://developers.google.com/fit

There are several apps who provide sync features between e.g. Fitbit, Samsung Health, Google Fit, etc. - like Health Sync (https://play.google.com/store/apps/details?id=nl.appyhapps.healthsync&hl=no&gl=US). They've already done the hard work of pulling in source data, so reaching out to them to make EHR someplace to stuff the source data into might be a lot easier than doing it yourselves.

ayselafsar commented 3 years ago

Our new integration module is currently under development, so pulling data from external systems / providers would be a lot easier soon. We are planning to start with Google Fit as the first provider, so users would be able to pull their data from Google Fit. We would also plan for the other systems based on demand and like to accept pull requests once the integration module is implemented soon.

jacotec commented 3 years ago

@ayselafsar What about Apple Watch / Apple Health? I'd love the idea of having all our records in a safe place, but it's pretty useless without these data being imported

ayselafsar commented 3 years ago

@jacotec It is not easy to fetch data from Apple directly since Apple Health does not currently have REST API. However, as a workaround, you can install Google Fit app on your Apple device, sync the data with Apple Health and fetch the data from Google Fit into Kailona. That can all be automated once we complete Google Fit integration.

jacotec commented 3 years ago

@ayselafsar That's an extreme contradiction to the purpose of Kailona. The reason for using this on my own Nextcloud instance is to have the data under my control and in my own possession. Transferring data data to another 3rd party just for importing it into my private cloud is a bit like charging an electric car with a Diesel generator and would be completely stupid, especially as I trust Google even much less than Apple regarding data privacy.