Building a COVID-19 symptom tracker in CareKit: Part 1

Neil Horton
Apr 9, 2020 · 6 min read
Source: CareKit by carekit-apple (BSD)

Introduction

Fig 1.0 A simple CareKit application which allows users to track episodes of prolonged coughing all throughout the day.

Integrating CareKit

Fig 2.0 Creating a Single View application in Xcode.
https://github.com/carekit-apple/CareKit
Using Swift Package manager to integrate CareKit
Using Swift Package manager to integrate CareKit
Fig 2.1 Integrating CareKit using Swift Package Manager

Creating a daily view

Fig 3.0 CareKit daily view displayed on screen. Note that in this example we have given the view controller a title in viewDidLoad

Tracking coughing episodes

Fig 4.0 CareKit daily view now allows user to track coughing episodes each day.

Summary

Kin + Carta Created

At Kin + Carta Create, we're busy building technology…

Thanks to Suyash Srijan, Robbie Fraser, and Oliver Dew

Neil Horton

Written by

Kin + Carta Created

At Kin + Carta Create, we're busy building technology experiences for a world where mobile is an expectation, not a device. ‘Kin + Carta Created’ is where we share selected learnings and highlights. Head to www.kinandcarta.com for more.

Neil Horton

Written by

Kin + Carta Created

At Kin + Carta Create, we're busy building technology experiences for a world where mobile is an expectation, not a device. ‘Kin + Carta Created’ is where we share selected learnings and highlights. Head to www.kinandcarta.com for more.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store