Automated Signal Generation in Prescription-Event Monitoring