|
@@ -37,7 +37,7 @@ else {
|
|
|
?>
|
|
|
<p class="font-weight-bold mb-2">CC</p>
|
|
|
<p class="p-2 bg-light border mb-2">
|
|
|
- Patient is a <?= $patient->age_in_years ?> y.o. <?= $client->sex ?> presenting for the following reason<?= count($lines) > 1 ? 's' : '' ?>:
|
|
|
+ Patient is a <?= $patient->age_in_years ?> y.o. <?= $patient->sex ?> presenting for the following reason<?= count($lines) > 1 ? 's' : '' ?>:
|
|
|
<?php foreach($lines as $i => $line): ?>
|
|
|
<?= $line['name'] ?>
|
|
|
(<?= $line['category'] ?><?= $line['icd'] ? ' / ' . $line['icd'] : '' ?><?= $line['memo'] ? ' / ' . $line['memo'] : '' ?>)<?= count($lines) > 1 ? ($i === count($lines) - 2 ? ' and ' : ($i < count($lines) - 2 ? ', ' : ($i === count($lines) - 1 ? '.' : ''))) : '' ?>
|