Re: [Dhis2-devs] org unit in program variable/rule

2018-04-10 Thread Rady
Hello Bernard, You can use *V{orgunit_code}* in program rule to retrieve orgunit code. Thanks, Rady On Tue, Apr 10, 2018 at 5:59 PM, Bernard Sadaka (IM Advisor) < lib@pu-ami.org> wrote: > Hello all, > > Is there a way to get the organization unit as a program variable and/or > use it in

[Dhis2-devs] org unit in program variable/rule

2018-04-10 Thread Bernard Sadaka (IM Advisor)
Hello all, Is there a way to get the organization unit as a program variable and/or use it in the program rules? My usecase is that I want to use the program rule to create a unique value based on: * The PHCC (org unit) * The family number * The individual number