Editing program rules is done using the standard maintenance functionality of DHIS2The PCA currently does not support In-app creation of custom Program Rules, meaning that the standard Program Rules management in the DHIS2 Maintenance App is required for this. However, the custom Program Rules are displayed in the PCA as described in the Checking Existing Program Rules page.
Please Note: A Program Rules creation feature is being planned for a future release of the PCA.
if you use the H2 PCA functionality, you can declare logic for hide/show and labels using the Excel template [link]. PCA will take care of automatically generating and maintaining the associated program rules and variables.
automatically generate the necessary program variables and program rules for your H2 program.
...