Summary

This command retrieves a question from the specified ‘path’. The path must specify a value that resolves to a question.


Attributes

  • path (required)

Parameters

  • none

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_" action="update" 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.