Questions tagged [applehealth]
22 questions
0
votes
1 answer
How to add multi-part Smart Health Cards to Apple Wallet and Health in Swift
I'm coding in Swift to add Smart Health Cards to Apple Wallet and Health using the guidelines here.
My code works fine with a single part JSON (i.e., shc:/5676290952432060346029243740... snipped for brevity). I am replacing the shc:/ prefix with…

Barb
- 124
- 7
0
votes
1 answer
GoogleFit on iphone: problem with REST API calls
I'm trying to query, with the Fit rest API, segmented data from an iphone that have installed GoogleFit and configured the sync between apple health and googelfit.
To my android phone, I get the data as expected with this POST:
(*)
"aggregateBy":…

Patrik
- 1
- 1
0
votes
1 answer
How to Query for HeartRates in HealthKit to get both traditional HKQuantitySamples as well as Cumulative Quantity Samples?
My heart rate query below uses the older traditional HKSampleQuery to get heart rates, however, if an app saves Heart Rates into Apple Health as a HKCumulativeQuantitySample then my query below doesn't capture all of the heart rates inside the…

GarySabo
- 5,806
- 5
- 49
- 124
0
votes
1 answer
REST API support for Apple HealthKit data
Is there a REST API support to query apple health kit data? I want to fetch these data from a server application on behalf of a user.

Dileep Damodaran
- 33
- 5
0
votes
0 answers
Apple Review Can't Get Apple Heatlh Permissions
So I have a flutter app that uses Apple health kit to pull fitness data. During the onboarding process you get a standard screen saying we're about to ask for permissions, you hit ok, and the health dialog pops up.
This works on all my devices and…

Cate Daniel
- 724
- 2
- 14
- 30
0
votes
2 answers
Swift Apple Health blood glucose
I got access to Apple Health and I'm able to read the glucose data which is in the Simulator.
guard let sampleType = HKSampleType.quantityType(forIdentifier: HKQuantityTypeIdentifier.bloodGlucose) else {
fatalError("*** This method…

cLx
- 63
- 6
-1
votes
1 answer
How can I create a CAD(Clinical Document Architecture) file in the HL7 standard to import it into apple health?
I want to create a CDA file that I can import into apple health.
I tried with some examples from this repo.
But nothing worked so far and I get the error clinical document could not be imported.
For example I just want to import a "gernal" medical…

Schwenk
- 225
- 2
- 13