dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51027
Re: [Dhis2-users] org unit in program variable/rule
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:lib.ima@xxxxxxxxxx> lib.ima@xxxxxxxxxx
Cell: +961 71 004 881 (208)
Skype: imapuami
Website: <https://www.pu-ami.org/> https://www.pu-ami.org
From: Sakibou ALASSANI [mailto:sakibou.alass@xxxxxxxx]
Sent: Tuesday, April 10, 2018 2:27 PM
To: Bernard Sadaka (IM Advisor) <lib.ima@xxxxxxxxxx>; 'DHIS 2 Developers list' <dhis2-devs@xxxxxxxxxxxxxxxxxxx>; dhis2-users@xxxxxxxxxxxxxxxxxxx
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) <lib.ima@xxxxxxxxxx <mailto:lib.ima@xxxxxxxxxx> > 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:lib.ima@xxxxxxxxxx> lib.ima@xxxxxxxxxx
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 : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
![PNG image](pngJEXY0NCdDI.png)
References