research_package library

Classes

BlocQuestion
The BLoC file for the communication between the question container RPUIQuestionStep and the question body [...]
BlocTask
The BLoC file for the communication between the task RPUIOrderedTask and its steps RPStep.
CanSaveResult
A protocol to mark the Widgets which are producing RPResult objects. They all need to implement the createAndSendResult method
RPAnswerFormat
A base (abstract) class for different Answer Formats. [...]
RPChoice
The choice object which the participant can choose during a RPQuestionStep with RPChoiceAnswerFormat.
RPChoiceAnswerFormat
Class representing an Answer Format that lets participants choose from a fixed set of choices.
RPCompletionStep
A step which can be used as a "Thank you" or completion step in a task.
RPConsentDocument
Represents the content of an informed consent document. [...]
RPConsentReviewStep
The step for presenting the consent document for review and collecting the signature [...]
RPConsentSection
A content section in a RPConsentDocument. [...]
RPConsentSignature
Class representing a signature in a consent document [...]
RPConsentSignatureResult
Represents a signature applied to a given consent document. It indicates if a given consent document has been signed by a user.
RPFormAnswerFormat
Class representing the Answer Format for Form Questions (Multiple questions at the same time on the same page)
RPFormStep
The RPFormStep class is a concrete subclass of RPQuestionStep, used for presenting multiple questions on a single scrollable page. [...]
RPInstructionStep
A step which can be used to communicate instructions to the participants Usually it is used as the first step in a Task.
RPIntegerAnswerFormat
Class representing an Answer Format that lets participants input a number (integer)
RPOrderedTask
RPQuestionBodyResult<T>
The result which the Question Body is sending to it's container
RPQuestionStep
The concrete subclass of RPStep that represents a step in which a single question is presented to the user. [...]
RPResult
The superclass for results. It defines the attributes which all the more specialized results classes should have.
RPSignatureResult
The signature used in RPConsentSignatureResult [...]
RPStep
The base class for steps which can compose a task. [...]
RPStepResult
The result object a Step creates
RPStyles
RPTask
The RPTask abstract class defines a task to be carried out by a participant in a research study. [...]
RPTaskProgress
Simple class for keeping track the progress of the task. It contains the number of the current step and the total number of steps. [...]
RPTaskResult
The result object a Task creates
RPUIChoiceQuestionBody
The UI representation of RPChoiceAnswerFormat. This UI part appears embedded in a RPUIQuestionStep. Depending on the RPChoiceAnswerFormat's ChoiceAnswerStyle property, the user can select only one or multiple options.
RPUICompletionStep
The UI representation of RPCompletionStep [...]
RPUIConsentReviewStep
The UI representation of RPConsentReviewStep [...]
RPUIFormStep
RPUIInstructionStep
The UI representation of RPInstructionStep [...]
RPUIIntegerQuestionBody
RPUIOrderedTask
This class is the primary entry point for the presentation of the Research Package framework UI. It presents the steps of an RPOrderedTask and then provides the RPTaskResult object.
RPUIQuestionStep
The UI representation of the RPQuestionStep. This widget is the container, the concrete content depends on the input step's RPAnswerFormat. [...]
RPUIVisualConsentStep
The UI representation of RPVisualConsentStep [...]
RPVisualConsentStep
The step used for presenting the consent document to the participant [...]

Properties

blocQuestion BlocQuestion
The singleton object of the question BLoC class which can be accessed throughout Research Package.
final
blocTask BlocTask
The singleton object of the task BLoC class which can be accessed throughout Research Package.
final

Enums

ChoiceAnswerStyle
Available types for RPChoiceAnswerFormat
QuestionType
RPConsentSectionType
Enum containing the available types for RPConsentSection. [...]
StepStatus
Status to be sent to the Bloc so the Task Widget is notified about the navigation