← Back to team overview

dhis2-users team mailing list archive

Re: Android Event Capture App

 

Shurajit,
Did you try the solution as David was suggesting? I think !#{variable-name}
should be sufficient and you *don't* need the AND statement with == 'No'

Regards,
Erling

On Wed, Mar 30, 2016 at 12:07 PM, David Hagan <david.hagan@xxxxxxxxxxxxx>
wrote:

> Personally, I’ve found that OR clauses in trigger and multiple ‘effects’
> off a trigger don’t seem to work consistently (or at all) il the 2.21
> mobile event capture (though they might work on the browser interface)  …
> can’t comment on the 2.22 versions.
>
> David
>
> On Wed, Mar 30, 2016 at 11:31 AM Shurajit Dutta <shurajitdutta@xxxxxxxxx>
> wrote:
>
>> ​DHIS2 version 2.22 build revision 21949​
>>
>> Android App: have tried both 0.3.1-2.22 and 0.3.3-2.22
>>
>> Screenshot of example program rule to hide the sections:
>>
>> [image: Inline image 1]
>>
>>
>> On Wed, Mar 30, 2016 at 5:19 PM, Erling Fjeldstad <erling@xxxxxxxxx>
>> wrote:
>>
>>> Which DHIS 2 version are you using and which version of the Android
>>> Event Capture are you using? Also, how does your program rule statement
>>> look like?
>>>
>>> On Wed, Mar 30, 2016 at 9:28 AM, Shurajit Dutta <shurajitdutta@xxxxxxxxx
>>> > wrote:
>>>
>>>> Thanks David, Erling,
>>>>
>>>> ​I​
>>>>  have an example where sections are hidden for a yes/no data element
>>>> when there is no value or no selected. When I choose yes, the other
>>>> sections are not available in the android app.
>>>>
>>>> Attaching some screenshots from web and Android to demonstrate.
>>>> ​ Any ideas?​
>>>>
>>>> ​[image: Inline image 4]​
>>>>
>>>> ​[image: Inline image 5]​
>>>> ​​
>>>> Hi Shurajit,
>>>> Skip logic is supported in Android Event Capture
>>>>
>>>> Regards,
>>>> Erling
>>>>
>>>> On Tue, Mar 29, 2016 at 8:33 AM, David Hagan <david.hagan@xxxxxxxxxxxxx
>>>> > wrote:
>>>>
>>>>> Yes,
>>>>>
>>>>> We are using them extensively (V2.21) … however, we’ve come across a
>>>>> few limitations that we’ve had to work around.
>>>>>
>>>>> David
>>>>>
>>>>> On Tue, Mar 29, 2016 at 6:52 AM Shurajit Dutta <
>>>>> shurajitdutta@xxxxxxxxx> wrote:
>>>>>
>>>>>> Hi everyone,
>>>>>>
>>>>>> I just wanted to know if program rules (skip logic) is supported in
>>>>>> the android event capture app?
>>>>>>
>>>>>> ​Thanks,
>>>>>> Nick​
>>>>>>
>>>>>> --
>>>>>> Shurajit Dutta
>>>>>> Health Information Consultant
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Shurajit Dutta
>> Health Information Consultant
>>
>

PNG image

PNG image

PNG image


Follow ups

References