Live data from Hacker News

HealthKit in depth from the perspective of a swimming app

info.activeintime.com

1–10 of 17 posts

Re: HealthKit in depth from the perspective of a swimming app

#2
"Apple are making quite a big deal about this. The recorded data is of an incredibly private and personal nature and they’re preventing it from being passed over any kind of network except as part of a secure backup. [...] A more real world case is that hospitals are starting to create out patient monitoring apps. Whenever a patient uses their blood pressure monitor, the hospital app gets notified of the new reading, sends that data to the hospital computers, a doctor might then review it, see there’s a problem and call the patient in."

I don't see how both can be true, and I don't know which I would want. On the one hand, the first is highly desirable, but that second use case makes lots of sense, too.

Reading https://developer.apple.com/app-store/review/guidelines/#hea... I think the first isn't entirely true:

"27.5 Apps that share user data acquired via the HealthKit API with third parties without user consent will be rejected"

So, that's not a blanket forbidden. And likely, they aren't preventing anything. That game with an on screen heart rate indicator could easily encrypt heart rate information and send it alongside other data to a game server. It would be hard to detect that.

Re: HealthKit in depth from the perspective of a swimming app

#3
What this article fails to mention is that Healthkit is still utterly broken.

I linked up a couple of health apps to it, and after MyFitnessPal's first attempt at integration spewed a ton of duplicate data across almost every nutrition category, I had to clean up their mess, and disable most categories. Even their second attempt is broken.

Meanwhile, Healthkit keeps forgetting what I've added to the dashboard, and shows empty graphs saying 'No Data' for categories that do have data, either app generated or manually input.

Clicking Show All Data just brings up an empty page with a busy spinner that never goes away. If the database is corrupt, there's no way to reset it, and I can't just uninstall and reinstall it. Not that I should have to.

When it did have sufficient (manually corrected) data, it failed to use this to estimate BMI and BMR. It's nothing but a dumb, broken database.

Re: HealthKit in depth from the perspective of a swimming app

#4
post #3

What this article fails to mention is that Healthkit is still utterly broken. I linked up a couple of health apps to it, and after MyFitnessPal's first attempt at integration spewed a ton of duplicate data across almost every nutrition category, I had to clean up their mess, and disable most categories. Even their second attempt is broken. Meanwhile, Healthkit keeps forgetting what I've added to the dashboard, and sh…

I've been using it for quite a while now (since the betas) and haven't had any issues. The graphs are slow to load sometimes (if you've got it set to months) but apart from that it's been fine.

My only gripe is the weight integration with MyFitnessPal. I track that with Runkeeper which then syncs it to MyFitnessPal. For some reason MyFitnessPal won't then push this to HealthKit so I have to enter it manually.

Re: HealthKit in depth from the perspective of a swimming app

#5
post #3

What this article fails to mention is that Healthkit is still utterly broken. I linked up a couple of health apps to it, and after MyFitnessPal's first attempt at integration spewed a ton of duplicate data across almost every nutrition category, I had to clean up their mess, and disable most categories. Even their second attempt is broken. Meanwhile, Healthkit keeps forgetting what I've added to the dashboard, and sh…

Well if you want to "Show all data" you have to be patient. For example it will take a lot of time to load the steps data. Eventually it will display a list item for every 10 secs of activity without any grouping. It looks like a student's first project. I deployed my HKit aware app this week in the app store and there are some problems (HK freezes), but hopefully they 'll sort them out. It's still embarrassing for Apple though..

Re: HealthKit in depth from the perspective of a swimming app

#6
> A more real world case is that hospitals are starting to create out patient monitoring apps. Whenever a patient uses their blood pressure monitor, the hospital app gets notified of the new reading, sends that data to the hospital computers, a doctor might then review it, see there’s a problem and call the patient in.

I don't see how doctors could rely on this data. There are so many devices that may use HealthKit, and many of them are (for now) nowhere near as reliable as the equipment doctors would use for the same metrics.

Take blood pressure monitors, for example. If you shop around for a good one for iOS, even the best ones are still questionable, at best. Some people claim they're very accurate, while others say they're way off.

It seems we have a long way to go before doctors could rely on the data from HealthKit devices.

Re: HealthKit in depth from the perspective of a swimming app

#7
post #3

What this article fails to mention is that Healthkit is still utterly broken. I linked up a couple of health apps to it, and after MyFitnessPal's first attempt at integration spewed a ton of duplicate data across almost every nutrition category, I had to clean up their mess, and disable most categories. Even their second attempt is broken. Meanwhile, Healthkit keeps forgetting what I've added to the dashboard, and sh…

Well if you want to "Show all data" you have to be patient. For example it will take a lot of time to load the steps data. Eventually it will display a list item for every 10 secs of activity without any grouping. It looks like a student's first project. I deployed my HKit aware app this week in the app store and there are some problems (HK freezes), but hopefully they 'll sort them out. It's still embarrassing for A…

I wish that were true - but even for show-all-data with one data-point (height, for example), it still fails to load.

And every graph is empty, even ones with manually entered data. If I choose edit->clear all for a data type, it still doesn't recover.

Re: HealthKit in depth from the perspective of a swimming app

#8
post #6

> A more real world case is that hospitals are starting to create out patient monitoring apps. Whenever a patient uses their blood pressure monitor, the hospital app gets notified of the new reading, sends that data to the hospital computers, a doctor might then review it, see there’s a problem and call the patient in. I don't see how doctors could rely on this data. There are so many devices that may use HealthKit,…

The data may be wrong but couldn't the trends be useful? For example a heart rate monitor consistently off by -20bpm will still provide an accurate trend on heart rate over a period of time. I guess the problem here is that the data, even if wrong, would have to be consistently wrong by the same amount.

Re: HealthKit in depth from the perspective of a swimming app

#9
post #6

> A more real world case is that hospitals are starting to create out patient monitoring apps. Whenever a patient uses their blood pressure monitor, the hospital app gets notified of the new reading, sends that data to the hospital computers, a doctor might then review it, see there’s a problem and call the patient in. I don't see how doctors could rely on this data. There are so many devices that may use HealthKit,…

The data may be wrong but couldn't the trends be useful? For example a heart rate monitor consistently off by -20bpm will still provide an accurate trend on heart rate over a period of time. I guess the problem here is that the data, even if wrong, would have to be consistently wrong by the same amount.

This. Trends are far more important for diagnosis than individual results most of the time. Trends in body temperature, blood pressure, blood sugar, etc usually tell a better story than one outlying result.

Re: HealthKit in depth from the perspective of a swimming app

#10
post #6

> A more real world case is that hospitals are starting to create out patient monitoring apps. Whenever a patient uses their blood pressure monitor, the hospital app gets notified of the new reading, sends that data to the hospital computers, a doctor might then review it, see there’s a problem and call the patient in. I don't see how doctors could rely on this data. There are so many devices that may use HealthKit,…

The data may be wrong but couldn't the trends be useful? For example a heart rate monitor consistently off by -20bpm will still provide an accurate trend on heart rate over a period of time. I guess the problem here is that the data, even if wrong, would have to be consistently wrong by the same amount.

Your example is overly optimistic - if it was consistent like that, you'd just adjust it at the factory or calibrate it later on, and you'd have a perfect instrument. In reality, the data is all over the place, with a large spread. You might still be able to get some kind of weak trend out of it, if you knew the tendencies of that particular equipment. I doubt you could even take long-term averages and rely on them.

Take for instance an elliptical machine I own (it's about 4-5x the price of the cheapest ones, so I guess we can call it "mid-range"). The heart-rate monitor on it is almost worse than useless. Sometimes it will report 200 BPM when I'm not holding the sensors. Sometimes it will under-report for long periods (e.g. reporting That said, I think the general idea is not a bad one; we could definitely use more data to analyse. It's just that equipment that gets sold to the public is pretty erratic at the time of writing.

Post reply on HN