WWDC Notes

What's new in HealthKit

Show Apple's description.
HealthKit is an essential framework that integrates first- and third-party health and fitness data to help people manage their personal health information. Learn about HealthKit’s latest updates, which provide read access to electrocardiograms on Apple Watch and log and track over a dozen new symptoms and their severity. We’ll also go through the latest mobility data types like walking speed and step length to help people monitor and understand their mobility over time.

Tracking Symptoms

30 Symptoms data types have been added to Health Kit this year, they are shown below.

Electrocardiogram (ECG)

ECG samples can now be read as an HKElectrocardiogram. HKElectrocardiogram represents a collecton of voltage measurements. The class contains the following properties:

If you want individual measurements you have to run the HKElectrocardiogramQuery:

Mobility

6 minute walk test, stair ascent and descent speed, walking speed and step length can now be measured by your phone and/or watch. Walking speed and step length are captured by the walking asymmetry and double support percentage

Missing anything? Corrections? Contributions are welcome 😃

Related

Written by

mike011

Michael Charland

Michael Charland is an experienced iOS Software Developer from Canada with a love for developing in Swift, testing, and DevOps.

He's been working with computers for most of his life. Starting with the Commodore-64 doing LOAD "*",8,1 up until now working on fancy iPhones and MacBooks.