Value code, yes - thank you Calle :)

> 31. jan. 2017 kl. 11.03 skrev Calle Hedberg <calle.hedb...@gmail.com>:
> 
> 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 <mar...@dhis2.org 
> <mailto:mar...@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
> 
>> 31. jan. 2017 kl. 09.43 skrev Calle Hedberg <calle.hedb...@gmail.com 
>> <mailto:calle.hedb...@gmail.com>>:
>> 
>> Brent,
>> 
>> Are your program indicators using the option VALUE or the option CODE?
>> 
>> regards
>> calle
>> 
>> On 31 January 2017 at 09:36, Brent Williams <br...@hisp.org 
>> <mailto:br...@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:    br...@hisp.org <mailto:br...@hisp.org> 
>> Mobile:   071 542 9140
>> 
>> Skype:    brent.williams267
>> Web:       http://www.hisp.org <http://www.hisp.org/>
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>> 
>> This message and any attachments are subject to a disclaimer published at 
>> http://www.hisp.org/policies.html#comms_disclaimer 
>> <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 disclai...@hisp.org <mailto:disclai...@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 
>> <https://launchpad.net/~dhis2-devs>
>> Post to     : dhis2-devs@lists.launchpad.net 
>> <mailto:dhis2-devs@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-devs 
>> <https://launchpad.net/~dhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp 
>> <https://help.launchpad.net/ListHelp>
>> 
>> 
>> 
>> 
>> -- 
>> ******************************************* <>
>> Calle Hedberg
>> 
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>> 
>> Tel/fax (home): +27-21-685-6472 <tel:+27%2021%20685%206472>
>> Cell: +27-82-853-5352 <tel:+27%2082%20853%205352>
>> Iridium SatPhone: +8816-315-19119 <tel:+881%206%20315%2019119>
>> Email: calle.hedb...@gmail.com <mailto:calle.hedb...@gmail.com>
>> Skype: calle_hedberg
>> 
>> *******************************************
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs 
>> <https://launchpad.net/~dhis2-devs>
>> Post to     : dhis2-devs@lists.launchpad.net 
>> <mailto:dhis2-devs@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-devs 
>> <https://launchpad.net/~dhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp 
>> <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.hedb...@gmail.com <mailto:calle.hedb...@gmail.com>
> Skype: calle_hedberg
> 
> *******************************************
> 
> 

_______________________________________________
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

Reply via email to