public function getNombresPaciente() { return sprintf('%s - %s', $this->idpaciente->getNombres(), $this->idpatologia->getNombre()); }