EnrollmentInfo

@Serializable
data class EnrollmentInfo(val externalId: String? = null, val consentRequired: Boolean? = null, val enrolledOn: String? = null, val withdrawnOn: String? = null, val enrolledBySelf: Boolean? = null, val withdrawnBySelf: Boolean? = null, val type: String? = null)

Details about an enrollment for the participant enrolled in the study.

Parameters

externalId
consentRequired
enrolledOn
withdrawnOn
enrolledBySelf

If the participant enrolled themselves, the property will be present and true. Otherwise, property will not be in JSON.

withdrawnBySelf

If the participant withdrew themselves, the property will be present and true. Otherwise, property will not be in JSON.

type

EnrollmentInfo

Constructors

Link copied to clipboard
constructor(externalId: String? = null, consentRequired: Boolean? = null, enrolledOn: String? = null, withdrawnOn: String? = null, enrolledBySelf: Boolean? = null, withdrawnBySelf: Boolean? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "consentRequired")
val consentRequired: Boolean? = null
Link copied to clipboard
@SerialName(value = "enrolledBySelf")
val enrolledBySelf: Boolean? = null
Link copied to clipboard
@SerialName(value = "enrolledOn")
val enrolledOn: String? = null
Link copied to clipboard
@SerialName(value = "externalId")
val externalId: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null
Link copied to clipboard
@SerialName(value = "withdrawnBySelf")
val withdrawnBySelf: Boolean? = null
Link copied to clipboard
@SerialName(value = "withdrawnOn")
val withdrawnOn: String? = null