I have encountered an issue with program rules designed to hide option groups within a Tracker program. These rules function correctly in the DHIS2 web application but do not exhibit the same behavior in the Android Capture App. Specifically, I am utilizing DHIS2 version 2.36.12.1 and have replicated this behavior on play.dhis2.org with version 2.39.9.
The Android Capture App version in use is 3.1.1.1.
I am reaching out to inquire if others have experienced similar challenges or if there are known workarounds to address this discrepancy.
I had a quick look on our preconfigured program rules and saw the options were hidden. Could you please share some details of the configuration of the program rule?
Happy to speak with you since it will probably be easier to understand.
We have created Option Groups and based on selection in previous attribute, we are hiding the Option groups(or we are showing only 1 Option group) of the next attribute.
This is functioning well in the web version but when we are trying it in android app, the program rule doesn’t work. It shows all the options in android app while in web it only shows the options of the particular option group.
Use Case: We are trying to load the Village list based on the selection of the District(Option set) and Province, so we have created the Option Groups of Villages and hiding them based on District selection.
I hope I could clarify you the issue, I will be happy to give you more details if needed.