|
@@ -40,7 +40,7 @@ else {
|
|
|
Patient is a <?= $patient->age_in_years ?> y.o. <?= $client->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 ? ', ' : '')) : '' ?>
|
|
|
+ (<?= $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 ? '.' : ''))) : '' ?>
|
|
|
<?php endforeach; ?>
|
|
|
</p>
|
|
|
<p class="font-weight-bold mb-2">HPI</p>
|