Hi Andrew,

sorry for the late reply. A validation rule with the "compulsory pair"
operator is set to fail if there are values in a form for exactly one of
the left/rights sides in the expression. In other words, if there are
values for only the left side of the expression or only the right side of
the expression for the same period, data set and org unit, it will throw a
violation.

It is allowed to use multiple data elements in the left and right side of
the expression. You can define whether to require all data elements to have
values or only one data element to have a value in the expression through
the "skip for missing values" property in the expression editor. If "skip"
is true, then it requires all data elements to have values. If false, only
one data element must have a value.

I have updated the docs. Thanks for reporting.

regards,

Lars





On Thu, Mar 21, 2013 at 8:03 PM, Muhire Andrew <muhireand...@yahoo.com>wrote:

>
>  Hi all
>
> In  creation of validation rules, there is an operator
> called compulsory pair, i tried a documentation guide but am not getting
> the meaning of this operator? do anyone used this operator and give more
> details on this? how it works?
>
> Regards
>
> ------------------------------
>
>
> * Muhire Andrew
> *
> * Ministry of Health / HMIS*
> *""A mind is a terrible thing to waste""*
>
> ***********************************
>
>  ** Cell:(+25)0788436150**
> *** Twitter :andrewmuhire***
> **** skype:muhire_andrew****
> *** *andrew.muh...@moh.gov.rw*****
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to