Questionnaire

@JsonClass(generateAdapter = true)
data class Questionnaire(val id: String, val questionnaireName: String, val questionnaireDescription: String, val questionnaireCode: String, val questionnaireCohort: String, val questionnaireBody: String)

Class containing all information about a questionnaire that the user can fill in.

Constructors

Link copied to clipboard
constructor(id: String, questionnaireName: String, questionnaireDescription: String, questionnaireCode: String, questionnaireCohort: String, questionnaireBody: String)

Properties

Link copied to clipboard
val id: String

UUID of the questionnaire

Link copied to clipboard

Body of the questionnaire in JSON format

Link copied to clipboard

Code - only used internally

Link copied to clipboard

Cohort ID to which this questionnaire is bound

Link copied to clipboard

Informal description of the questionnaire

Link copied to clipboard

Name of the questionnaire