ParticipantRole
Describes a participant playing a role in a study, and whether this role isOptional.
Added to a protocol with StudyProtocol.addParticipantRole. Devices and participant data can be assigned to roles with AssignedTo.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
ParticipantRole.fromJson
ParticipantRole
Properties
isOptional
getter/setter pair
Whether the study can run without a participant in this role. Defaults to false.
role
getter/setter pair
The name of the role, e.g. 'Patient' or 'Parent'.