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 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 > > > > [image: cid:image002.png@01D36F50.572585A0] > > *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:* lib....@pu-ami.org > > *Cell:* +961 71 004 881 (208) > > *Skype:* imapuami > > *Website:* https://www.pu-ami.org > > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-d...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > 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