ParticipationService
Application service which allows inviting participants, retrieving participation invitations for study deployments, and managing data related to participants which is input by users.
A participant app uses getActiveParticipationInvitations to find the studies it is invited to, and setParticipantData to store InputData such as informed consent. Works alongside DeploymentService.
Constructors
ParticipationService
Constants
API_VERSION
Methods
getActiveParticipationInvitations
- String? accountId,
Get all invitations of active study deployments the account with the given accountId has been invited to.
getParticipantData
- String studyDeploymentId
Get currently set data for all expected participant data in the study deployment with studyDeploymentId. Data which is not set equals null.
getParticipantDataList
Get currently set data for all expected participant data for a set of study deployments with studyDeploymentIds. Data which is not set equals null.
setParticipantData
Set data that was inputByParticipantRole in the study deployment with studyDeploymentId.
If inputByParticipantRole is null, all roles can set it. If you want to set data that was assigned to a specific participant role, inputByParticipantRole needs to be set.
Returns all data for the specified study deployment, including the newly set data.