Consent document
The ORKConsentDocument
class is the heart of the informed consent process; it is the container of the information that is to be presented to the participant. This class drives the visual consent step (ORKVisualConsentStep
), consent review step (ORKConsentReviewStep
), and production of the informed consent document in a PDF. Consent documents have a title and the signature page of the document has a title and page content property; consent documents may have or require one or more signatures.
The properties and relationships of ORKConsentDocument
are depicted in the following diagram:
Creating a consent document and setting its properties are accomplished simply by the following:
// 1 let document = ORKConsentDocument() // 2 document.title = "Example Consent" document.signaturePageTitle = "Consent" document.signaturePageContent = "I agree to participate in this research study."
Instantiate ORKConsentDocument
using the default initializer.
Set the consent document properties...