Book Image

Getting Started with ResearchKit

By : Dhanush Balachandran, Edward Cessna
Book Image

Getting Started with ResearchKit

By: Dhanush Balachandran, Edward Cessna

Overview of this book

ResearchKit is an open source software development framework from Apple that lets you easily create mobile applications for clinical research studies. ResearchKit provides you the ability to orchestrate the administration of tasks and recording of the results. ResearchKit provides tasks in order to perform informed consent, active tasks, and surveys. Starting with the basics of the ResearchKit framework, this books walks you through the steps of creating iOS applications that could serve as the basis of a clinical research mobile app. This book will introduce readers to ResearchKit and how to turn your iPhone into into a clinical research tool. The book will start off by installing and building the research framework in line with the researcher's needs; during this, the reader will learn to embed ResearchKit in the application and create a small task. After this, the book will go a little deeper into creating modules for surveys, consents, and so on. The book will also cover the various aspects of privacy and security with regard to participant data, and how to build dashboards for visualizing medical data and results in line with the researcher's requirements: data backends, JSON serialization and deserialization, and so on. Readers will be able to fully utilize ResearchKit for medical research, will be able to get more and more patients to participate in their surveys, and will gain insights from the surveys using the dashboards created.
Table of Contents (15 chapters)

Consent sharing

The five initial ResearchKit-based applications included a data-sharing step during their on-boarding process. Through the use of the ORKConsentSharingStep class, these applications asked the participants how widely they wished to share their data. Instances of ORKConsentSharingStep presented the following two options:

  1. Share collected data with the study institution and qualified researchers worldwide.

  2. Only share collected data with the study institution and its partner.

The ORKConsentSharingStep class is a subclass of ORKQuestionStep. This class highlights the fact that the classes involved in obtaining informed consent are ResearchKit tasks and steps. As such, the application developer has the freedom to add custom ResearchKit tasks to the consent process for their application.

Similar to the visual consent and consent review step, consent sharing is implemented by including it in a task and then presenting that task with a task view controller, as follows:

//  1
let document...