-
Notifications
You must be signed in to change notification settings - Fork 44
3. Consent Document Tutorial
First you have to create your consent document model using Research Package classes.
As a first step you have to create the sections which your Consent Document will contain. Research Package provides 8 pre defined section (RPConsentSectionType) type with corresponding images and animation and a "Custom" option to build you own:
- Overview,
- DataGathering,
- Privacy,
- DataUse,
- TimeCommitment,
- StudyTasks,
- StudySurvey,
- Withdrawing,
- Custom
To create a section just instantiate RPConsentSection with a type and then specify the summary (short text under the title) and the content (accessed after tapping the "Learn more" button.
RPConsentSection overviewSection = RPConsentSection(RPConsentSectionType.Overview)
..summary = "Welcome to this survey"
..content = "Overview dolor sit amet, consectetur adipiscing elit.";
RPConsentSection dataGatheringSection = RPConsentSection(RPConsentSectionType.DataGathering)
..summary = "This is a summary for Data Gathering."
..content = "Data Gathering dolor sit amet, consectetur adipiscing elit.";
A consent document in Research Package is represented by RPConsentDocument. Create one by specifying the Title and the previously created sections.
RPConsentDocument('Title', [overviewSection, dataGatheringSection]);
An important part of obtaining the consent document is collecting signatures.
When creating