Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add informed consent input data type #450

Open
Whathecode opened this issue Oct 30, 2023 · 2 comments
Open

Add informed consent input data type #450

Whathecode opened this issue Oct 30, 2023 · 2 comments
Labels
feature New functionality. needs discussion This cannot yet be implemented since it requires further conversation.

Comments

@Whathecode
Copy link
Member

We require informed consent as a new input data types that could be implemented in core, the specifications are copied from here: https://github.com/cph-cachet/carp.sensing-flutter/blob/develop-1.1.0/carp_core/lib/common/application/input_data.dart

Informed consent

 /// The time this informed consent was signed.
 DateTime signedTimestamp;

 /// The location where this informed consent was signed.
 String? signedLocation;

 /// The ID of the participant who signed this consent.
 String? userID;

 /// The full name of the participant who signed this consent.
 String name;

 /// The content of the signed consent.
 ///
 /// This may be plain text or JSON.
 String? consent;

 /// The image of the provided signature in png format as bytes.
 String? signatureImage;
@Whathecode Whathecode added feature New functionality. needs discussion This cannot yet be implemented since it requires further conversation. labels Oct 30, 2023
@Whathecode
Copy link
Member Author

Whathecode commented Oct 30, 2023

I'm very hesitant to consider informed consent "simply" an input type. The original idea was to make this much more part of the core framework, e.g., prevent data collection from happening before any consent has been given.

Consent should be much more integrated into the deployment workflow, rather than an input type extension point. Probably, a separate endpoint on deployments.

@bardram
Copy link

bardram commented Jun 11, 2024

We have decided to add the IC as part of the study protocol. This will then be downloaded as part of the deployment for a participant.

We have also decided to upload the IC as participant data with a specific input type. This is much more simple and can be done with the existing CARP Core implementation. In addition, we would not need to change the database structure in a running deployment.

If someone has the time and skills to implement a full-blown informed consent model i CARP Core, we will migrate to this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality. needs discussion This cannot yet be implemented since it requires further conversation.
Projects
None yet
Development

No branches or pull requests

2 participants