where('procedimento_atendimento_id', $value->procedimento_atendimento_id) ->where('procedimento_id', $value->procedimento_id) ->count(); return $result > 1; } public function message() { return 'Procedimento em duplicidade.'; } }