|
@@ -35,26 +35,52 @@
|
|
|
<?php $measurements = json_decode($patient->latest_measurements);?>
|
|
|
<table class="table table-striped table-sm">
|
|
|
<thead>
|
|
|
- <tr>
|
|
|
- <th>Label</th>
|
|
|
- <th>Value</th>
|
|
|
- <th>Effective date</th>
|
|
|
- <th>Memo</th>
|
|
|
- </tr>
|
|
|
+ <tr>
|
|
|
+ <th>Label</th>
|
|
|
+ <th>Value</th>
|
|
|
+ <th>Effective date</th>
|
|
|
+ <th>Memo</th>
|
|
|
+ </tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- @foreach ($measurements as $label => $data)
|
|
|
+ @foreach ($measurements as $label => $data)
|
|
|
<tr>
|
|
|
<td>{{$label}}</td>
|
|
|
<td>{{$data->value}}</td>
|
|
|
<td>{{$data->effectiveDate}}</td>
|
|
|
<td>{{$data->memo}}</td>
|
|
|
</tr>
|
|
|
+ @endforeach
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <h1>Client Info Lines</h1>
|
|
|
+ <?php $infoLines = json_decode($patient->info_lines);?>
|
|
|
+ <table class="table table-striped table-sm">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>Category</th>
|
|
|
+ <th>Content Text</th>
|
|
|
+ <th>Content Detail</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @foreach($infoLines as $category => $lines)
|
|
|
+ @foreach ($lines as $line)
|
|
|
+ <tr>
|
|
|
+ <td>{{$category}}</td>
|
|
|
+ <td>{{$line->contentText}}</td>
|
|
|
+ <td>{{$line->contentDetail}}</td>
|
|
|
+ </tr>
|
|
|
@endforeach
|
|
|
-
|
|
|
+ @endforeach
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
<pre>
|
|
|
CARE PLAN: [edit]
|