Explorar o código

cc_hpi > cc as a sentence fix

Vijayakrishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
4c5a855a02

+ 1 - 1
resources/views/app/patient/canvas-sections/cc_hpi/summary.php

@@ -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>