Skip to content

Instantly share code, notes, and snippets.

@knmkr
Created December 22, 2015 05:17
Show Gist options
  • Save knmkr/a013b2fa0abd4fb3b69d to your computer and use it in GitHub Desktop.
Save knmkr/a013b2fa0abd4fb3b69d to your computer and use it in GitHub Desktop.
Example: Heart rate records in Health Kit XML (exported from iOS Healthcare app)

Example: Heart rate records in Health Kit XML (exported from iOS Healthcare app)

...
 <Record type="HKQuantityTypeIdentifierHeartRate" sourceName="SmartBand 2" sourceVersion="1.0.3" unit="count/min" creationDate="2015-12-22 13:42:10 +0900" startDate="2015-12-22 13:42:00 +0900" endDate="2015-12-22 13:42:00 +0900" value="83">
  <MetadataEntry key="HKHeartRateSensorLocation" value="2"/>
 <Record type="HKQuantityTypeIdentifierHeartRate" sourceName="SmartBand 2" sourceVersion="1.0.3" unit="count/min" creationDate="2015-12-22 13:44:12 +0900" startDate="2015-12-22 13:43:00 +0900" endDate="2015-12-22 13:43:00 +0900" value="85">
  <MetadataEntry key="HKHeartRateSensorLocation" value="2"/>
 <Record type="HKQuantityTypeIdentifierHeartRate" sourceName="SmartBand 2" sourceVersion="1.0.3" unit="count/min" creationDate="2015-12-22 13:45:13 +0900" startDate="2015-12-22 13:44:00 +0900" endDate="2015-12-22 13:44:00 +0900" value="85">
  <MetadataEntry key="HKHeartRateSensorLocation" value="2"/>
...  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment