You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Device: [e.g. Samsung Galaxy A2 emulator]
Android version: [e.g. Settings -> About phone -> Android version]
Build number: [e.g. Settings -> About phone -> Build number]
Version [e.g. 24]
Additional context
When a form containing a repeat group item whose fields have not been filled out is saved the generated QuestionnaireResponse does not have response items for the corresponding repeat group items. When opening the form in edit mode the check for whether the QuestionnareResponse contains response items that correspond to the Questionnaire items fails for the repeat group.
The QuestionnaireViewModel.addMissingResponseItems is responsible for adding empty QuestionnaireResponse items for each Questionnaire item. It appears that this does not happen for repeat group items.
The hot fix for this would be to update the QuestionnaireItemComponent.createQuestionnaireResponseItem() to handle repeat group items as well.
From a UI/UX perspective the above change would mean that repeat group items would always be expanded when opening the form in edit mode, example of this show below :
Current appearance of the Medicine repeat group
Appearance of the Medicine repeat group when form is open in edit mode after the proposed change
The text was updated successfully, but these errors were encountered:
Describe the bug
This tickets tracks the google/android-fhir#2685. It is a fix for the app crash bug reported https://github.com/ona-health/hisp-wdf-fhir-resources/issues/522
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
When a form containing a repeat group item whose fields have not been filled out is saved the generated QuestionnaireResponse does not have response items for the corresponding repeat group items. When opening the form in edit mode the check for whether the QuestionnareResponse contains response items that correspond to the Questionnaire items fails for the repeat group.
The QuestionnaireViewModel.addMissingResponseItems is responsible for adding empty QuestionnaireResponse items for each Questionnaire item. It appears that this does not happen for repeat group items.
The hot fix for this would be to update the QuestionnaireItemComponent.createQuestionnaireResponseItem() to handle repeat group items as well.
From a UI/UX perspective the above change would mean that repeat group items would always be expanded when opening the form in edit mode, example of this show below :
Current appearance of the
Medicine
repeat groupAppearance of the
Medicine
repeat group when form is open in edit mode after the proposed changeThe text was updated successfully, but these errors were encountered: