|
@@ -162,11 +162,19 @@
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; font-size: 14px;">
|
|
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; font-size: 14px;">
|
|
<tr>
|
|
<tr>
|
|
- <td style="padding-bottom: 0.25rem; width: 20%; opacity: 0.75;">Fasting:</td>
|
|
|
|
- <td style="padding-bottom: 0.25rem; width: 30%; opacity: 0.75; font-weight: bold;">Yes / No</td>
|
|
|
|
- <td style="padding-bottom: 0.25rem; width: 20%; opacity: 0.75;">ICD Codes:</td>
|
|
|
|
- <td style="padding-bottom: 0.25rem; width: 30%; opacity: 0.75; font-weight: bold;">
|
|
|
|
- {{@$clinical->icds ? implode(", ", @$clinical->icds) : '-'}}
|
|
|
|
|
|
+ <td style="padding-bottom: 0.25rem; width: 20%; opacity: 0.75; vertical-align: top">Fasting:</td>
|
|
|
|
+ <td style="padding-bottom: 0.25rem; width: 30%; opacity: 0.75; vertical-align: top font-weight: bold;">Yes / No</td>
|
|
|
|
+ <td style="padding-bottom: 0.25rem; width: 20%; opacity: 0.75; vertical-align: top">ICD Codes:</td>
|
|
|
|
+ <td style="padding-bottom: 0.25rem; width: 30%; opacity: 0.75; font-weight: bold; vertical-align: top">
|
|
|
|
+ @if(@($clinical->items) && count($clinical->items))
|
|
|
|
+ @foreach($clinical->items as $item)
|
|
|
|
+ @if(@($item->icds) && count($item->icds))
|
|
|
|
+ {!! implode("<br>", array_map(function($_x) { return $_x->code; }, $item->icds)) !!}<br>
|
|
|
|
+ @endif
|
|
|
|
+ @endforeach
|
|
|
|
+ @else
|
|
|
|
+ -
|
|
|
|
+ @endif
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
@@ -190,7 +198,15 @@
|
|
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
|
|
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
|
|
<tr>
|
|
<tr>
|
|
<td style="vertical-align: top">
|
|
<td style="vertical-align: top">
|
|
- {!! @$clinical->tests ? implode("<br>", @$clinical->tests) : '-' !!}
|
|
|
|
|
|
+ @if(@($clinical->items) && count($clinical->items))
|
|
|
|
+ @foreach($clinical->items as $item)
|
|
|
|
+ @if(@($item->tests) && count($item->tests))
|
|
|
|
+ {!! implode("<br>", array_map(function($_x) { return $_x->desc; }, $item->tests)) !!}<br>
|
|
|
|
+ @endif
|
|
|
|
+ @endforeach
|
|
|
|
+ @else
|
|
|
|
+ -
|
|
|
|
+ @endif
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|