RPConsentReviewStep
The step for presenting the consent document for review and collecting the signature
The RPConsentReviewStep is used for:
- presenting the content of each section (RPConsentSection) of the consent document (RPConsentDocument) in a summarized form to the participant
- collecting name (optional) and signature (optional)
The presence or type of the to be collected signature depends on the consentDocument's signature list.
- Inheritance
-
- Object
- Serializable
- RPStep
- RPConsentReviewStep
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPConsentReviewStep.fromJson
RPConsentReviewStep
- required String identifier,
- required String title,
- String? text,
- required RPConsentDocument consentDocument,
- String? reasonForConsent,
Returns an initialized Consent Review Step
If the consent document doesn't have any signatures then no signature collection stage is part of the flow. On how to specify a signature go to RPConsentSignature.
Properties
consentDocument
getter/setter pair
The consent document to review and sign
fromJsonFunction
The function which can convert a JSON string to an object of this type.
reasonForConsent
getter/setter pair
The text in the confirmation popup (body)
stepWidget
The widget (UI representation) of the step
It returns the corresponding step widget with this step as an input
Methods
toJson
Return a JSON encoding of this object.