Package-level declarations

Types

Link copied to clipboard
class Study(val ownerId: UUID, name: String, description: String? = null, invitation: StudyInvitation = StudyInvitation( name ), id: UUID = UUID.randomUUID(), createdOn: Instant = Clock.System.now()) : 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
@Serializable
data class StudySnapshot(val id: UUID, val createdOn: Instant, val version: Int, val ownerId: UUID, val name: String, val description: String? = null, val invitation: StudyInvitation, val protocolSnapshot: StudyProtocolSnapshot?, val isLive: Boolean) : Snapshot<Study>