|
@@ -13,9 +13,9 @@ foreach($items as $item):
|
|
|
$value[] = $item['title'];
|
|
|
endforeach;
|
|
|
|
|
|
-$summaryHtml = 'Patient ' . $patient->name_first .' '.$patient->name_last . " is a {$patient->age_in_years} year old {$patient->sex} ";
|
|
|
+$summaryHtml = 'Patient ' . $patient->name_first .' '.$patient->name_last . " is a {$patient->age_in_years} year old {$patient->sex}";
|
|
|
if(count($value)) {
|
|
|
- $summaryHtml .= "presenting with ";
|
|
|
+ $summaryHtml .= " presenting with ";
|
|
|
if(count($value) == 1){
|
|
|
$summaryHtml .= implode(", ", $value);
|
|
|
}else{
|
|
@@ -26,6 +26,9 @@ if(count($value)) {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+$summaryHtml .= '.';
|
|
|
+
|
|
|
$contentData = [
|
|
|
'value' => $summaryHtml
|
|
|
];
|