Tracker Program Indicator using data element with option sert

Dear all,

I have setup a tracker program, in which the data elements are using options sets in certain cases. I have tried to set up a program indicator that would calculate the value for the sum of the 1, 2 or 3 of the data element options, but the result is counting all the events are not filtering the 2 option.

Is it possible to setup an program indicator using option sets?

What am I missing?

Brent Williams

cid:image001.png@01CE610B.93E5D290

Project Implementation
Health Information Systems Program (HISP) - SA

···

e-mail: brent@hisp.org
**Mobile: ** 071 542 9140

Skype: brent.williams267
**Web: ** http://www.hisp.org

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

Brent,

Are your program indicators using the option VALUE or the option CODE?

regards

calle

image

image

image

image

···

On 31 January 2017 at 09:36, Brent Williams brent@hisp.org wrote:

Dear all,

I have setup a tracker program, in which the data elements are using options sets in certain cases. I have tried to set up a program indicator that would calculate the value for the sum of the 1, 2 or 3 of the data element options, but the result is counting all the events are not filtering the 2 option.

Is it possible to setup an program indicator using option sets?

What am I missing?

Brent Williams

Project Implementation
Health Information Systems Program (HISP) - SA


e-mail: brent@hisp.org
**Mobile: ** 071 542 9140

Skype: brent.williams267
**Web: ** http://www.hisp.org

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


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


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@gmail.com

Skype: calle_hedberg


Hi there Brent,

As Calle says, you should use the option set code for the program indicators. In your example below it seems you are using parenthesis around your condition value. You should remove these and use apostrophes to quote the option set code like this:

#{programstage.dataelement} == ‘Your optionset code’

Markus

···

On 31 January 2017 at 09:36, Brent Williams brent@hisp.org wrote:

Dear all,

I have setup a tracker program, in which the data elements are using options sets in certain cases. I have tried to set up a program indicator that would calculate the value for the sum of the 1, 2 or 3 of the data element options, but the result is counting all the events are not filtering the 2 option.

<image001.jpg>

<image002.jpg>

<image003.jpg>

Is it possible to setup an program indicator using option sets?

What am I missing?

Brent Williams

<image004.png>

Project Implementation
Health Information Systems Program (HISP) - SA


e-mail: brent@hisp.org
**Mobile: ** 071 542 9140

Skype: brent.williams267
**Web: ** http://www.hisp.org

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


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


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@gmail.com

Skype: calle_hedberg


Markus,

You are saying “optionSETcode” - you do mean “optionVALUEcode”??

What Brent wants here is the ability to select one or more optionvalues, not optionSETs

Regards

calle

···

On 31 January 2017 at 10:48, Markus Bekken markus@dhis2.org wrote:

Hi there Brent,
As Calle says, you should use the option set code for the program indicators. In your example below it seems you are using parenthesis around your condition value. You should remove these and use apostrophes to quote the option set code like this:

#{programstage.dataelement} == ‘Your optionset code’

Markus

  1. jan. 2017 kl. 09.43 skrev Calle Hedberg calle.hedberg@gmail.com:

Brent,

Are your program indicators using the option VALUE or the option CODE?

regards

calle


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

On 31 January 2017 at 09:36, Brent Williams brent@hisp.org wrote:

Dear all,

I have setup a tracker program, in which the data elements are using options sets in certain cases. I have tried to set up a program indicator that would calculate the value for the sum of the 1, 2 or 3 of the data element options, but the result is counting all the events are not filtering the 2 option.

<image001.jpg>

<image002.jpg>

<image003.jpg>

Is it possible to setup an program indicator using option sets?

What am I missing?

Brent Williams

<image004.png>

Project Implementation
Health Information Systems Program (HISP) - SA


e-mail: brent@hisp.org
**Mobile: ** 071 542 9140

Skype: brent.williams267
**Web: ** http://www.hisp.org

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


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


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@gmail.com

Skype: calle_hedberg



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@gmail.com

Skype: calle_hedberg


Value code, yes - thank you Calle :slight_smile:

···

On 31 January 2017 at 10:48, Markus Bekken markus@dhis2.org wrote:

Hi there Brent,
As Calle says, you should use the option set code for the program indicators. In your example below it seems you are using parenthesis around your condition value. You should remove these and use apostrophes to quote the option set code like this:

#{programstage.dataelement} == ‘Your optionset code’

Markus

  1. jan. 2017 kl. 09.43 skrev Calle Hedberg calle.hedberg@gmail.com:

Brent,

Are your program indicators using the option VALUE or the option CODE?

regards

calle


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

On 31 January 2017 at 09:36, Brent Williams brent@hisp.org wrote:

Dear all,

I have setup a tracker program, in which the data elements are using options sets in certain cases. I have tried to set up a program indicator that would calculate the value for the sum of the 1, 2 or 3 of the data element options, but the result is counting all the events are not filtering the 2 option.

<image001.jpg>

<image002.jpg>

<image003.jpg>

Is it possible to setup an program indicator using option sets?

What am I missing?

Brent Williams

<image004.png>

Project Implementation
Health Information Systems Program (HISP) - SA


e-mail: brent@hisp.org
**Mobile: ** 071 542 9140

Skype: brent.williams267
**Web: ** http://www.hisp.org

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


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


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@gmail.com

Skype: calle_hedberg



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@gmail.com

Skype: calle_hedberg