public getAllergies ( Patient $patient ) : string | ||
$patient | Patient | |
return | string |
public function getAllergies(\Patient $patient)
{
if (count($patient->allergies)) {
return implode(', ', $patient->allergies);
}
return 'none';
}