← Back to team overview

dhis2-users team mailing list archive

Re: Using Attributes for Program Rules

 

Great. Thanks for the info Prosper.
On Oct 13, 2015 10:08 AM, "Prosper BT" <ptb3000@xxxxxxxxx> wrote:

> Hi Nic,
>
> Sorry program rules using attributes has been implemented in 2.21, see the
> blue print
>
>
> https://blueprints.launchpad.net/dhis2/+spec/program-rules-during-registration-enrollment
>
> Regards
>
>
> On Sun, Oct 11, 2015 at 6:33 AM, Shurajit Dutta <shurajitdutta@xxxxxxxxx>
> wrote:
>
>> Hi everyone,
>>
>> I am trying to use an attribute to define a program rule. In this case I
>> want to hide a "pregnant" field in data entry if the person's sex is male.
>> I save the program rule, but when I go back in to edit it the attribute
>> variable that I defined is no longer there as a source field. I tried to
>> register some patients and I find it is still not working. The other rule I
>> have made using program stage data elements is working fine. I am using
>> version 2.20.
>>
>> [image: Inline image 1]
>>
>> ​Thanks
>> Nick​
>>
>>
>> --
>> Shurajit Dutta
>> Health Information Consultant
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> ptb3000@xxxxxxxxx | prosper@xxxxxxxxx | Skype: prospertb
>
>

PNG image


References