-
Notifications
You must be signed in to change notification settings - Fork 294
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
Handle questions nested under repeated answers #910
Comments
@RaaziaTarique I had created this diagram to get a hold of the tree structure of the questionnaireResponse for various types of questionnaireItem. It maybe of use while you implement the refactoring in #1369 |
Any update on this @kevinmost? What's the ETA for this? |
I think we should focus on rendering of nested questions under repeated answers in this ticket. Repeated groups are handled by kevin in a different issue #726 |
Is your feature request related to a problem? Please describe.
Currently the SDC library supports repeated answers, but not items nested in answers that can repeat. Also full support for repeated answers is not yet available in the SDC library
Describe the solution you'd like
To support the spec completely we need to be able to handle all the questionnaireItem types that are shown in the diagram bellow.
One important thing to note in the above table is that if there are nested items within unsupported types, then they will automatically not be supported. Also the behavior of the library with a questionnaire which contains unsupported types is unknown.
Additional context
This also requires some thinking from the UX/UI point of view. eg: How do we handle a checkbox type with nested items? do we keep extra buttons to clear the nested answers/ edit nested items? What will the view look like?
Would you like to work on the issue?
I had started some initial work . Below are the following suggestions:
cc: @jingtang10
The text was updated successfully, but these errors were encountered: