Hi devs.

Are 'complex' program rules working? I mean by 'complex' combining
different datalements. For example:

#{CurrentMethod} == '[35] IUD' && #{AdoptedMethod} == '[35] UID' &&
#{ServiceProvided} != '[38] IUD removal'

But when I check the value of the expresion in the JS console I get the
following information:

Expression with id rule:M8qUeTSwhnF was successfully run. Original
condition was: #{CurrentMethod} == '[35] IUD' && #{AdoptedMethod} == '[35]
UID' && #{ServiceProvided} != '[38] IUD removal' - Evaluation ended up
as:'[35] IUD' == '[35] IUD' && '[35] IUD' == '[35] UID' && '[42] MA' !=
'[38] IUD removal' - Result of evaluation was:false

The result should be true, right? Am I doing something wrong?

Regards
Jose
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to