QuestionnaireResponseValidator

object QuestionnaireResponseValidator

Functions

Link copied to clipboard
fun checkQuestionnaireResponse(questionnaire: <ERROR CLASS>, questionnaireResponse: <ERROR CLASS>)

Checks that the QuestionnaireResponse is structurally consistent with the Questionnaire.

Link copied to clipboard
fun validateQuestionnaireResponse(questionnaire: <ERROR CLASS>, questionnaireResponse: <ERROR CLASS>, context: <ERROR CLASS>): Map<String, List<ValidationResult>>

Validates QuestionnaireResponse using the constraints defined in the Questionnaire.