Summary

This command inverts the boolean value specified by its only parameter.


Attributes

  • none

Parameters

  • one boolean command

Example

<script scriptId="medHistdobConsentCk">
    <body>
        <s:alert>
            <s:expression>
                <s:or>
                
                    <s:not>
                        <s:isSet/>
                    </s:not>
                    <s:not>
                        <s:isSet>
                            <s:question>
                                <s:question path="/screening/dm.dob_"/>
                            </s:question>
                        </s:isSet>
                    </s:not>
                    <s:not>
                        <s:isSet>
                            <s:question>
                                <s:question path="/screening/ds.consdt_"/>
                            </s:question>
                        </s:isSet>
                    </s:not>
                    
                    <s:between>
                        <s:datePath path=":value"/>
                        <s:datePath path="/screening/dm.dob_:value"/>
                        <s:datePath path="/screening/ds.consdt_:value"/>
                    </s:between>
                </s:or>
            </s:expression>
            <s:correction>
                <s:string value="optional"/>
            </s:correction>
            <s:text>
                <s:string value="Medical history Date of First Diagnosis does not fall 
                between the Date of Birth and Date of Consent. Please clarify."/>
            </s:text>
        </s:alert>
    </body>
    <target typeId="strtdt_" when="preprocess" shouldReconcile='true' />
    <dependent path="/screening/dm.dob_"/>
    <dependent path="/screening/ds.consdt_"/>
</script>



Need more help?

Please visit the Fountayn Contact Information page.