/** * @return bool */ public function isPatientAlive() { $patientIsAlive = true; foreach ($this->healthReport->getHealthIndicatorReport() as $healthIndicatorReport) { if (!$healthIndicatorReport->getStatus()) { $patientIsAlive = false; } } return $patientIsAlive; }