The PCA includes a Program Rule generation feature for H2 Programs that uses the configurations contained on each Data Element present in the Assessment Stage of the program to define scorings, hide/show logic, values assignment, etc. Also, since v1.4.0, the PCA has included support for displaying the Program Rules that interact or are triggered by a specific Data Element.
Currently the PCA does not support In-app custom creation of Program Rules.
This page is divided in two sections:
Program Rules Creation/Generation
Checking Existing Program Rules
The PCA application will display in what ways a data element is being affected by a Program Rules - you can see this on the X panel
[images]
Editing program rules is done using the standard maintenance functionality of DHIS2
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.
H2 Program Rules maintained for PCA
H2 Hide/Show
H2 Mandatory questions (when hidden)
When a question is hidden by a program rule, you cannot use the standard ‘mandatory’ control at the program stage. Instead, there is the need of having an extra program rule to only make it mandatory when shown. The PCA automatically generates these extra rules. The rules are named following the following convention:
Show example here
H2 Score Program Rules
Critical Score
Non Critical Score
Overall Score
Compositive Scores (dynamic)
Program Variables
In H2 programs where PCA automatically generate the necessary program rules described above, it also generates associated Program Variable. Those variables are named as xxxxx
screenshot showing a couple of program variables generated by PCA h2 case
Add Comment