← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] [WISCENTDs] Program indicators

 

Hi Grout and Markus,
Thanks for bringing the issues again. After the release and utilization of "Age" data value Type, we had a discussion about the challenges of not being usable in Analytic simply because program indicator expression don't recognize it. This was reported in JIRA. 

Markus regards to: "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"
It doesn't work for me.
I think the community shall benefit a lot if the useful "Age" data value type can be supported on Analytics
Best Regards  
 

    On Tuesday, November 14, 2017 10:41 PM, Markus Bekken <markus@xxxxxxxxx> wrote:
 

 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 <groutl@xxxxxxx>:
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?  ThanksLise.  Dr. Lise GroutEpidemiologist  World Health OrganizationDepartment of Neglected Tropical Diseases (HTM/NTD/IDM)
Innovative and Intensified Disease Management Unit
20, Avenue Appia; CH-1211 Geneva 27
Tel. +41 22 791 2341Mobile +41 79 290 68 61Skype: tigrouvetohttp://www.who.int/neglected_diseases  _______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to    : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help  : https://help.launchpad.net/ListHelp