Hi Lise! 1. You are right. It turned out there is a small problem with the expression validator, but the program indicator should still work. A fix is checked in for the , please let me know if the indicator does not work. 2. If you are on 2.27 or later you can use program rules instead. There is a program rule action type that is called "Display text" and another one called "Display key value pair" that is used to show a dynamic text in your program. The dynamic text can be a program rule variable, and in configuring this variable you can choose wether you want it to contain code or name for option sets.
Markus > 14. nov. 2017 kl. 18.24 skrev GROUT, Lise <[email protected]>: > > Dear all, > > Two questions on program indicators (sorry if they have been asked already): > 1. How to calculate the Age at clinical examination based on an Age-type > attribute? I thought the Age type attribute was stored as a date, but the > expression is invalid when using it (despite the same expression was valid > with Date of birth). > 2. I have some program indicators that are equal to a data element (in > order to make it visible/available across all stages). Would it be possible > to display the name of the option set rather than the code? > > Thanks > Lise. > > Dr. Lise Grout > Epidemiologist > > World Health Organization > Department of Neglected Tropical Diseases (HTM/NTD/IDM) > Innovative and Intensified Disease Management Unit > 20, Avenue Appia; CH-1211 Geneva 27 > Tel. +41 22 791 2341 > Mobile +41 79 290 68 61 > Skype: tigrouveto > http://www.who.int/neglected_diseases <http://www.who.int/neglected_diseases> > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > <https://launchpad.net/~dhis2-users> > Post to : [email protected] > <mailto:[email protected]> > Unsubscribe : https://launchpad.net/~dhis2-users > <https://launchpad.net/~dhis2-users> > More help : https://help.launchpad.net/ListHelp > <https://help.launchpad.net/ListHelp>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp

