Thank you Sakibou! It worked.
All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence - Aide Médicale Internationale Nehmeh Building, Sanine Street, Chiyah, 3rd Floor Ain el Remmaneh, Beirut, Lebanon E-mail: <mailto:[email protected]> [email protected] Cell: +961 71 004 881 (208) Skype: imapuami Website: <https://www.pu-ami.org/> https://www.pu-ami.org From: Sakibou ALASSANI [mailto:[email protected]] Sent: Tuesday, April 10, 2018 2:27 PM To: Bernard Sadaka (IM Advisor) <[email protected]>; 'DHIS 2 Developers list' <[email protected]>; [email protected] Subject: Re: [Dhis2-users] org unit in program variable/rule Hi Sadaka >From my knowledge Only orgunit code is supported at now You can use V{orgunit_code} in the assignment expression ---- Sakibou Le mardi 10 avril 2018 à 10:59:39 UTC, Bernard Sadaka (IM Advisor) <[email protected] <mailto:[email protected]> > a écrit : 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 Thanks in advance for the help. All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence - Aide Médicale Internationale Nehmeh Building, Sanine Street, Chiyah, 3rd Floor Ain el Remmaneh, Beirut, Lebanon E-mail: <mailto:[email protected]> [email protected] Cell: +961 71 004 881 (208) Skype: imapuami Website: <https://www.pu-ami.org/> https://www.pu-ami.org _______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] <mailto:[email protected]> Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

