We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Show/Hide rule is not working


I have problem regarding Hide / Show rule file. I have created rule for cross crf item with single event. It is not working.

All destination properties are hidden as default in crf. Target and destination property is in same crf.
Expression item is in different crf.

Please help me.
=====================================================================================
<?xml version="1.0" encoding="UTF-8"?>
<RuleImport>
    <RuleAssignment>
        <Target>F_11.IG_11_UNGROUPED.I_11_IT_TREATMENTDATE_DATE1</Target>
        <RuleRef OID="CK_9110">
            <ShowAction IfExpressionEvaluates="true">
                <Run AdministrativeDataEntry="true"
                    InitialDataEntry="true" DoubleDataEntry="true"
                    ImportDataEntry="false" Batch="false"/>
                <Message>Specify Imaging frequency.</Message>
                <DestinationProperty OID="I_11_IT_IMAGINGFREQUENCY_INT1"/>
                <DestinationProperty OID="F_11.IG_11_UNGROUPED.I_11_IT_IFNO_ROTATIONALDELTASREM"/>
                <DestinationProperty OID="F_11.IG_11_UNGROUPED.I_11_IT_IFNO_DURATIONTREATMENTPE"/>
            </ShowAction>
            <HideAction IfExpressionEvaluates="false">
                <Run AdministrativeDataEntry="true"
                    InitialDataEntry="true" DoubleDataEntry="true"
                    ImportDataEntry="false" Batch="false"/>
                <Message></Message>
                <DestinationProperty OID="F_11.IG_11_UNGROUPED.I_11_IT_IFNO_DURATIONTREATMENTPE"/>
                <DestinationProperty OID="I_11_IT_IMAGINGFREQUENCY_INT1"/>
                <DestinationProperty OID="F_11.IG_11_UNGROUPED.I_11_IT_IFNO_ROTATIONALDELTASREM"/>
            </HideAction>
        </RuleRef>
    </RuleAssignment>
    <RuleDef OID="CK_9110" Name="HideShow">
        <Description>HideShow</Description>

        <Expression>SE_CK.F_10.IG_10_UNGROUPED.I_SBRTT_IT_TREATMENT_TYPE_2
            eq &quot;1&quot;</Expression>
    </RuleDef>
</RuleImport>
=================================================================================


Thanks,
Anand Rathod.

Comments

  • GerbenRienkGerbenRienk Posts: 803 ✭✭✭
    Hello Anand,
    Try rewriting the expression in such a way that it will always fire, for example
    I_11_IT_TREATMENTDATE_DATE1 ne ""
    and
    SE_CK.F_10.IG_10_UNGROUPED.I_SBRTT_IT_TREATMENT_TYPE_2 eq "1"
    Kind regards,
    Gerben Rienk

This discussion has been closed.