Package dk.cachet.carp.studies.application

Types

RecruitmentService
Link copied to clipboard
interface RecruitmentService : ApplicationService<RecruitmentService, RecruitmentService.Event>

Application service which allows setting recruitment goals, adding participants to studies, and creating deployments for them.

RecruitmentServiceHost
Link copied to clipboard
class RecruitmentServiceHost(participantRepository: ParticipantRepository, deploymentService: DeploymentService, eventBus: ApplicationServiceEventBus<RecruitmentService, RecruitmentService.Event>) : RecruitmentService
StudyDetails
Link copied to clipboard
data class StudyDetails(studyId: UUID, studyOwner: StudyOwner, name: String, createdOn: Instant, description: String?, invitation: StudyInvitation, protocolSnapshot: StudyProtocolSnapshot?)

Contains detailed information about a study, such as the configured study protocol.

StudyService
Link copied to clipboard
interface StudyService : ApplicationService<StudyService, StudyService.Event>

Application service which allows creating and managing studies.

StudyServiceHost
Link copied to clipboard
class StudyServiceHost(repository: StudyRepository, eventBus: ApplicationServiceEventBus<StudyService, StudyService.Event>) : StudyService

Implementation of StudyService which allows creating and managing studies.

StudyStatus
Link copied to clipboard
sealed class StudyStatus

Describes the status of a Study: the number of participants, progress towards study goal, etc.