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:
Share collected data with the study institution and qualified researchers worldwide.
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...