Re: [Dhis2-users] Program indicator expressions

2018-04-13 Thread Markus Bekken
>> d2:condition('#{qaDVwQUHD0j.dLKjtfo7GD3} == 2 ',1,0) >> >>   <> >> From: Markus Bekken [mailto:mar...@dhis2.org <mailto:mar...@dhis2.org>] >> Sent: 12 April 2018 19:09 >> To: Jane Greig mailto:jane.gr...@london.msf.org>> >>

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Markus Bekken
;mailto:mar...@dhis2.org>] > Sent: 12 April 2018 19:02 > To: Jane Greig mailto:jane.gr...@london.msf.org>> > Cc: dhis2-users@lists.launchpad.net <mailto:dhis2-users@lists.launchpad.net> > Subject: Re: [Dhis2-users] Program indicator expressions > > Hi there Jane! > The problem

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Jane Greig
j.dLKjtfo7GD3} == 2 ',1,0) From: Markus Bekken [mailto:mar...@dhis2.org] Sent: 12 April 2018 19:09 To: Jane Greig Cc: dhis2-users@lists.launchpad.net Subject: Re: [Dhis2-users] Program indicator expressions Ok, I understand - was fearing this could be the reason :) The codes need to be q

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Jane Greig
e them. We were trying to avoid that! Thanks Jane From: Markus Bekken [mailto:mar...@dhis2.org] Sent: 12 April 2018 19:02 To: Jane Greig Cc: dhis2-users@lists.launchpad.net Subject: Re: [Dhis2-users] Program indicator expressions Hi there Jane! The problem with the below condition is that we a

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Markus Bekken
re trying to avoid that! > Thanks > Jane > >   <> > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: 12 April 2018 19:02 > To: Jane Greig > Cc: dhis2-users@lists.launchpad.net > Subject: Re: [Dhis2-users] Program indicator expressions > > Hi there Jane! &

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Markus Bekken
Hi there Jane! The problem with the below condition is that we are using single quotes inside a single quoted statement. This is not supported at the moment. Not really knowing enough about the use case, I venture into suggeting a possible workaround: If you are able to use the condition below a

[Dhis2-users] Program indicator expressions

2018-04-09 Thread Jane Greig
Hi Can anyone advise on whether program indicator expressions can use data elements with option sets? They do not appear in the list of data elements available, but it does not tell me my expression using the UID of one is invalid. However, it also does not give me a result. Example I am trying