Getting Started with ResearchKit
()
About this ebook
About This Book
- Create a simple clinical research app using most aspects of ResearchKit
- Build a simple survey with various data types with the results printed on the screen.
- A step-by-step guide introducing Apple's ResearchKit and techniques to incorporate it into various apps.
Who This Book Is For
This book is aimed at medical researchers with basic iOS coding knowledge and iOS developers looking to create clinical research apps.
What You Will Learn
- Learn to create customized consent form
- Get introduced to two backend services: a simple backend server using Sinatra and Sage Bridge
- Build a custom task (a conditional survey example) and a navigable task
- Get an Overview of ResearchKit's open source repository and App Core
- Interaction with the hardware of the device including the gyro and the motion sensors
- Learn the basics of this revolutionary technology
- Get introduced to the barebones app and learn to write your first code
In Detail
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.
Style and approach
A hands-on guide with ample screenshots for you to follow and learn about ResearchKit. Each topic is explained sequentially and placed in context so that you can get a better understanding of every step in the process of creating clinical research apps.
Related to Getting Started with ResearchKit
Related ebooks
The Natural Language for Artificial Intelligence Rating: 0 out of 5 stars0 ratingsThe Focus Group Research Handbook Rating: 0 out of 5 stars0 ratingsHeuristic evaluation A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsUser journey Standard Requirements Rating: 0 out of 5 stars0 ratingsInteractive Data Visualization A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsInnovation that Sticks.: Reach success as a Leader in your Field with the Spaghetti Principle Rating: 0 out of 5 stars0 ratingsThe New Know: Innovation Powered by Analytics Rating: 0 out of 5 stars0 ratingsMultivariate and A B Testing Standard Requirements Rating: 0 out of 5 stars0 ratingsDigital Growth A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsBuilding Design Systems: Unify User Experiences through a Shared Design Language Rating: 0 out of 5 stars0 ratingsEconomic data Second Edition Rating: 0 out of 5 stars0 ratingsCohort analysis A Complete Guide Rating: 0 out of 5 stars0 ratingsDevelop Use Cases Second Edition Rating: 0 out of 5 stars0 ratingsStrategic business unit Third Edition Rating: 0 out of 5 stars0 ratingsData Visualization A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsHacking Product Design: A Guide to Designing Products for Startups Rating: 0 out of 5 stars0 ratingsStrategic alignment A Complete Guide Rating: 0 out of 5 stars0 ratingsInformation Architecture A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsThe Affiliate Marketer's Manual Rating: 0 out of 5 stars0 ratingsHeuristics in Analytics: A Practical Perspective of What Influences Our Analytical World Rating: 0 out of 5 stars0 ratingsPeople Aren’t Robots: A Practical Guide to the Psychology and Technique of Questionnaire Design Rating: 4 out of 5 stars4/5Service Design A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsConsumer Insight A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsUsing Media for Social Innovation Rating: 0 out of 5 stars0 ratingsWireframing A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsDesign Informed: Driving Innovation with Evidence-Based Design Rating: 0 out of 5 stars0 ratingsThe Total Survey Error Approach: A Guide to the New Science of Survey Research Rating: 0 out of 5 stars0 ratingsThe Power of Virtual Distance: A Guide to Productivity and Happiness in the Age of Remote Work Rating: 0 out of 5 stars0 ratings
Computers For You
Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5CompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsAP Computer Science Principles Premium, 2024: 6 Practice Tests + Comprehensive Review + Online Practice Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsSQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Network+ Study Guide & Practice Exams Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsGrokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Ultimate Guide to Mastering Command Blocks!: Minecraft Keys to Unlocking Secret Commands Rating: 5 out of 5 stars5/5ChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsPractical Lock Picking: A Physical Penetration Tester's Training Guide Rating: 5 out of 5 stars5/5Remote/WebCam Notarization : Basic Understanding Rating: 3 out of 5 stars3/5Childhood Unplugged: Practical Advice to Get Kids Off Screens and Find Balance Rating: 0 out of 5 stars0 ratingsElon Musk Rating: 4 out of 5 stars4/5Going Text: Mastering the Command Line Rating: 4 out of 5 stars4/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5Dark Aeon: Transhumanism and the War Against Humanity Rating: 5 out of 5 stars5/5Master Builder Roblox: The Essential Guide Rating: 4 out of 5 stars4/5
Reviews for Getting Started with ResearchKit
0 ratings0 reviews
Book preview
Getting Started with ResearchKit - Cessna Edward
Table of Contents
Getting Started with ResearchKit
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started
What is ResearchKit?
Privacy
Identification, authentication, and authorization
Informed consent
Relationship with HealthKit
Features not provided by ResearchKit
The anatomy of a ResearchKit-based application
Summary
2. ResearchKit Hello World
Hello World App
Create project
Checkout ResearchKit from GitHub
Import ResearchKit
Enable Data Protection
Hello World!
Introducing Softwareitis
Summary
3. Building Surveys
ResearchKit object model
Tasks and steps
Task view controller and results
Building surveys
Instruction step
Question step
Form step
Considerations for real-world surveys
BONUS: Appearance customization
Summary
4. ResearchKit Informed Consent
Consent document
Visual consent step
Consent review step
Consent sharing
Consent process
Obtaining results
Summary
5. Active Tasks
Active tasks
Short walk task
Sample code
Results
Screenshot
Two-finger tapping interval task
Sample code
Results
Screenshot
Fitness task
Sample code
Results
Screenshot
Spatial memory task
Sample Code
Results
Screenshot
Sustained phonation task
Sample code
Results
Screenshot
Data formats
Pedometer data
Location data
Device motion data
Accelerometer data
Audio data
Summary
6. Navigable and Custom Tasks
Navigable ordered tasks
Custom tasks
Summary
7. Backend Service
Why is backend service needed?
Security and privacy
Introduction to Sage Bionetworks and the Bridge service
Introduction to sample ResearchKit backend server
Serialization of task results
The serialization of survey responses
Serialization of file results
Summary
8. Where to Go from Here
Restoring tasks
Graphs and charts
Pie chart
Line graph
Discrete graph
Scheduling
Cron expressions
APCSchedule Expression
Safeguarding Data-in-transit
A theoretical architecture for ResearchKit-based applications
Presentation layer
Business logic layer
Data substrate layer
Online ResearchKit resource
Summary
Index
Getting Started with ResearchKit
Getting Started with ResearchKit
Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: February 2016
Production reference: 1020216
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78588-917-2
www.packtpub.com
Credits
Authors
Dhanush Balachandran
Edward Cessna
Reviewers
Oliver Gepp
Andreas Griesser
Commissioning Editor
Veena Pagare
Acquisition Editor
Kevin Colaco
Content Development Editor
Sumeet Sawant
Technical Editor
Danish Shaikh
Copy Editor
Vibha Shukla
Project Coordinator
Shweta H Birwatkar
Proofreader
Safis Editing
Indexer
Mariammal Chettiyar
Graphics
Disha Haria
Production Coordinator
Nilesh Mohite
Cover Work
Nilesh Mohite
About the Authors
Dhanush Balachandran has a vast experience in creating mobile apps for healthcare industry that include several ResearchKit apps. He was the lead iOS engineer at Jiff, a healthcare start-up and later worked on ResearchKit-based apps for leading institutions. Currently, he is an iOS engineer at DJI. He is also the founder & CEO of mobile app startup, Sortly.
Edward Cessna is the software engineering director for Y Media Labs, a digital agency in Northern California that creates mobile applications. He has three decades of software engineering experience—ranging from embedded software providing cryptographic services to a multitude of iOS applications. He has been working with iOS since its first public release in July 2008. He has managed the development effort for a number of ResearchKit-based applications for leading research institutions.
About the Reviewers
Oliver Gepp is a senior software engineer at Zühlke Group, Switzerland with a strong focus on mobile apps. He has a diploma in media computer science from the Technical University of Dresden, Germany. Most of his projects are in the insurance and banking business, where he covers the whole application life cycle such as business analysis, development, and testing. His passion is developing mobile apps for the iOS platform not only in Swift and Objective-C, but also with cross platform technologies such as Xamarin.
Andreas Griesser is leading the business development at Zühlke Group, Switzerland in the area of LabScience, Pharmaceutical & Biotechnology. He holds a master's degree in telecommunication, mathematics, and informatics from the Technical University of Graz, Austria and a PhD in computer science from the Swiss Federal Institute of Technology, Switzerland (ETH). During his career, he was involved in research projects of real-time three-dimensional scanning, general-purpose computing on graphics processing units (GPGPU), and medical image analysis.
Under his current activities at Zühlke in the healthcare sector, he focuses on topics such as digital transformation and connected devices—not only on a technical level, but also with a business-related perspective.
www.PacktPub.com
Support files, eBooks, discount offers, and more
For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Free access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.
Preface
This book helps you get started on creating ResearchKit-based applications. ResearchKit™ is an open source framework introduced by Apple that allows researchers and developers to create powerful apps for medical research.
What this book covers
Chapter 1, Getting Started, introduces ResearchKit and explains the anatomy of a ResearchKit-based application.
Chapter 2, ResearchKit Hello World, helps you create your first ResearchKit application and teaches how to integrate ResearchKit in your projects.
Chapter 3, Building Surveys, covers how to create and present clinical surveys. In this process, you'll also learn about the ResearchKit object model.
Chapter 4, ResearchKit Informed Consent, explains how to create, present, and obtain informed consent to participate in clinical studies from the end users.
Chapter 5, Active Tasks, covers how to use active tasks—one of the most important features of ResearchKit.
Chapter 6, Navigable and Custom Tasks, helps you create smart surveys that can skip questions based on the answers provided by users.
Chapter 7, Back End Service, explains how to serialize task results to send to a backend service.
Chapter 8, Where to go from here, helps you learn various tools and tips to create real-world ResearchKit applications.
What you need for this book
iOS Software development tools: Xcode 7.0 or higher
iOS Device (iPhone or iPad) to use sensors, GPS, and so on
Basic knowledge of iOS and Swift 2.0
Access to the Internet to download the source code associated with this book
Who this book is for
This book is aimed at medical researchers with basic iOS coding knowledge and iOS developers looking to create clinical research apps.
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their