Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Exporting Health app data

I would like to use the Health app to record my daily blood glucose test results, but there doesn't seem to be any way to generate a report on the results for my doctor or export the data to a CSV or any other type of file. My doctor's practice is not set up yet to receive electronic results, so I still need to give him a hard-copy report. If anyone has figured this out, please let me know.

Posted on Oct 6, 2014 9:51 AM

Reply
Question marked as Best reply

Posted on Oct 8, 2014 12:55 PM

Disclaimer: I have my language set to Swedish, so I may be off on some UI labels.


In the Health app, go to Health Data (the binder with the heart on it)

Click the box with the outwards arrow (top right)

It will give you the option to export the data by emailing a .zip file.

30 replies

Jun 13, 2015 10:28 AM in response to CliveAH

QS access may work for some reports, but I found in Blood Glucose report, it changes the value to mg/ dL from mmol/L, and if you choose 1 Hour tab then you get the report for every hour even if you don't have any data points, and if you choose 1 day tab then the time is always 00:00.

I really don't understand why the Health app wasn't set up to be more user friendly and compatible with other software like numbers and excel...

Oct 7, 2015 5:46 AM in response to Stanley Horwitz

I'm confused by all this.


It seems to me neither QS Access nor the standard Apple Health export export all the raw data points.


Both seem to average the data on an hourly basis, rather than recording and maintaining the original data points.


Is there no way of getting access to the original data points.

They are still visible inside the app, so they are still stored somewhere.


I get data like this

<Record type="HKQuantityTypeIdentifierBloodPressureSystolic" source="Health" unit="mmHg" startDate="20150711123800+0100" endDate="20150712123800+0100" min="129" max="129" average="129" recordCount="1"/>

<Record type="HKQuantityTypeIdentifierBloodPressureSystolic" source="Health" unit="mmHg" startDate="20150712123800+0100" endDate="20150713123800+0100" min="134" max="144" average="139" recordCount="2"/>

<Record type="HKQuantityTypeIdentifierBloodPressureSystolic" source="Health" unit="mmHg" startDate="20150713123800+0100" endDate="20150714123800+0100" min="123" max="140" average="130.167" recordCount="6"/>

<Record type="HKQuantityTypeIdentifierBloodPressureSystolic" source="Health" unit="mmHg" startDate="20150714123800+0100" endDate="20150715123800+0100" min="112" max="123" average="120" recordCount="4"/>

<Record type="HKQuantityTypeIdentifierBloodPressureDiastolic" source="Health" unit="mmHg" startDate="20150711123800+0100" endDate="20150712123800+0100" min="77" max="77" average="77" recordCount="1"/>

<Record type="HKQuantityTypeIdentifierBloodPressureDiastolic" source="Health" unit="mmHg" startDate="20150712123800+0100" endDate="20150713123800+0100" min="74" max="79" average="76.5" recordCount="2"/>

<Record type="HKQuantityTypeIdentifierBloodPressureDiastolic" source="Health" unit="mmHg" startDate="20150713123800+0100" endDate="20150714123800+0100" min="65" max="80" average="71.8333" recordCount="6"/>

<Record type="HKQuantityTypeIdentifierBloodPressureDiastolic" source="Health" unit="mmHg" startDate="20150714123800+0100" endDate="20150715123800+0100" min="75" max="83" average="77.5" recordCount="4"/>


which seems to show 6 data points at 12:38 on the same day


Any ideas?

Nov 14, 2015 1:07 PM in response to Stanley Horwitz

How does Apple calculate steps from the raw data?


I have an excel sheet with two tabs

1.) export.xml (Health App export iPhone Health App > Heath Data > Export ) I also added a few columns for readability. "Start Date" which is derived from apple's "startDate" column.

2.) iPhone (manual input data on my iPhone Health App > Health Data > All > Steps > Show All Data )


I can't make sense of how they calculate the steps per day. I've summed up all data points starting on a given date, but that doesn't work.


https://docs.google.com/spreadsheets/d/11eEEovrxIeturBELR7tBSVCdaBQXo6LgFJbAC-AR hIo/edit?usp=sharing

Apr 11, 2016 2:50 PM in response to Stanley Horwitz

There's an easier workaround than downloading the app.


What really bugs me about the Health app is that it doesn't give you a grand total for a given time period (at least, I can't figure it out). When I click on my "year summary" of miles, I would like to see the TOTAL of my miles for the year. Not just my miles TODAY.


To get a sum of all the miles I have walked/run since the beginning of the year, I did this:


1. Export data to email by going to Health Data -> All --> Click on Share in upper right hand corner.

2. Download from email and open with Excel. When Excel gives an errors, say to open as TEXT.

3. I deleted any rows that were not related to Walk/Running.

4. Highlight the column that has this LONG string of text data that looks like this: "ning" sourceName="Name’s iPhone" sourceVersion="9.0.2" device="&lt;&lt;HKDevice: 0x12db4fe80&gt;, name:iPhone, manufacturer:Apple, model:iPhone, hardware:iPhone6,1, software:9.0.2&gt;" unit="mi" creationDate="2015-10-26 13:26:47 -0600" startDate="2015-10-26 12:43:40 -0600" endDate="2015-10-26 12:47:38 -0600" value="0.0362545"/>

5. Click on the "Data" tab and then click "Text to Column".

6. Selected "Delimited".

7. Then, under Delimiters, select "other" and put a quotation mark in the "other" field. (") And then click on Finish. What I found was that the mileage values I wanted were at the very end of this LONG string of text, but that there were quotation marks around these values. So, by delimiting the text by quotation marks, it will separate those values into their own column.

8. Sum the values to get your grand total.


So, YES you can use Excel to open the exported data.

And, YES you can easily split out all that text by using the "Text to Columns" tool.


(I'm using Excel 2011 for Mac)


DISCLAIMER:

I wrote all this really fast. I am by no means an Excel expert or an iPhone Health app expert. I'm just trying to help. I won't be able to answer any questions...

Exporting Health app data

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.