-
Notifications
You must be signed in to change notification settings - Fork 293
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
SDC : Answer being vanished for Quantity type item after packRepeatedGroups #2013
Comments
Could you please remove any unnecessary characters from both the patch and attach separate questionnaire and questionnaire response files for the observed and not observed issues. |
@khyativyasargus |
Thanks @santosh-pingle . Apologies for the delay. Here are the Questionnaires & QR (QR is same for both questionnaires) Patches: |
The description mentioned that it should work for one questionnaire.json file, but I am not seeing the quantity value in either case. Can you please confirm? |
@santosh-pingle Can you try applying the |
yes, issue is observed on |
@khyativyasargus @ppanchal-argus |
@khyativyasargus
|
@khyativyasargus @ppanchal-argus The questionnaire item in questionnaire.json has a calculated expression that returns an empty answer. This empty answer is then updated to the existing answer, which is why the text field shows nothing. |
I don't Think so I will remove it. Br |
Thanks @santosh-pingle for looking up the cause. Really helpful! |
Describe the bug
For nested item of group type with enable expression, in some case, answer is getting vanished for the item after packRepeatedGroups method while processing QR
Component
SDC library
To Reproduce
Steps to reproduce the behavior:
list)
Expected behavior
Respiratory rate item answer should be rendered if it's given in QR, while debugging through SDC methods , we found that answer object for Respiratory Rate item is being vanished after packRepeatedGroups method with the Patch signs_complete_patch.txt
Screenshots
Answer no being rendered for Respiratory rate
Answer being rendered for Respiratory rate as standalone item
Smartphone (please complete the following information):
Additional context
After applying patch: Questionnaire is at file: assets/new-patient-registration-paginated.json & QuestionnaireResponse is on line: 83(AddPatientFragment.kt)
@jingtang10 @santosh-pingle
The text was updated successfully, but these errors were encountered: