public function rules()
{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(array('patient_id, relative_id, other_relative, side_id, condition_id, other_condition, comments', 'safe'), array('patient_id, relative_id, side_id, condition_id', 'required'), array('id, name', 'safe', 'on' => 'search'));
}