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

SDC | enableWhenExpression not working with displayCategory Extension #1835

Closed
ppanchal-argus opened this issue Jan 31, 2023 · 3 comments · Fixed by #1898
Closed

SDC | enableWhenExpression not working with displayCategory Extension #1835

ppanchal-argus opened this issue Jan 31, 2023 · 3 comments · Fixed by #1898
Assignees
Labels
effort:small Small effort - 2 days P2 Medium priority issue type:bug Something isn't working

Comments

@ppanchal-argus
Copy link

Describe the bug
In a questionnaire item with enableWhenExpression & displayCategory Extension it is not executing correctly.

Component
SDC Library

To Reproduce
Steps to reproduce the behavior:
1.Replace the new-paginated-registration-paginated.json with this questionnaire :
displayCategoryEnableWhenQuestionnaire.txt

Expected behavior
in the questionnaire "with wheezing" instruction should be displayed.

Screenshots
Current output:
Screenshot from 2023-01-31 14-58-19

Expected output:
Screenshot from 2023-01-31 15-06-20

cc: @jingtang10 @delcroip

@ppanchal-argus
Copy link
Author

@jingtang10 jingtang10 assigned ghost and MJ1998 and unassigned ghost Feb 2, 2023
@jingtang10 jingtang10 added type:bug Something isn't working P2 Medium priority issue effort:small Small effort - 2 days labels Feb 20, 2023
@MJ1998
Copy link
Collaborator

MJ1998 commented Mar 4, 2023

With the above PR this is what I get in the questionnaire.
Note: The given questionnaire had to be modified to this one:
new-patient-registration.txt

Screenshots:-
Screenshot 2023-03-03 at 9 27 05 PM
Screenshot 2023-03-03 at 9 27 00 PM

Please try this out.

@ppanchal-argus
Copy link
Author

@MJ1998 Tested! Works well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:small Small effort - 2 days P2 Medium priority issue type:bug Something isn't working
Projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

3 participants