public function rules()
{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(array('id, event_id, anticoagulant, alphablocker, anticoagulant_name, alpha_blocker_name', 'safe'), array('id, event_id, anticoagulant, alphablocker', 'safe', 'on' => 'search'));
}