public function canCreateEventForPatient(\Patient $patient) { foreach ($this->getEventsForPatient($patient) as $e) { if (!$this->isIssued($e)) { return false; } } return true; }