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
1
vote
0 answers

ACM Digital Library Search Problems

I have problems using the ACM advanced search at https://dl.acm.org/search/advanced I only want to search for abstracts, so I choose the abstract field in the "Search within" block. To provide a simple example, I use the following search…
a1nez
  • 21
  • 3
1
vote
1 answer

How to close ResearchKit Modal view in SwiftUI?

I am using SwiftUI to program a research kit app for personal use and I was wondering how to interact with Modal View opened Research Kit survey task. I am using this code at the moment to open the view: struct SurveyView:…
1
vote
0 answers

How can we add Background image in Taskviewcontroller in Reseachkit?

func taskViewController(_ taskViewController: ORKTaskViewController, stepViewControllerWillAppear stepViewController: ORKStepViewController) { let backgroundImage = UIImage(named: "setting_background_new") let imageView = UIImageView(image:…
Milan Varasada
  • 300
  • 1
  • 11
1
vote
1 answer

ORKTaskViewController - isNavigationBarHidden

Wondering if anyone knows if it is possible to hide the navigation controls only on a custom step inside a task, rather then on the entire taskviewcontroller via tvc.isNavigationBarHidden = true Thanks ahead of time
Chris Peragine
  • 158
  • 2
  • 8
1
vote
1 answer

ORKTextAnswerFormat regex validation

I am trying to incorporate a custom ORKTextAnswerFormat into my app, and only allow users to enter alphanumeric characters. I only want upper/lowercase letters and numbers - no symbols or accented letters. E.G. they should not be allowed to enter…
user7987142
1
vote
1 answer

"Use of unresolved identifier" error with ResearchKit code

I'm building an app using ResearchKit through the Ray Wenderlich tutorial and the following code continues to give the error message: Use of unresolved identifier 'consentSectionType' which is the current one. Since I didn't write the code, I'm not…
Aasha
  • 43
  • 1
  • 9
1
vote
1 answer

iOS Swift Researchkit Predicate issue in Xcode 8.3.3

I am Working Researchkit based application where i am navigating to the question based on the selected option of a single choice question in Xcode 8.3.3 . Unfortunately app crashing dynamically in setting the navigation rule. Earlier in Xcode 8.2.1…
hemanth
  • 13
  • 4
1
vote
1 answer

Take a result in Researchkit from array of ORKQuestionResult in a string?

Can't find the logic or the solution of taking the simple answer as string in a array of a ORKStepResult. It was working before with this : for stepResults in taskViewController.result.results! as! [ORKStepResult] { …
Rufilix
  • 253
  • 3
  • 22
1
vote
1 answer

Apple ResearchKit cause Missing Info.plist key

I am doing a project using ResearchKit by Apple and my app is using it as a framework. I've already imported it into the same folder of my current project and everything built and runs just fine. To be specific I've added the framework into 3…
thunpisit
  • 117
  • 1
  • 4
  • 12
1
vote
0 answers

How to access to the textFields of ResearchKit consent form?

When you create an ORKConsentSignature object and add it to an ORKConsentReviewStep, ResearchKit automatically presents a view that asks for the first name and last name. Is there a way to grab access to these 2 textfields? Basically I want to add…
7ball
  • 2,183
  • 4
  • 26
  • 61
1
vote
1 answer

Save data while entering background - ResearchKit

I am developing an application in swift using research kit framework. When TaskViewController is loaded to display the questionnaire on click of cancel or done the following function is called: func taskViewController(taskViewController:…
Sonal0706
  • 290
  • 3
  • 15
1
vote
1 answer

Navigation title not showing up in ResearchKit

How do you display the title of a TaskViewController in Research Kit? I've been trying the following and it doesn't seem to be showing up, although other properties can be set in this way. let taskViewController = ORKTaskViewController(task:…
user5480023
1
vote
1 answer

Researchkit: How to switch to next step manually out of UIWebView

I want to implement my own ResearchKit step including a WebView in which a button gives the possibility to switch to the next step. Is it therefore possible to 1) initiate switching to the next step manually? 2) manipulate the result, receiving some…
snaeil
  • 351
  • 2
  • 11
1
vote
0 answers

Can't get results from ConsentDocument by identifier. ResearchKit

Here is what I want to do: use results from ConsentDocument for view it in ViewController using identifier of step. But signature is always nil. So, how can I get fisrt and last name from Consent Document? override func viewDidLoad() { …
i33r55a99
  • 13
  • 5
1
vote
1 answer

ORKESerializer Researchkit test class giving error while building for iOS device

While working on my first researchkit project, I had a requirement of serializing the results of Researchkit survey into json. I need this json data to send the survey answers back to server. To serialize the ORKResult object it has been advised to…
PrajwalAS
  • 41
  • 6
1 2
3
8 9