Summary

This command performs a logical OR on all parameters. It will return false if all parameters are false.


Attributes

  • none

Parameters

  • two or more boolean commands

Example

<script scriptId="audioDtCk2">
    <body>
        <s:alert>
            <s:expression>
            
                <s:or>
                    <s:not>
                        <s:isSet/>
                    </s:not>
                    <s:not>
                        <s:isSet>
                            <s:question>
                                <s:question path="/screening/ds.consdt_"/>
                            </s:question>
                        </s:isSet>
                    </s:not>
                    <s:gte>
                        <s:datePath path=":value"/>
                        <s:addDate>
                            <s:date>
                                <s:datePath path="/screening/ds.consdt_:value"/>
                            </s:date>
                            <s:days>
                                <s:number value="-7"/>
                            </s:days>
                        </s:addDate>
                    </s:gte>
                </s:or>
                
            </s:expression>
            <s:correction>
                <s:string value="optional"/>
            </s:correction>
            <s:text>
                <s:string value="Chest X-Ray date is more than 7 days prior to the date of 
                consent.  Please clarify."/>
            </s:text>
        </s:alert>
    </body>
    <target typeId="evdt2_" when="preprocess" shouldReconcile='true' />
    <dependent path="/screening/ds.consdt_"/>
</script>



Need more help?

Please visit the Fountayn Contact Information page.