|
@@ -18,25 +18,58 @@
|
|
|
<table class="table table-condensed p-0 m-0">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
|
- <th class="px-3 border-0">Date</th>
|
|
|
+ <th class="px-3 border-0">Effective Date</th>
|
|
|
<th class="px-3 border-0">Patient</th>
|
|
|
- <th class="px-3 border-0">ICD</th>
|
|
|
- <th class="px-3 border-0">Status</th>
|
|
|
+ <th class="px-3 border-0">New Patient / FU</th>
|
|
|
+
|
|
|
+ <th class="px-3 border-0">HCP</th>
|
|
|
+
|
|
|
+ <th class="px-3 border-0">HCP Signed</th>
|
|
|
+ <th class="px-3 border-0"> </th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- @foreach($notes as $note)
|
|
|
- <tr>
|
|
|
- <td>{{-- date --}} -</td>
|
|
|
- <td>{{-- patient --}} - </td>
|
|
|
- <td>{{-- ICD --}} - </td>
|
|
|
- <td>{{-- Status --}} - </td>
|
|
|
+ @foreach ($notes as $note)
|
|
|
+ <tr class="{{ $note->is_cancelled ? 'cancelled-item always-clickable' : '' }}">
|
|
|
+ <td class="px-2">
|
|
|
+ <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}" class="font-weight-bold">
|
|
|
+ {{ friendly_date_time($note->effective_dateest, false) }}
|
|
|
+ </a>
|
|
|
+ @if(!!$note->visitTemplate)
|
|
|
+ <span class="text-info font-weight-bold">*</span>
|
|
|
+ @endif
|
|
|
+ <span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>
|
|
|
+ </td>
|
|
|
+ <td class="px-2">
|
|
|
+ {{ $note->client->displayName() }}
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="px-2">
|
|
|
+ {{ $note->new_or_fu_or_na === 'NEW' ? 'New Patient' : $note->new_or_fu_or_na }}
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="px-2">
|
|
|
+ {{$note->hcpPro ? $note->hcpPro->name_display: '-'}}
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="px-2">
|
|
|
+ {!! $note->hcpPro && $note->is_signed_by_hcp ? '<b class="text-success">Yes</b>' : 'No' !!}
|
|
|
+ </td>
|
|
|
+ <td class="px-2">
|
|
|
+ <div class="position-relative c-pointer text-center stag-tooltip">
|
|
|
+ <i class="fa fa-info-circle"></i>
|
|
|
+ <div class="position-absolute bg-white border rounded p-2 stag-tooltip-content">
|
|
|
+ <div class="text-nowrap small text-left pb-1">Created on <b>{{ friendly_date_time($note->created_at, true) }}</b></div>
|
|
|
+ <div class="text-nowrap small text-left">Created by <b>{{ $note->createdSession->pro->displayName() }}</b></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
|
|
|
@if(count($notes) === 0)
|
|
|
<tr>
|
|
|
- <td colspan="5">No records found!</td>
|
|
|
+ <td colspan="6">No records found!</td>
|
|
|
</tr>
|
|
|
@endif
|
|
|
</tbody>
|
|
@@ -48,4 +81,4 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-@endsection
|
|
|
+@endsection
|