dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51252
Re: Retrieving the CODE for organisation units and ASSIGN them to a Tracked Entity Attribute
Hey Calle,
The variable V{orgunit_code} can be used in a ASSIGN program rule action.
See 21.4.5. Reference information: Functions, variables and operators to
use in program indicator expressions and filters
<https://docs.dhis2.org/master/en/user/html/dhis2_user_manual_en_full.html#program_indicator_functions_variables_operators>
- Table
21.14. Standard variables to use in program rule expressions.
Markus
On Thu, May 24, 2018 at 7:27 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:
> Hi,
>
> Is there a way I can retrieve the organisation unit CODE and ASSIGN it to
> a Tracked Entity Attribute (presumably using a Program Rule)???
>
> Regards
> Calle
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>
> _______________________________________________
> 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
>
>
--
--
Markus Bekken
Software developer
University of Oslo
http://www.dhis2.org
Follow ups
References