Summary
This article covers a script example of AE outcome was death.
Table of Contents
Description
This script evaluates whether or not the outcome of an adverse event was death. If it was, then the script will fire an alert if the End of Study reason is not ‘Subject Died’. Listing dependent question paths allow the script to trigger when a dependent variable existing on another form is updated with a new value.
Script
<script scriptId="deathReasonCheck"> <body> <s:alert> <s:expression> <s:or> <s:not> <s:eq merge="or"> <s:numberPath path="/aesum/ae[n].aeoutcme:value"/> <s:number value="6"/> </s:eq> </s:not> <s:not> <s:isSet/> </s:not> <s:eq> <s:numberPath path=".eosrsn:value"/> <s:number value="5"/> </s:eq> </s:or> </s:expression> <s:correction> <s:string value="optional"/> </s:correction> <s:text> <s:string value="The Outcome of an Adverse Event is 'Death', and the Reason for Discontinuation is not 'Subject Died'. Please review and clarify."/> </s:text> </s:alert> </body> <target typeId="eosrsn" when="preprocess" shouldReconcile='true'/> <dependent path="/aesum/ae[n].aeoutcme"/> </script>
Need more help?
Please visit the Fountayn Contact Information page.