Program rule engine¶
O mecanismo de regras do programa não é fornecido no SDK. Ele é implementado em uma biblioteca separada, portanto, o mesmo código é usado por back-end e aplicativos Android.
Important
The DHIS2 Android SDK and the Program Rule Engine use a common library to parse the DHIS2 expressions, the DHIS2 Antlr Expression Parser. If the application imports both the the SDK and the Rule Engine, it is important that their parser versions match exactly; otherwise it could cause an unexpected behavior in the evaluation.
Check compatibility table here.
Mais informações [dhis2-rule-engine] (https://github.com/dhis2/dhis2-rule-engine).