Summary

If the value of the ‘Will the patient enroll?’ question is no, then the Dynamic Status of the subject is set to screenFailure. This allows for the number of screen failures to be easily organizable in eClinical. 


Click here for more information on Dynamic Status.


Note: Please make sure the considerations for the logical else condition/outcome. 


Script

<script scriptId="setScreenFailure">
    <body>
        <s:if>
            <s:eq>
                <s:numberPath path=".enrollyn:value"/>
                <s:number value="2"/>
            </s:eq>
            <s:setDynamicStatus>
                <s:object>
                    <s:record />
                </s:object>
                <s:name>
                    <s:string value="status" />
                </s:name>
                <s:value>
                    <s:string value="screenFailure" />
                </s:value>
            </s:setDynamicStatus>
        </s:if>
    </body>
    <target typeId="enrollyn" when="after" shouldReconcile='true' /> 
</script>


Need more help?

Please visit the Fountayn Contact Information page.