public function rules()
{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(array('event_id, anaesthetist_id, anaesthetic_type_id, anaesthetic_delivery_id, anaesthetic_comment, anaesthetic_witness_id', 'safe'), array('anaesthetic_type_id', 'required'), array('anaesthetist_id, anaesthetic_delivery_id, anaesthetic_complications', 'validateAnaesthetic'), array('id, event_id, anaesthetist_id, anaesthetic_type_id, anaesthetic_delivery_id, anaesthetic_comment, anaesthetic_witness_id', 'safe', 'on' => 'search'));
}