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
Describe the bug
When you have a repeated group inside a paginated item, then submit the form, you will save the packed version of the questionnaire response, which is wrong. Packed questionnaire response should only be used when accessing the public API of SDK. Outside of that, implementers should only use the unpacked one.
FikriMilano
changed the title
validateQuestionnaireResponse packs the original questionnaire response
Accidentally save a packed questionnaire response
Aug 19, 2024
FikriMilano
changed the title
Accidentally save a packed questionnaire response
validation packs the original questionnaire response
Aug 19, 2024
Describe the bug
When you have a repeated group inside a paginated item, then submit the form, you will save the packed version of the questionnaire response, which is wrong. Packed questionnaire response should only be used when accessing the public API of SDK. Outside of that, implementers should only use the unpacked one.
Quoted from @jingtang10 google/android-fhir#1936 (comment)
packed = nested items are in the answer property of the repeated group
unpacked = nested items are in the item property of the repeated group
Additional Context
The text was updated successfully, but these errors were encountered: