Recruitment Service
interface RecruitmentService : ApplicationService<RecruitmentService, RecruitmentService.Event>
Content copied to clipboard
Application service which allows setting recruitment goals, adding participants to studies, and creating deployments for them.
Types
Functions
Link copied to clipboard
abstract suspend fun addParticipant(studyId: UUID, email: EmailAddress): Participant
Content copied to clipboard
Add a Participant to the study with the specified studyId, identified by the specified email address. In case the email was already added before, the same Participant is returned.
Link copied to clipboard
abstract suspend fun getParticipant(studyId: UUID, participantId: UUID): Participant
Content copied to clipboard
Returns a participant of a study with the specified studyId, identified by participantId.
Link copied to clipboard
abstract suspend fun getParticipantGroupStatusList(studyId: UUID): List<ParticipantGroupStatus>
Content copied to clipboard
Get the status of all deployed participant groups in the study with the specified studyId.
Link copied to clipboard
Get all Participants for the study with the specified studyId.
Link copied to clipboard
abstract suspend fun inviteNewParticipantGroup(studyId: UUID, group: Set<AssignedParticipantRoles>): ParticipantGroupStatus
Content copied to clipboard
Link copied to clipboard
abstract suspend fun stopParticipantGroup(studyId: UUID, groupId: UUID): ParticipantGroupStatus
Content copied to clipboard