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

Save unpacked response #3455

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix packed response
  • Loading branch information
FikriMilano committed Aug 19, 2024
commit 426ee9f04ff0366f4aa53318a87cbf198bf1862e
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ constructor(
val questionnaireItemsMap = questionnaire.item.associateBy { it.linkId }

// Only validate items that are present on both Questionnaire and the QuestionnaireResponse
questionnaireResponse.item.forEach {
questionnaireResponse.copy().item.forEach {
if (questionnaireItemsMap.containsKey(it.linkId)) {
val questionnaireItem = questionnaireItemsMap.getValue(it.linkId)
validQuestionnaireResponseItems.add(it)
Expand Down