Apple Health Kit from the Application Developer Point of View

Post on 06-May-2015

2.593 views 2 download

description

Developer's view on HealthKit introduced by Apple as part of iOS8 operating system

Transcript of Apple Health Kit from the Application Developer Point of View

Apple HealthKitApp Developer View

Prepared for Personal Analytics Meetup

By Gene Leybzon

Health/Fitness Data Collection

Sensor-based apps

Health Provider

Information Staring

Statistical/Personal Analytics

Applications That Can benefit from Health Kit

API

Statistics/Data Aggregation

Health Info Data Store

What’s in HealthKit?

Data Units Object Types

HealthStore Access

Permissions

Data Save API

Data Query API

What’s defined in API?

What data is requested (Ex: Blood Sugar) How to sort result Predicate (how to filter data?) Limit on the amount of data Date/Time range

Simple Data Query API

Data Store

Listener

Listener

Data Observers (Observer Query)

Data Element 1

Data Element

2

Data Element

3

How to sync data with the cloud store?

SUM()

MIN()

MAX()

AVERAGE()

HealthKit Statistics

Group by day/hr Used to display graph/disarms with aggregated

data

Statistics Collections

Quantitative(Per Data Object)

Read or Write or Both?

Possible Permissions:

Not Determined, Denied,

Authorized

Separate Permissions are needed for each

data source

Data Access Permissions

Number formatte

rs

Units (Kg/Poun

d)

Custom formatte

rs

Date formatte

rs

Energy formatte

rs

Localization

Structured data support for more data types HL7 integration Support for other eco-systems (Android,

Windows)

What is missing in the kit?

Code Demo