getting started with carekit - apple inc....care card symptom tracker insights dashboard connect...

217
© 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. App Frameworks #WWDC16 Session 237 Getting Started with CareKit Umer Khan Software Engineer

Upload: others

Post on 08-Aug-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

© 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

App Frameworks #WWDC16

Session 237

Getting Started with CareKit

Umer Khan Software Engineer

Page 2: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKit Overview

Patient-Provider Experience

Customizing with CareKit

Creating a CareKit App

What’s Next?

Page 3: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKit Overview

Page 4: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ResearchKit

Page 5: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

What’s New in ResearchKit Nob Hill Friday 10:00AM

Building Apps with ResearchKit WWDC 2015

Page 6: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 7: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ResearchKit

Page 8: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ResearchKit

Page 9: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKitResearchKit

Page 10: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

OverviewCareKit

Open source frameworkHelps providers build apps that empower patientsFocused on engaging patient to take active role in their care

Page 11: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 12: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 13: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 14: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 15: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 16: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 17: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 18: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 19: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 20: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 21: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Patient-Provider Experience

Page 22: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 23: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 24: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 25: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 26: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 27: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 28: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 29: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 30: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 31: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 32: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 33: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 34: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 35: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 36: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 37: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Creating a CareKit App

Page 38: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKit Modules

Care Card Symptom Tracker Insights Dashboard Connect

Page 39: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKit Modules

Care Card Symptom Tracker Insights Dashboard Connect

Care Plan Store Document Exporter

Page 40: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Care Plan Store

Activity

Event

Page 41: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Defining activities and eventsCreating an activity and adding it to the storeThe relationship between activities and eventsSurfacing activities to the front-end modules

Activity

Event

Encrypted data storage

Page 42: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

647 x 1150

Activity

Event

Page 43: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Activity

Event

Page 44: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Activity

Event

Page 45: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Activity

Event

Page 46: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Event

Care Plan Store

Activity

Page 47: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

Page 48: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 49: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 50: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

painMedications

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 51: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

painMedications

Ibuprofen

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 52: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 53: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 54: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 55: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 56: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ActivityType

Interventions

Page 57: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ActivityType

InterventionsAssessments

Page 58: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Intervention

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 59: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Intervention

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 60: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ActivitySchedule

Page 61: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ActivitySchedule

Specify which days• Daily• Weekly• Custom

Page 62: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ActivitySchedule

Specify which days• Daily• Weekly• Custom

Times per day• Frequency

Page 63: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Let’s Define a Schedule!

Page 64: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Let’s Define a Schedule!

M WWeekly Schedule T T F SS

Page 65: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Let’s Define a Schedule!

M WWeekly Schedule T T F SS M W F

Page 66: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Let’s Define a Schedule!

Frequency

M WWeekly Schedule T T F SS M W F

Page 67: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Let’s Define a Schedule!

Frequency 4 2 4

M WWeekly Schedule T T F SS M W F

Page 68: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Let’s Define a Schedule!

M W F

4 2 4

Schedule

Page 69: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Intervention

Activity

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

M W F

4 2 4

Page 70: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Event

Care Plan Store

Activity

Page 71: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Schedule

M W F

4 2 4

Page 72: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Event Event Event

ScheduleEvents

M W F

4 2 4Event

Page 73: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Schedule

M W F

4 2 4

Event Event Event

Events

Event

Event Event

6/20/16 6/20/16 6/20/16 6/20/16

6/22/16 6/22/16

Page 74: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Schedule

M W F

4 2 4

Event Event Event

Events

Event

Event Event

6/20/16 6/20/16 6/20/16 6/20/16

6/22/16 6/22/16

Page 75: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Schedule

M W F

4 2 4

Event Event Event

Events

Event

Event Event

6/20/16 6/20/16 6/20/16 6/20/16

6/22/16 6/22/16

Page 76: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

date

state

result

Event

activity

Page 77: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Care Plan Store

Activity

Event

Page 78: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating Care Plan Store

// Define a persistent directory url

var myCarePlanStore: OCKCarePlanStore

// Determine the file URL for the store.

let searchPaths =

NSSearchPathForDirectoriesInDomains(.applicationSupportDirectory, .userDomainMask, true)

let applicationSupportPath = searchPaths[0]

let myDirectoryURL = URL(fileURLWithPath: applicationSupportPath)

myCarePlanStore = OCKCarePlanStore(persistenceDirectoryURL: myDirectoryURL)

Page 79: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating Care Plan Store

// Define a persistent directory url

var myCarePlanStore: OCKCarePlanStore

// Determine the file URL for the store.

let searchPaths =

NSSearchPathForDirectoriesInDomains(.applicationSupportDirectory, .userDomainMask, true)

let applicationSupportPath = searchPaths[0]

let myDirectoryURL = URL(fileURLWithPath: applicationSupportPath)

myCarePlanStore = OCKCarePlanStore(persistenceDirectoryURL: myDirectoryURL)

Page 80: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating Care Plan Store

// Define a persistent directory url

var myCarePlanStore: OCKCarePlanStore

// Determine the file URL for the store.

let searchPaths =

NSSearchPathForDirectoriesInDomains(.applicationSupportDirectory, .userDomainMask, true)

let applicationSupportPath = searchPaths[0]

let myDirectoryURL = URL(fileURLWithPath: applicationSupportPath)

myCarePlanStore = OCKCarePlanStore(persistenceDirectoryURL: myDirectoryURL)

Page 81: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating Care Plan Store

// Define a persistent directory url

var myCarePlanStore: OCKCarePlanStore

// Determine the file URL for the store.

let searchPaths =

NSSearchPathForDirectoriesInDomains(.applicationSupportDirectory, .userDomainMask, true)

let applicationSupportPath = searchPaths[0]

let myDirectoryURL = URL(fileURLWithPath: applicationSupportPath)

myCarePlanStore = OCKCarePlanStore(persistenceDirectoryURL: myDirectoryURL)

Page 82: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func addIbuprofenActivity() {

// Create a weekly schedule.

let startDate = DateComponents(year: 2016, month: 01, day: 01)

let schedule = OCKCareSchedule.weeklySchedule(withStartDate: startDate,

occurrencesOnEachDay: [0, 4, 0, 2, 0, 4, 0])

// Create an intervention activity. Make sure to NSLocalizedString for all strings.

let ibuprofenActivity = OCKCarePlanActivity.intervention(withIdentifier: ”ibuprofenMedication", groupIdentifier:

"painMedications", title: "Ibuprofen", text: "200mg", tintColor: UIColor.blue(),

instructions:"Take with food.", imageURL: NSURL.fileURL(withPath: ”ibuprofen.png"),

schedule: schedule, userInfo: nil)

// Add activity to care plan store.

myCarePlanStore.add(ibuprofenActivity, { success, error in

// Perform error checking.

...

})

}

Page 83: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func addIbuprofenActivity() {

// Create a weekly schedule.

let startDate = DateComponents(year: 2016, month: 01, day: 01)

let schedule = OCKCareSchedule.weeklySchedule(withStartDate: startDate,

occurrencesOnEachDay: [0, 4, 0, 2, 0, 4, 0])

// Create an intervention activity. Make sure to NSLocalizedString for all strings.

let ibuprofenActivity = OCKCarePlanActivity.intervention(withIdentifier: ”ibuprofenMedication", groupIdentifier:

"painMedications", title: "Ibuprofen", text: "200mg", tintColor: UIColor.blue(),

instructions:"Take with food.", imageURL: NSURL.fileURL(withPath: ”ibuprofen.png"),

schedule: schedule, userInfo: nil)

// Add activity to care plan store.

myCarePlanStore.add(ibuprofenActivity, { success, error in

// Perform error checking.

...

})

}

Page 84: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func addIbuprofenActivity() {

// Create a weekly schedule.

let startDate = DateComponents(year: 2016, month: 01, day: 01)

let schedule = OCKCareSchedule.weeklySchedule(withStartDate: startDate,

occurrencesOnEachDay: [0, 4, 0, 2, 0, 4, 0])

// Create an intervention activity. Make sure to NSLocalizedString for all strings.

let ibuprofenActivity = OCKCarePlanActivity.intervention(withIdentifier: ”ibuprofenMedication", groupIdentifier:

"painMedications", title: "Ibuprofen", text: "200mg", tintColor: UIColor.blue(),

instructions:"Take with food.", imageURL: NSURL.fileURL(withPath: ”ibuprofen.png"),

schedule: schedule, userInfo: nil)

// Add activity to care plan store.

myCarePlanStore.add(ibuprofenActivity, { success, error in

// Perform error checking.

...

})

}

Page 85: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func addIbuprofenActivity() {

// Create a weekly schedule.

let startDate = DateComponents(year: 2016, month: 01, day: 01)

let schedule = OCKCareSchedule.weeklySchedule(withStartDate: startDate,

occurrencesOnEachDay: [0, 4, 0, 2, 0, 4, 0])

// Create an intervention activity. Make sure to NSLocalizedString for all strings.

let ibuprofenActivity = OCKCarePlanActivity.intervention(withIdentifier: ”ibuprofenMedication", groupIdentifier:

"painMedications", title: "Ibuprofen", text: "200mg", tintColor: UIColor.blue(),

instructions:"Take with food.", imageURL: NSURL.fileURL(withPath: ”ibuprofen.png"),

schedule: schedule, userInfo: nil)

// Add activity to care plan store.

myCarePlanStore.add(ibuprofenActivity, { success, error in

// Perform error checking.

...

})

}

Page 86: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan StoreEncrypted data storage

Page 87: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care CardInteractive treatment plan

Page 88: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Intervention

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

M W F

4 2 4

Activity

Page 89: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Intervention

ibuprofenMedication

painMedications

Ibuprofen

200 mg

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

M W F

4 2 4

Activity

Page 90: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Care Card

// Link it to a Care Plan Store

// Create a Care Card view controller.

let viewController = OCKCareCardViewController(carePlanStore: myCarePlanStore)

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

self.present(navController, animated: true, completion: nil)

Page 91: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Care Card

// Link it to a Care Plan Store

// Create a Care Card view controller.

let viewController = OCKCareCardViewController(carePlanStore: myCarePlanStore)

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

self.present(navController, animated: true, completion: nil)

Page 92: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Care Card

// Link it to a Care Plan Store

// Create a Care Card view controller.

let viewController = OCKCareCardViewController(carePlanStore: myCarePlanStore)

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

self.present(navController, animated: true, completion: nil)

Page 93: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Care Card

// Link it to a Care Plan Store

// Create a Care Card view controller.

let viewController = OCKCareCardViewController(carePlanStore: myCarePlanStore)

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

self.present(navController, animated: true, completion: nil)

Page 94: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

647 x 1150

Page 95: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 96: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 97: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 98: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 99: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 100: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 101: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care CardUpdating Events

Page 102: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care CardUpdating Events

Self-reported

Page 103: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care CardUpdating Events

Self-reportedTask completion

Page 104: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care CardUpdating Events

Self-reportedTask completionDevice sensors via HealthKit

Page 105: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 106: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care CardInteractive treatment plan

Page 107: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Symptom andMeasurement Tracker

Subjective and objective data

Page 108: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Activity

title

text

tintColor

schedule

identifier

groupIdentifier

type

Page 109: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Care Plan Store

Assessment

Activity

painAssessment

surveys

Pain

Lower back

Blue

title

text

tintColor

schedule

identifier

groupIdentifier

type

M W F

2 1 2

Page 110: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Create a Symptom Tracker

// Link it to a Care Plan Store

// Create a Symptom Tracker view controller.

let viewController = OCKSymptomTrackerViewController(carePlanStore: myCarePlanStore)

viewController.delegate = self

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

Page 111: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Create a Symptom Tracker

// Link it to a Care Plan Store

// Create a Symptom Tracker view controller.

let viewController = OCKSymptomTrackerViewController(carePlanStore: myCarePlanStore)

viewController.delegate = self

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

Page 112: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Create a Symptom Tracker

// Link it to a Care Plan Store

// Create a Symptom Tracker view controller.

let viewController = OCKSymptomTrackerViewController(carePlanStore: myCarePlanStore)

viewController.delegate = self

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

Page 113: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 114: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 115: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 116: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Assessments

Page 117: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Assessments

Survey

Page 118: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Assessments

SurveyActive task

Page 119: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Assessments

SurveyActive taskSelf-reported

Page 120: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Assessments

SurveyActive taskSelf-reportedHealthKit / Bluetooth device

Page 121: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Symptom Tracker Delegate

// Implement delegate to present assessments

func symptomTrackerViewController(_ viewController: OCKSymptomTrackerViewController,

didSelectRowWithAssessmentEvent assessmentEvent: OCKCarePlanEvent) {

// Look up the assessment activity.

let activity = assessmentEvent.activity

presentViewController(for: activity)

}

Page 122: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func updateResult(of event: OCKCarePlanEvent) {

// Obtain values for event.

let painScoreValue = getPainScore()

// Create a result object.

let result = OCKCarePlanEventResult(valueString: painScoreValue, unitString: “of 10",

userInfo: nil)

// Update the Care Plan Store.

myCarePlanStore.update(event, with: result, state: .completed, completion: { success,

event, error in

// Perform error checking.

...

})

}

Page 123: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func updateResult(of event: OCKCarePlanEvent) {

// Obtain values for event.

let painScoreValue = getPainScore()

// Create a result object.

let result = OCKCarePlanEventResult(valueString: painScoreValue, unitString: “of 10",

userInfo: nil)

// Update the Care Plan Store.

myCarePlanStore.update(event, with: result, state: .completed, completion: { success,

event, error in

// Perform error checking.

...

})

}

Page 124: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func updateResult(of event: OCKCarePlanEvent) {

// Obtain values for event.

let painScoreValue = getPainScore()

// Create a result object.

let result = OCKCarePlanEventResult(valueString: painScoreValue, unitString: “of 10",

userInfo: nil)

// Update the Care Plan Store.

myCarePlanStore.update(event, with: result, state: .completed, completion: { success,

event, error in

// Perform error checking.

...

})

}

Page 125: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func updateResult(of event: OCKCarePlanEvent) {

// Obtain values for event.

let painScoreValue = getPainScore()

// Create a result object.

let result = OCKCarePlanEventResult(valueString: painScoreValue, unitString: “of 10",

userInfo: nil)

// Update the Care Plan Store.

myCarePlanStore.update(event, with: result, state: .completed, completion: { success,

event, error in

// Perform error checking.

...

})

}

Page 126: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

647 x 1150

Page 127: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Symptom andMeasurement Tracker

Subjective and objective data

Page 128: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

InsightsUnderstanding your data

Page 129: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ItemsInsights

Page 130: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ItemsInsights

Messages• Tip• Alert

Page 131: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ItemsInsights

Messages• Tip• Alert

Charts• Grouped bar chart• Custom chart

Page 132: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 133: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 134: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func queryStoreForIbuprofenActivity() {

// Query the Care Plan Store for Ibuprofen data.

let startDate = DateComponents(year: 2016, month: 06, day: 05)

let endDate = DateComponents(year: 2016, month: 06, day: 11)

carePlanStore.enumerateEvents(of: ibuprofenActivity, startDate: startDate, endDate:

endDate, handler: { event in

if event?.state == .completed {

// Calculate adherence

...

}

}, completion: { success, error? in

// Perform error checking

...

})

}

Page 135: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func queryStoreForIbuprofenActivity() {

// Query the Care Plan Store for Ibuprofen data.

let startDate = DateComponents(year: 2016, month: 06, day: 05)

let endDate = DateComponents(year: 2016, month: 06, day: 11)

carePlanStore.enumerateEvents(of: ibuprofenActivity, startDate: startDate, endDate:

endDate, handler: { event in

if event?.state == .completed {

// Calculate adherence

...

}

}, completion: { success, error? in

// Perform error checking

...

})

}

Page 136: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func queryStoreForIbuprofenActivity() {

// Query the Care Plan Store for Ibuprofen data.

let startDate = DateComponents(year: 2016, month: 06, day: 05)

let endDate = DateComponents(year: 2016, month: 06, day: 11)

carePlanStore.enumerateEvents(of: ibuprofenActivity, startDate: startDate, endDate:

endDate, handler: { event in

if event?.state == .completed {

// Calculate adherence

...

}

}, completion: { success, error? in

// Perform error checking

...

})

}

Page 137: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var ibuprofenMessageItem: OCKInsightItem

func createIbuprofenMessageItem() {

// Generate message using Care Plan Store data.

let adherencePercentage = calculateIbuprofenAdherence()

let message = "Your Ibuprofen adherence was \(adherencePercentage) last week.”

ibuprofenMessageItem = OCKMessageItem(title: "Medication Adherence”, text: message,

tintColor: UIColor.red(), messageType: .tip)

}

Page 138: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var ibuprofenMessageItem: OCKInsightItem

func createIbuprofenMessageItem() {

// Generate message using Care Plan Store data.

let adherencePercentage = calculateIbuprofenAdherence()

let message = "Your Ibuprofen adherence was \(adherencePercentage) last week.”

ibuprofenMessageItem = OCKMessageItem(title: "Medication Adherence”, text: message,

tintColor: UIColor.red(), messageType: .tip)

}

Page 139: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var ibuprofenMessageItem: OCKInsightItem

func createIbuprofenMessageItem() {

// Generate message using Care Plan Store data.

let adherencePercentage = calculateIbuprofenAdherence()

let message = "Your Ibuprofen adherence was \(adherencePercentage) last week.”

ibuprofenMessageItem = OCKMessageItem(title: "Medication Adherence”, text: message,

tintColor: UIColor.red(), messageType: .tip)

}

Page 140: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var ibuprofenMessageItem: OCKInsightItem

func createIbuprofenMessageItem() {

// Generate message using Care Plan Store data.

let adherencePercentage = calculateIbuprofenAdherence()

let message = "Your Ibuprofen adherence was \(adherencePercentage) last week.”

ibuprofenMessageItem = OCKMessageItem(title: "Medication Adherence”, text: message,

tintColor: UIColor.red(), messageType: .tip)

}

Page 141: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 142: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var barChartItem: OCKInsightItem

func createBarChartItem() {

let painSeries = OCKBarSeries(title: "Pain", values: [10, 5, 7, 9, 6, 3, 8],

valueLabels: ["10", "5", "7", "9", "6", "3", "8"], tintColor: UIColor.blue())

let ibuprofenSeries = OCKBarSeries(title: "Ibuprofen", values: [1, 5, 4, 2, 5, 8, 2],

valueLabels: ["10%", "50%", "40%", "20%", "50%", "80%", "20%"], tintColor:

UIColor.blue().withAlphaComponent(0.75))

barChartItem = OCKBarChart(title: "Pain", text: "with Ibuprofen", tintColor:

UIColor.blue(), axisTitles: ["S", "M", "T", "W", "T", "F", "S"], axisSubtitles: ["6/5",

"", "", "", "", "", "6/11"], dataSeries: [painSeries, ibuprofenSeries],

minimumScaleRangeValue: 0, maximumScaleRangeValue: 10)

}

Page 143: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var barChartItem: OCKInsightItem

func createBarChartItem() {

let painSeries = OCKBarSeries(title: "Pain", values: [10, 5, 7, 9, 6, 3, 8],

valueLabels: ["10", "5", "7", "9", "6", "3", "8"], tintColor: UIColor.blue())

let ibuprofenSeries = OCKBarSeries(title: "Ibuprofen", values: [1, 5, 4, 2, 5, 8, 2],

valueLabels: ["10%", "50%", "40%", "20%", "50%", "80%", "20%"], tintColor:

UIColor.blue().withAlphaComponent(0.75))

barChartItem = OCKBarChart(title: "Pain", text: "with Ibuprofen", tintColor:

UIColor.blue(), axisTitles: ["S", "M", "T", "W", "T", "F", "S"], axisSubtitles: ["6/5",

"", "", "", "", "", "6/11"], dataSeries: [painSeries, ibuprofenSeries],

minimumScaleRangeValue: 0, maximumScaleRangeValue: 10)

}

Page 144: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var barChartItem: OCKInsightItem

func createBarChartItem() {

let painSeries = OCKBarSeries(title: "Pain", values: [10, 5, 7, 9, 6, 3, 8],

valueLabels: ["10", "5", "7", "9", "6", "3", "8"], tintColor: UIColor.blue())

let ibuprofenSeries = OCKBarSeries(title: "Ibuprofen", values: [1, 5, 4, 2, 5, 8, 2],

valueLabels: ["10%", "50%", "40%", "20%", "50%", "80%", "20%"], tintColor:

UIColor.blue().withAlphaComponent(0.75))

barChartItem = OCKBarChart(title: "Pain", text: "with Ibuprofen", tintColor:

UIColor.blue(), axisTitles: ["S", "M", "T", "W", "T", "F", "S"], axisSubtitles: ["6/5",

"", "", "", "", "", "6/11"], dataSeries: [painSeries, ibuprofenSeries],

minimumScaleRangeValue: 0, maximumScaleRangeValue: 10)

}

Page 145: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var barChartItem: OCKInsightItem

func createBarChartItem() {

let painSeries = OCKBarSeries(title: "Pain", values: [10, 5, 7, 9, 6, 3, 8],

valueLabels: ["10", "5", "7", "9", "6", "3", "8"], tintColor: UIColor.blue())

let ibuprofenSeries = OCKBarSeries(title: "Ibuprofen", values: [1, 5, 4, 2, 5, 8, 2],

valueLabels: ["10%", "50%", "40%", "20%", "50%", "80%", "20%"], tintColor:

UIColor.blue().withAlphaComponent(0.75))

barChartItem = OCKBarChart(title: "Pain", text: "with Ibuprofen", tintColor:

UIColor.blue(), axisTitles: ["S", "M", "T", "W", "T", "F", "S"], axisSubtitles: ["6/5",

"", "", "", "", "", "6/11"], dataSeries: [painSeries, ibuprofenSeries],

minimumScaleRangeValue: 0, maximumScaleRangeValue: 10)

}

Page 146: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var barChartItem: OCKInsightItem

func createBarChartItem() {

let painSeries = OCKBarSeries(title: "Pain", values: [10, 5, 7, 9, 6, 3, 8],

valueLabels: ["10", "5", "7", "9", "6", "3", "8"], tintColor: UIColor.blue())

let ibuprofenSeries = OCKBarSeries(title: "Ibuprofen", values: [1, 5, 4, 2, 5, 8, 2],

valueLabels: ["10%", "50%", "40%", "20%", "50%", "80%", "20%"], tintColor:

UIColor.blue().withAlphaComponent(0.75))

barChartItem = OCKBarChart(title: "Pain", text: "with Ibuprofen", tintColor:

UIColor.blue(), axisTitles: ["S", "M", "T", "W", "T", "F", "S"], axisSubtitles: ["6/5",

"", "", "", "", "", "6/11"], dataSeries: [painSeries, ibuprofenSeries],

minimumScaleRangeValue: 0, maximumScaleRangeValue: 10)

}

Page 147: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating an Insights Dashboard

// Provide an array of insight items

// Create an Insights view controller.

let viewController = OCKInsightsViewController(insightItems: [ibuprofenMessageItem,

barChartItem], headerTitle: "Weekly Insights", headerSubtitle: "6/5 - 6/11")

Page 148: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 149: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

InsightsUnderstanding your data

Page 150: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ConnectCommunicate and share

Page 151: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ContactsConnect

Page 152: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ContactsConnect

Care Team• Physician• Nurse

Page 153: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ContactsConnect

Care Team• Physician• Nurse

Personal• Friend• Family

Page 154: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 155: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 156: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 157: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var physicianContact: OCKContact

func createPhysicianContact() {

physicianContact = OCKContact(contactType: .careTeam, name: "Dr. Paul Cashman",

relation: "Physician", tintColor: UIColor.blue(), phoneNumber:

CNPhoneNumber(stringValue: "361-555-0111"), messageNumber: CNPhoneNumber(stringValue:

"361-555-0121"), emailAddress: "[email protected]", monogram: "PC", image:

UIImage(named: "doctor"))

}

Page 158: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var physicianContact: OCKContact

func createPhysicianContact() {

physicianContact = OCKContact(contactType: .careTeam, name: "Dr. Paul Cashman",

relation: "Physician", tintColor: UIColor.blue(), phoneNumber:

CNPhoneNumber(stringValue: "361-555-0111"), messageNumber: CNPhoneNumber(stringValue:

"361-555-0121"), emailAddress: "[email protected]", monogram: "PC", image:

UIImage(named: "doctor"))

}

Page 159: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

var physicianContact: OCKContact

func createPhysicianContact() {

physicianContact = OCKContact(contactType: .careTeam, name: "Dr. Paul Cashman",

relation: "Physician", tintColor: UIColor.blue(), phoneNumber:

CNPhoneNumber(stringValue: "361-555-0111"), messageNumber: CNPhoneNumber(stringValue:

"361-555-0121"), emailAddress: "[email protected]", monogram: "PC", image:

UIImage(named: "doctor"))

}

Page 160: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Connect View Controller

// Provide an array of contacts

let viewController = OCKConnectViewController(contacts: [physicianContact, nurseContact,

fatherContact, sisterContact, uncleContact])

viewController.delegate = self

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

Page 161: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Connect View Controller

// Provide an array of contacts

let viewController = OCKConnectViewController(contacts: [physicianContact, nurseContact,

fatherContact, sisterContact, uncleContact])

viewController.delegate = self

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

Page 162: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Creating a Connect View Controller

// Provide an array of contacts

let viewController = OCKConnectViewController(contacts: [physicianContact, nurseContact,

fatherContact, sisterContact, uncleContact])

viewController.delegate = self

// Embed the view controller in a navigation controller.

let navController = UINavigationController(rootViewController: viewController)

Page 163: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 164: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 165: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 166: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 167: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 168: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Connect Delegate

// Implement the delegate to enable sharing

func connectViewController(_ connectViewController: OCKConnectViewController,

didSelectShareButtonFor contact: OCKContact, presentationSourceView sourceView: UIView) {

generatePDFReport()

sharePDFReport()

}

Page 169: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Connect Delegate

// Implement the delegate to enable sharing

func connectViewController(_ connectViewController: OCKConnectViewController,

didSelectShareButtonFor contact: OCKContact, presentationSourceView sourceView: UIView) {

generatePDFReport()

sharePDFReport()

}

Page 170: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

// Connect Delegate

// Implement the delegate to enable sharing

func connectViewController(_ connectViewController: OCKConnectViewController,

didSelectShareButtonFor contact: OCKContact, presentationSourceView sourceView: UIView) {

generatePDFReport()

sharePDFReport()

}

Page 171: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ConnectCommunicate and share

Page 172: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Document ExplorerShare the data

Page 173: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ElementsDocument Exporter

Page 174: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ElementsDocument Exporter

Headers and footers

Page 175: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ElementsDocument Exporter

Headers and footersTexts and paragraphs

Page 176: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ElementsDocument Exporter

Headers and footersTexts and paragraphsImages

Page 177: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ElementsDocument Exporter

Headers and footersTexts and paragraphsImagesCharts

Page 178: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

ElementsDocument Exporter

Headers and footersTexts and paragraphsImagesChartsTables

Page 179: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 180: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func createPDF() {

let paragraph = OCKDocumentElementParagraph(content: “In the past week, John Appleseed’s

overall weekly adherence was 86%. His medication adherence was 40%. There were several

incomplete dosages. The chart below shows the comparison of John’s medication adherence

and pain scores.”)

let chart = OCKDocumentElementChart(chart: barChartItem)

let table = OCKDocumentElementTable(headers: ["", "Sun", "Mon", "Tue", "Wed", "Thu",

"Fri", "Sat"], rows: [["Pain", "10", "5", "7", "9", "6", "3", "8"]])

let document = OCKDocument(title: "John Appleseed", elements: [paragraph, chart, table])

let pdfURL = persistenceDirectoryURL.appendingPathComponent("CareKit.pdf")

document.createPDFData(completion: { data, error in

try! data.write(to: pdfURL, options: NSData.WritingOptions.atomicWrite)

})

}

Page 181: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func createPDF() {

let paragraph = OCKDocumentElementParagraph(content: “In the past week, John Appleseed’s

overall weekly adherence was 86%. His medication adherence was 40%. There were several

incomplete dosages. The chart below shows the comparison of John’s medication adherence

and pain scores.”)

let chart = OCKDocumentElementChart(chart: barChartItem)

let table = OCKDocumentElementTable(headers: ["", "Sun", "Mon", "Tue", "Wed", "Thu",

"Fri", "Sat"], rows: [["Pain", "10", "5", "7", "9", "6", "3", "8"]])

let document = OCKDocument(title: "John Appleseed", elements: [paragraph, chart, table])

let pdfURL = persistenceDirectoryURL.appendingPathComponent("CareKit.pdf")

document.createPDFData(completion: { data, error in

try! data.write(to: pdfURL, options: NSData.WritingOptions.atomicWrite)

})

}

Page 182: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func createPDF() {

let paragraph = OCKDocumentElementParagraph(content: “In the past week, John Appleseed’s

overall weekly adherence was 86%. His medication adherence was 40%. There were several

incomplete dosages. The chart below shows the comparison of John’s medication adherence

and pain scores.”)

let chart = OCKDocumentElementChart(chart: barChartItem)

let table = OCKDocumentElementTable(headers: ["", "Sun", "Mon", "Tue", "Wed", "Thu",

"Fri", "Sat"], rows: [["Pain", "10", "5", "7", "9", "6", "3", "8"]])

let document = OCKDocument(title: "John Appleseed", elements: [paragraph, chart, table])

let pdfURL = persistenceDirectoryURL.appendingPathComponent("CareKit.pdf")

document.createPDFData(completion: { data, error in

try! data.write(to: pdfURL, options: NSData.WritingOptions.atomicWrite)

})

}

Page 183: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func createPDF() {

let paragraph = OCKDocumentElementParagraph(content: “In the past week, John Appleseed’s

overall weekly adherence was 86%. His medication adherence was 40%. There were several

incomplete dosages. The chart below shows the comparison of John’s medication adherence

and pain scores.”)

let chart = OCKDocumentElementChart(chart: barChartItem)

let table = OCKDocumentElementTable(headers: ["", "Sun", "Mon", "Tue", "Wed", "Thu",

"Fri", "Sat"], rows: [["Pain", "10", "5", "7", "9", "6", "3", "8"]])

let document = OCKDocument(title: "John Appleseed", elements: [paragraph, chart, table])

let pdfURL = persistenceDirectoryURL.appendingPathComponent("CareKit.pdf")

document.createPDFData(completion: { data, error in

try! data.write(to: pdfURL, options: NSData.WritingOptions.atomicWrite)

})

}

Page 184: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

func createPDF() {

let paragraph = OCKDocumentElementParagraph(content: “In the past week, John Appleseed’s

overall weekly adherence was 86%. His medication adherence was 40%. There were several

incomplete dosages. The chart below shows the comparison of John’s medication adherence

and pain scores.”)

let chart = OCKDocumentElementChart(chart: barChartItem)

let table = OCKDocumentElementTable(headers: ["", "Sun", "Mon", "Tue", "Wed", "Thu",

"Fri", "Sat"], rows: [["Pain", "10", "5", "7", "9", "6", "3", "8"]])

let document = OCKDocument(title: "John Appleseed", elements: [paragraph, chart, table])

let pdfURL = persistenceDirectoryURL.appendingPathComponent("CareKit.pdf")

document.createPDFData(completion: { data, error in

try! data.write(to: pdfURL, options: NSData.WritingOptions.atomicWrite)

})

}

Page 185: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 186: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

647 x 1150

Page 187: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 188: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Document ExplorerShare the data

Page 189: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKit Modules

Document Exporter

Page 190: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

CareKit Modules

Document Exporter

Care Card Symptom Tracker Insights Dashboard Connect

Care Plan Store

Page 191: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Customizing with CareKit

Page 192: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 193: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

647 x 1150

Page 194: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care
Page 195: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

647 x 1150

Page 196: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

What’s Next?

Page 197: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

What’s Next?

Page 198: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

What’s Next?

Patient App

Page 199: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

What’s Next?Provider Cloud

Patient App

Page 200: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

What’s Next?Provider Cloud

Patient App

Physician

Care Team

Page 201: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Open Source

Page 202: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

It will become what YOU make of it!

Open Source

Page 203: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Please Contribute!!

Page 204: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

github.com/carekit-apple/carekit

Please Contribute!!

Page 205: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Your roleCollaboration

Page 206: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Your roleCollaboration

Issues on GitHub

Page 207: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Your roleCollaboration

Issues on GitHubDevelop the feature

Page 208: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Your roleCollaboration

Issues on GitHubDevelop the featureReview process

Page 209: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Our roleCollaboration

Page 210: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Our roleCollaboration

Accessibility

Page 211: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Our roleCollaboration

AccessibilityLocalization

Page 212: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Our roleCollaboration

AccessibilityLocalizationQA testing

Page 213: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Our roleCollaboration

AccessibilityLocalizationQA testingMerge into framework

Page 214: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

More Information

https://developer.apple.com/wwdc16/237

Page 215: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Related Sessions

Getting the Most Out of HealthKit Nob Hill Wednesday 9:00AM

What’s New in ResearchKit Nob Hill Friday 10:00AM

Page 216: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care

Labs

ResearchKit and CareKit Lab Fort Mason Friday 3:30PM

Page 217: Getting Started with CareKit - Apple Inc....Care Card Symptom Tracker Insights Dashboard Connect Care Plan Store Document Exporter Care Plan Store Care Plan Store Activity Event Care