We want to implement an email warning in an OpenClinica built study whenever the PI starts to fill in the Adverse Events CRF in the system.
For the moment this is not working - none of the target email addresses are receiving the notification.
Here is the code we are using for the rule:
<?xml version="1.0" encoding="UTF-8"?>
<Message>Adverse Event. Please verify in OC.</Message>
<To>email addresses to be used</To>
<RuleDef OID="R_I_PILOT_PINIT_NN" Name="Send email for adverse event">
<Description>Send mail when patient initials for an adverse
event has been complete</Description>
<Expression>I_PILOT_PINIT ne ""</Expression>
I have an SMTP server details configured in the "datainfo.properties" within OpenClinica and the regular notifications of the system are received by the study users; this is the only place I was thinking that can influence the "EmailAction" trigger or am I mistaken?
Thank you in advance for any suggestions on this!