UserConsentHistory

@Serializable
data class UserConsentHistory(val subpopulationGuid: String? = null, val consentCreatedOn: String? = null, val name: String? = null, val birthdate: String? = null, val imageData: String? = null, val imageMimeType: String? = null, val signedOn: String? = null, val withdrewOn: String? = null, val hasSignedActiveConsent: Boolean? = null, val type: String? = null)

A record of a complete consent (including both the dates of consent and withdrawal, if applicable);

Parameters

subpopulationGuid

The consent group that the participant agreed to participate in.

consentCreatedOn

ISO 8601 date and time that the consent was created on.

name

Full name as entered by the participant.

birthdate

ISO 8601 date string (e.g. \"YYYY-MM-DD\").

imageData

The signature image in a base 64 encoding.

imageMimeType

The IANA mime type indicator for the image (e.g. \"image/png\").

signedOn

ISO 8601 date and time that the consent was signed by the user.

withdrewOn

ISO 8601 date and time that the user withdrew the consent, if the user withdrew from a study (note that later consent records may re-enroll the user in the study; nothing prevents users from joining and quitting a study multiple times).

hasSignedActiveConsent

True if the user signed the most recently published version of the consent, false otherwise.

type

UserConsentHistory

Constructors

Link copied to clipboard
constructor(subpopulationGuid: String? = null, consentCreatedOn: String? = null, name: String? = null, birthdate: String? = null, imageData: String? = null, imageMimeType: String? = null, signedOn: String? = null, withdrewOn: String? = null, hasSignedActiveConsent: Boolean? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "birthdate")
val birthdate: String? = null
Link copied to clipboard
@SerialName(value = "consentCreatedOn")
val consentCreatedOn: String? = null
Link copied to clipboard
@SerialName(value = "hasSignedActiveConsent")
val hasSignedActiveConsent: Boolean? = null
Link copied to clipboard
@SerialName(value = "imageData")
val imageData: String? = null
Link copied to clipboard
@SerialName(value = "imageMimeType")
val imageMimeType: String? = null
Link copied to clipboard
@SerialName(value = "name")
val name: String? = null
Link copied to clipboard
@SerialName(value = "signedOn")
val signedOn: String? = null
Link copied to clipboard
@SerialName(value = "subpopulationGuid")
val subpopulationGuid: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null
Link copied to clipboard
@SerialName(value = "withdrewOn")
val withdrewOn: String? = null