Questions tagged [researchkit]

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

ResearchKit is an open source framework introduced by Apple that allows researchers and developers to create powerful apps for medical research. Easily create visual consent flows, real-time dynamic active tasks, and surveys using a variety of customizable modules that you can build upon and share with the community. And since ResearchKit works seamlessly with HealthKit, researchers can access even more relevant data for their studies — like daily step counts, calorie use, and heart rate.

125 questions
0
votes
1 answer

Researchkit limit multichoice

I have the following scenario: user have 10 choices presented and can pick only TWO. Now, in HTML it was easy with javascript to limit user's choice on two, but is there a way to do so in ResearchKit multichoice? If you can give me any hint, tip, or…
milovan
  • 73
  • 1
  • 9
0
votes
1 answer

How can I set a default value for the picker when using Apple's ResearchKit?

I'm trying to use the answer format ORKValuePickerAnswerFormat to select from a long list of selections, but I am open to using a different answer format.
0
votes
1 answer

Swift: using object factory results in unrecognised selector

Am using Josh Smith's ObjectFactory for instantiating classes by name in Swift. But the below code I tried results in unrecognised selector. if let survey = surveyFactory.createInstance(className: className, initializer: "initWithStyle", argument:…
rootcoder
  • 187
  • 2
  • 13
0
votes
1 answer

Secure text entry ORKAnswerFormat in ResearchKit

I saw that ORKEmailAnswerFormat was recently added to the master branch of ResearchKit to validate e-mails. It would be nice to have a ORKPasswordAnswerFormat too, with a .setSecureTextEntry property. In the mean time, I've tried to use the…
0
votes
2 answers

Apple ResearchKit: how to extract information from ORKResult? First time programmer

I'm working on a simple ResearchKit app that has 20 survey questions, or ORKSteps. How do I get the answers from a participant who submits the survey into a database? My research has found ORKESerializer and SQLite as potential parts of the…
Karen
  • 3
  • 3
0
votes
1 answer

Creating Segues Between Tasks Research Kit

I am trying to create a segue between two ORKTasks such as InformedConsent and SurveyTasks. There is not too much documentation in Swift on how to do this? I was wondering if anybody could help me out?
0
votes
1 answer

Research Kit - Objective-C error: "Visual consent step has no visible scenes"

edit: I finally solved this, it was a combination of a caching problem and a missing line of code. I never actually added the task to the view controller, somehow I missed that step. But also I had strange errors just running the github demo project…
Abbey Jackson
  • 885
  • 10
  • 20
0
votes
1 answer

Swift ResearchKit HealthKit QuestionStep

I'm currently working on a medical research app in swift, based on the ResearchKit framework (which is written in objective-c). I'm currently trying to create a survey with a HealthKit question. The code I have as of right now is: let…
Ayaan
  • 57
  • 7
0
votes
2 answers

iOS research kit survey (swift)

how can I add a custom background to my ResearchKit survey? I tried: taskViewController.view.backgroundColor = UIColor(patternImage: UIImage(named:imageName)) And: taskViewController.view.backgroundColor = UIColor.clearColor() let…
haitham
  • 3,398
  • 6
  • 21
  • 35
0
votes
3 answers

iOS ResearchKit swift documentation

Where can I find documentation for ResearchKit using Swift? Does it exist? All I can find is documentation in ObjectiveC. Example: http://researchkit.org/docs/docs/Survey/CreatingSurveys.html
haitham
  • 3,398
  • 6
  • 21
  • 35
0
votes
3 answers

return new ViewController in Swift

this is a follow up question to this : Assign ViewController to Class or vice versa So i have a ViewController called SwipeStepViewController, it subclasses from ORKActiveStepViewController. In the SwipeStep class i try to override the default…
plasmid0h
  • 186
  • 2
  • 13
0
votes
1 answer

ResearchKit stepResult for a TextChoiceQuestion

I'm using ResearchKit's stepResultForStepIdentifier method successfully for other question types, but can't find correct syntax to pre-populate the results for a TextChoiceQuestion. Below is an unsuccessful attempt at setting the result for the…
Brendenw
  • 785
  • 1
  • 6
  • 22
0
votes
2 answers

ResearchKit: Is it possible to get choices variable from ORKConsentReviewStep

As my question say, I am creating a ORKConsentReviewStep without the signature. But I would like to know if the user tap 'agree' or 'disagree'. I tried: let reviewResult = result.stepResultForStepIdentifier("kReview") let r =…
troligtvis
  • 133
  • 2
  • 8
-1
votes
1 answer

How to call a java program automatically using a python script?

I am working on a research project that involves dealing with an EEG headset Device. The functional code and logic for the device (Mindwave Neursky EEG Headset) is completely documented in java so I have coded the whole project in java and the GUI…
-1
votes
1 answer

iOS - can I use open source ResearchKit screens to make an arbitrary app?

I'm trying to create a survey-style app which would collect some information from a user, then process it and make a recommendation. It appears that ResearchKit comes very close to what I need in terms of assembling series of questions in a…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1 2 3
8
9