Package dk.cachet.carp.studies.application.users

Types

AssignParticipantDevices
Link copied to clipboard
data class AssignParticipantDevices(participantId: UUID, masterDeviceRoleNames: Set<String>)

Assign master devices, identified by the masterDeviceRoleNames of a study protocol, to the participant identified by participantId.

Participant
Link copied to clipboard
data class Participant(accountIdentity: AccountIdentity, id: UUID)

A person to be invited or participating in a Study.

ParticipantGroupStatus
Link copied to clipboard
sealed class ParticipantGroupStatus

A group of one or more participants which is first Staged to later be Invited to a StudyDeployment. Once Invited, the participant group is InDeployment and will get the state Running once the deployment is running, until the deployment is Stopped.

StudyOwner
Link copied to clipboard
data class StudyOwner(id: UUID)

Uniquely identifies the person or group that created a Study.

Functions

deviceRoles
Link copied to clipboard
fun Collection<AssignParticipantDevices>.deviceRoles(): Set<String>

Get the unique set of master device roles defined in a collection of AssignParticipantDevices.

participantIds
Link copied to clipboard
fun Collection<AssignParticipantDevices>.participantIds(): Set<UUID>

Get the unique set of participant IDs defined in a collection of AssignParticipantDevices.