program indicators - function

Dear DHIS2 team,

I need some help for a program indicator.

I have several 6 data elements which are integer. I would like to have a program indicator which is the maximum value among those 6 DE. Any idea?

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

Dear Lise,
unfortunately I can not think of any elegant way of achieving this within the current functionality of the program indicators.

We could make a d2:max() function that would take in a list of data elements and return the highest value represented within the list of arguments. Can you please add a jira issue describing your usecase?

Best regards
Markus

···

24. jul. 2017 kl. 08.43 skrev GROUT, Lise <groutl@who.int>:

Dear DHIS2 team,

I need some help for a program indicator.

I have several 6 data elements which are integer. I would like to have a program indicator which is the maximum value among those 6 DE. Any idea?

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

Dear Markus,

I have opened a JIRA for this: https://jira.dhis2.org/browse/DHIS2-1955

I could not find “Program indicator” in the list of component, so that I put “Other” and “Program rules” (the closest). But I can modify it if program indicator is available.

Best

lise

···

From: Markus Bekken [mailto:markus@dhis2.org]
Sent: 25 July 2017 10:37
To: GROUT, Lise
Cc: DHIS 2 Users list
Subject: Re: program indicators - function

Dear Lise,

unfortunately I can not think of any elegant way of achieving this within the current functionality of the program indicators.

We could make a d2:max() function that would take in a list of data elements and return the highest value represented within the list of arguments. Can you please add a jira issue describing your usecase?

Best regards

Markus

  1. jul. 2017 kl. 08.43 skrev GROUT, Lise groutl@who.int:

Dear DHIS2 team,

I need some help for a program indicator.

I have several 6 data elements which are integer. I would like to have a program indicator which is the maximum value among those 6 DE. Any idea?

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