Package dk.cachet.carp.studies.domain

Types

Study
Link copied to clipboard
class Study(owner: StudyOwner, name: String, description: String?, invitation: StudyInvitation, id: UUID) : AggregateRoot<Study, StudySnapshot, Study.Event>

Represents a study which can be pilot tested and eventually 'go live', for which a recruitment goal can be set, and participants can be recruited.

StudyRepository
Link copied to clipboard
interface StudyRepository

Store Study instances.

StudySnapshot
Link copied to clipboard
data class StudySnapshot(studyId: UUID, ownerId: UUID, name: String, description: String?, invitation: StudyInvitation, createdOn: Instant, protocolSnapshot: StudyProtocolSnapshot?, isLive: Boolean) : Snapshot<Study>