StudyStatus

sealed class StudyStatus

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

Types

Configuring
Link copied to clipboard
data class Configuring(studyId: UUID, name: String, createdOn: Instant, canSetInvitation: Boolean, canSetStudyProtocol: Boolean, canDeployToParticipants: Boolean, canGoLive: Boolean) : StudyStatus

Study status for when a study is being configured.

Live
Link copied to clipboard
data class Live(studyId: UUID, name: String, createdOn: Instant, canSetInvitation: Boolean, canSetStudyProtocol: Boolean, canDeployToParticipants: Boolean) : StudyStatus

Study status for when a study is 'live'.

Properties

canDeployToParticipants
Link copied to clipboard
abstract val canDeployToParticipants: Boolean

Determines whether the study in its current state is ready to be deployed to participants.

canSetInvitation
Link copied to clipboard
abstract val canSetInvitation: Boolean

Determines whether the invitation which is shared with participants can be changed for the study.

canSetStudyProtocol
Link copied to clipboard
abstract val canSetStudyProtocol: Boolean

Determines whether a study protocol can be set/changed for the study.

createdOn
Link copied to clipboard
abstract val createdOn: Instant

The date when this study was created.

name
Link copied to clipboard
abstract val name: String

A descriptive name for the study, as assigned by the StudyOwner.

studyId
Link copied to clipboard
abstract val studyId: UUID

Inheritors

StudyStatus
Link copied to clipboard
StudyStatus
Link copied to clipboard