|
@@ -16,6 +16,7 @@
|
|
<th class="border-0">Patient</th>
|
|
<th class="border-0">Patient</th>
|
|
<th class="border-0">ICD</th>
|
|
<th class="border-0">ICD</th>
|
|
<th class="border-0">Status</th>
|
|
<th class="border-0">Status</th>
|
|
|
|
+ <th class="border-0">Suggestions</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -38,6 +39,39 @@
|
|
<td>
|
|
<td>
|
|
{{$row->overallStatus()}}
|
|
{{$row->overallStatus()}}
|
|
</td>
|
|
</td>
|
|
|
|
+ <td class="p-0">
|
|
|
|
+ @php $segments = $row->segmentsWithPendingSummarySuggestion; @endphp
|
|
|
|
+ <table class="table table-sm m-0">
|
|
|
|
+ @foreach($segments as $segment)
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="width-100px">
|
|
|
|
+ <div class="d-flex align-items-baseline grow-till-300px">
|
|
|
|
+ <span>{{$segment->display_title}}</span>
|
|
|
|
+ <div class="on-hover-show left on-hover-opaque">
|
|
|
|
+ <i class="fa fa-info-circle ml-1"></i>
|
|
|
|
+ <div class="on-hover-content p-2 text-sm">
|
|
|
|
+ <div class="d-flex align-items-start border p-1 mb-2">
|
|
|
|
+ <span class="mr-1 width-70px">Original:</span>
|
|
|
|
+ <div class="bg-light inline-html-container max-height-100px max-width-300px overflow-hidden">
|
|
|
|
+ {!! $segment->summary_html !!}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-start border p-1">
|
|
|
|
+ <span class="mr-1 width-70px">Suggested:</span>
|
|
|
|
+ <div class="bg-light inline-html-container max-height-100px max-width-300px overflow-hidden">
|
|
|
|
+ {!! $segment->proposedSegmentSummarySuggestion->summary_html !!}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ <td>{{$segment->proposedSegmentSummarySuggestion->creator->displayName()}}</td>
|
|
|
|
+ <td>{{friendlier_date($segment->proposedSegmentSummarySuggestion->created_at)}}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endforeach
|
|
|
|
+ </table>
|
|
|
|
+ </td>
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|
|
</tbody>
|
|
</tbody>
|