Monday, February 29, 2016

RK 02 - ResearchKit - Native App on HTML ?

As an iOS developer you would tend to think that Framework that Apple has developed must be on native Objective-C or Swift. The ResearchKit framework itself may be on Objective-C but the Architecture of the App development includes lots and lots of HTML and JSON files.

So you might need to revise your HTML / CSS skills before we proceed further.

If we dig inside "Resources" folder for the sample app for Parkison.



The major of contents are in HTMLContent folder, and  JSON is used to map the those HTML to each Views or ViewControllers.

Now lets examine  StudyOverview.json -

"questions":
    [
     {
     "title":"Welcome to mPower",
     "details":"A Parkinson Disease Research Study",
     },
     
     {
     "title":"About this Study",
     "details":"AboutStudy_intro",
    
     },
     
     {
     "title":"About the App",
     "details":"Please tap on the image below to watch a short video introduction to mPower.",
     "video_name" : "Intro",
     },
     
     {
     "title":"How this Study works",
     "details":"howstudyworks_intro",
     

     },


Hence the app framework binds your HTML via JSON files -
for example to bind your AboutStudy_intro.html file you have following JSON -

{
     "title":"About this Study",
     "details":"AboutStudy_intro",
 }

Which has the content like this -






Links -

https://github.com/ResearchKit/mPower/tree/master/Parkinson/Resources
www.w3schools.com/html/
www.w3schools.com/json/

Thursday, February 25, 2016

RK01 - ResearchKit - App Store Apps - diagnostic

As our tutorial is more focused towards making an app lets start from AppStore itself !



There are many app right now in App Store which are based on ResearchKit and the number is increasing day by day !




Following are the apps features by apple right now -

Asthma Health by Mount Sinai


By Icahn School of Medicine at Mount Sinai

https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=972625668&mt=8&ls=1&v0=www-us-researchkit-itms-asthma-health


Autism & Beyond


By Duke Health

https://itunes.apple.com/us/app/autism-beyond/id1025327516?mt=8

Breast Cancer: Share the Journey study


By Sage Bionetworks, a Not-For-Profit Research Organization

https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=972180604&mt=8&ls=1&v0=www-us-researchkit-itms-Sage-Bionetworks


EpiWatch


By Johns Hopkins Digital

https://itunes.apple.com/us/app/epiwatch/id1047757228?mt=8

Mole Mapper Melanoma Study


By Sage Bionetworks, a Not-For-Profit Research Organization

https://itunes.apple.com/us/app/mole-mapper-melanoma-study/id1048337814?mt=8


MyHeart Counts


By Stanford University

https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=972189947&mt=8&ls=1&v0=www-us-researchkit-itms-my-heart


Parkinson mPower study app


By Sage Bionetworks, a Not-For-Profit Research Organization

https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=972191200&mt=8&ls=1&v0=www-us-researchkit-itms-mpower


GlucoSuccess

https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=972143976&mt=8&ls=1&v0=www-us-researchkit-itms-Glucosuccess


RK00 - Getting Started with ResearchKit

RK00 - Getting Started with ResearchKit

Published On - 2/25/16, 4:52 AM
Updated On - 3/30/16

I guess as you have already searched for ResearchKit, you need no introduction to it !
But if you really don't know what it is here is an intro for you -

ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.

Normally when we start to develop iOS app the first place we start to search for tutorial is Raywenderlich. No wonder there is already one on ResearchKit ! Believe me only other place to learn about ResearchKit is one WWDC video from apple and that is it :[.

Other learning resources we should follow is the ResearchKit blog. And as always there is StackOverflow to get around.

But in this tutorial series I would not use conventional tutorial.  Like intro to ResearchKit, for which you can always follow apple documentation. Rather I would make you go thought the app that is already on App Store and hence at the end you can make your own app ;]. For which I would use open Gluco Sucess app. But the fun part is I wont make you follow same app ! Instead we would make a app for COPD called StopCOPD which isnt OpenSource app.

So lets get started !

RK01 - ResearchKit - App Store Apps - diagnostic
RK 02 - ResearchKit - Native App on HTML ?
RK03 - ResearchKit "Hello World" with Instruction Step


Links -

http://www.apple.com/researchkit/
http://www.raywenderlich.com/104575/researchkit-tutorial-with-swift
http://researchkit.org
http://researchkit.org/blog.html
https://developer.apple.com/videos/play/wwdc2015/213/
http://stackoverflow.com/questions/tagged/researchkit?sort=newest&pageSize=50
http://researchkit.org/docs/docs/Overview/GuideOverview.html

https://github.com/researchkit/researchkit
https://github.com/ResearchKit/GlucoSuccess
https://itunes.apple.com/us/app/stopcopd/id1020845469?mt=8