Package dk.cachet.carp.studies.domain

Types

Link copied to clipboard
class Study(ownerId: UUID, name: String, description: String?, invitation: StudyInvitation, id: UUID, createdOn: Instant) : 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.

Link copied to clipboard
interface StudyRepository

Store Study instances.

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