Package-level declarations

Types

Link copied to clipboard

Store participants, linked to study IDs.

Link copied to clipboard
class Recruitment(val studyId: UUID, id: UUID = UUID.randomUUID(), createdOn: Instant = Clock.System.now()) : AggregateRoot<Recruitment, RecruitmentSnapshot, Recruitment.Event>

Represents a set of participants recruited for a study identified by studyId.

Link copied to clipboard
@Serializable
data class RecruitmentSnapshot(val id: UUID, val createdOn: Instant, val version: Int, val studyId: UUID, val studyProtocol: StudyProtocolSnapshot?, val invitation: StudyInvitation?, val participants: Set<Participant> = emptySet(), val participantGroups: Map<UUID, StagedParticipantGroup> = emptyMap()) : Snapshot<Recruitment>
Link copied to clipboard
@Serializable
sealed class RecruitmentStatus

Status information about a Recruitment.

Link copied to clipboard
@Serializable
data class StagedParticipantGroup(val id: UUID = UUID.randomUUID())

A group of participants configured during recruitment, intended to be deployed as a whole once configuration is completed.