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
data class ParticipantGroupStatus(studyDeploymentStatus: StudyDeploymentStatus, participants: Set<Participant>)
A group of one or more Participants participating in a StudyDeployment.
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.