Issue with program Indicators

Hi,

We are trying to create some indicators for a program. And the program stage has some data elements added to it. But, to form an expression on the program indicators module, not all added data elements are available. And without the required elements, we are not able to form an expression. However, all the elements are available in the “Filter” section. How can we resolve this?

For example, on the demo server,

We have a program called 'Child Programme’ that has some indicators for two stages “Birth” and “Post Natal”.

The “Birth” stage has the following data elements assigned to it.

image

But on the "expression" section of indicators, only a few data elements show up:

image

However, in the “Filter” section of indicators - all the data elements are shown:

image

Is this a known issue? or are we missing something?

Any help on this would be appreciated.

Cheers,

···

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

Hi Archana,

thanks for reporting. This is expected behavior as under the expression, we only list data elements/attributes which value type is possible to aggregate. This means basically numeric value types. The expression will be evaluated to a number, hence this rule (e.g. 5 x 2).

The filter will be evaluated to a boolean (true or false) (e.g. Gender == ‘Male’), hence we allow all value types there.

Hope this explains it.

regards,

Lars

image

image

image

···

On Mon, May 16, 2016 at 1:43 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi,

We are trying to create some indicators for a program. And the program stage has some data elements added to it. But, to form an expression on the program indicators module, not all added data elements are available. And without the required elements, we are not able to form an expression. However, all the elements are available in the “Filter” section. How can we resolve this?

For example, on the demo server,

We have a program called 'Child Programme’ that has some indicators for two stages “Birth” and “Post Natal”.

The “Birth” stage has the following data elements assigned to it.

But on the "expression" section of indicators, only a few data elements show up:

However, in the “Filter” section of indicators - all the data elements are shown:

Is this a known issue? or are we missing something?

Any help on this would be appreciated.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks, Lars.

image

image

image

···

On Mon, May 16, 2016 at 6:41 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Archana,

thanks for reporting. This is expected behavior as under the expression, we only list data elements/attributes which value type is possible to aggregate. This means basically numeric value types. The expression will be evaluated to a number, hence this rule (e.g. 5 x 2).

The filter will be evaluated to a boolean (true or false) (e.g. Gender == ‘Male’), hence we allow all value types there.

Hope this explains it.

regards,

Lars

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Mon, May 16, 2016 at 1:43 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi,

We are trying to create some indicators for a program. And the program stage has some data elements added to it. But, to form an expression on the program indicators module, not all added data elements are available. And without the required elements, we are not able to form an expression. However, all the elements are available in the “Filter” section. How can we resolve this?

For example, on the demo server,

We have a program called 'Child Programme’ that has some indicators for two stages “Birth” and “Post Natal”.

The “Birth” stage has the following data elements assigned to it.

But on the "expression" section of indicators, only a few data elements show up:

However, in the “Filter” section of indicators - all the data elements are shown:

Is this a known issue? or are we missing something?

Any help on this would be appreciated.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org