dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51028
Re: org unit in program variable/rule
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.ima@xxxxxxxxxx> 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.ima@xxxxxxxxxx
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References