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
Event
Link copied to clipboard
Functions
add Participant
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.
get Participant
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.
get Participant Group Status List
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.
get Participants
Link copied to clipboard
Get all Participants for the study with the specified studyId.
invite New Participant Group
Link copied to clipboard
abstract suspend fun inviteNewParticipantGroup(studyId: UUID, group: Set<AssignParticipantDevices>): ParticipantGroupStatus
Content copied to clipboard
stop Participant Group
Link copied to clipboard
abstract suspend fun stopParticipantGroup(studyId: UUID, groupId: UUID): ParticipantGroupStatus
Content copied to clipboard
Inheritors
RecruitmentServiceHost
Link copied to clipboard