how to create a program rule expression that checks if specific options are selected in a multiple selection tracker data element in DHIS2 version 2. 41… It seems that functionality is not on version 2.41
For example, for question Q with answer options A, B, C, D, and E, if the user selects multiple answers that include option D, hide the next question
Thank you in advance
Thanks for your patience. Would you please share the expression that’s not working? So if I understand correctly it’s working fine in versions before 2.41? I’d like to reproduce it on play so sharing the expression you’re using would help greatly please.
The functionality works in the older version, possibly because those versions do not allow multiple selections in option sets. In version 2.41, multiple selections are allowed, but the problem is that it does not support a logic like this:
For example, for question Q with option set values A, B, C, D, and E, if the user selects multiple answers that include option D, the next question should be hidden. That is, if the user selects B, C, and D, the next question should be hidden, as long as option D is among the selections.