createStudyDeployment abstract method
Future<StudyDeploymentStatus>
createStudyDeployment(
- StudyProtocol protocol, [
- List<
ParticipantInvitation> invitations = const [], - String? id,
- Map<
String, DeviceRegistration> ? connectedDevicePreregistrations,
Instantiate a study deployment for a given StudyProtocol with participants
defined in invitations
.
The identities specified in the invitations are used to invite and authenticate the participants. In case no account is associated to an identity, a new account is created for it. An invitation (and account details) is delivered to the person managing the identity, or should be handed out manually to the relevant participant by the person managing the identity.
id
specifies the study deployment id. If not specified, an UUID v1 id
is generated.
connectedDevicePreregistrations
lists optional pre-registrations for
connected devices in the study protocol
.
Implementation
Future<StudyDeploymentStatus> createStudyDeployment(
StudyProtocol protocol, [
List<ParticipantInvitation> invitations = const [],
String? id,
Map<String, DeviceRegistration>? connectedDevicePreregistrations,
]);