Dear All,
I am working on DHIS2 2.30 project.
I am trying to hide/show program stage depending on a user selection. I
succeed to hide the program stage, but its not showing back.
Also there is no errors in the console.
Regards,
--
Save a tree, Please don't print this email unless you really ne
wrote:
> Hello Amjad M. Ata-Allah , Kindly share the condition expression for the
> program rule.
>
> regards
>
> On Sun, Oct 7, 2018 at 10:15 PM Amjad Ata Allah
> wrote:
>
>> Dear All,
>>
>> I am working on DHIS2 2.30 project.
>> I am trying to h
okt. 2018, 6:50 a.m. skrev Amjad Ata Allah
> :
>> Hi Stephen
>> Here is the condition expression:
>> #{aDiagnose} != 'Meningitis - Other Bacterial' || #{aDiagnose} !=
>> 'Meningitis - Hemophillus Influenza' || #{aDiagnose} != 'Meningitis -
>
the OR
>
> Try using AND
> #{aDiagnose} != 'Meningitis - Other Bacterial' && #{aDiagnose} !=
> 'Meningitis - Hemophillus Influenza' && #{aDiagnose} != 'Meningitis -
> Meningococcal Meningitis'
>
> Meaning : when aDiagnosis is NOT diag
ind of error, it often results in other program rules not
> executing.
>
> In any case, you cannot combine OR and NOT the way you do - then the
> expression is always true.
>
> Regards
> Calle
>
> On Mon, 8 Oct 2018 at 13:37, Amjad Ata Allah
> wrote:
>
>> Dea
>
> Seems like you have what you want?
>
> Regards
> Calle
>
>> On Mon, 8 Oct 2018 at 21:26, Amjad Ata Allah
>> wrote:
>> Thanks Calle
>>
>> I replaced the OR with AND.
>> I added another action to the rule "Show warning message&quo
is taken.
>
> maybe it's a refresh thing - have you tried to refresh the page?
>
> And does the stage appear if you remove the hide program stage action from
> the Prog Rule?
>
> Regards
> calle
>
> On Mon, 8 Oct 2018 at 22:08, Amjad Ata-Allah
> wrote:
>
>> Ca
7 matches
Mail list logo