|
@@ -8,13 +8,12 @@
|
|
<div class="pt-2 d-flex align-items-start">
|
|
<div class="pt-2 d-flex align-items-start">
|
|
<h6 class="my-0 d-flex align-items-baseline w-100">
|
|
<h6 class="my-0 d-flex align-items-baseline w-100">
|
|
<span class="font-weight-bold font-size-16">Notes</span>
|
|
<span class="font-weight-bold font-size-16">Notes</span>
|
|
- @if(true || $patient->latestClientPrimaryCoverage->is_covered == 'YES')
|
|
|
|
@if($isOldClient)
|
|
@if($isOldClient)
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<div moe>
|
|
<div moe>
|
|
<a start show class="py-0 mb-3">Add</a>
|
|
<a start show class="py-0 mb-3">Add</a>
|
|
<form url="/api/note/createUsingTemplate"
|
|
<form url="/api/note/createUsingTemplate"
|
|
- redir="/patients/view/{{$patient->uid}}/notes/view/[data]"
|
|
|
|
|
|
+ redir="/pros/view/{{$patient->uid}}/notes/view/[data]"
|
|
class="mcp-theme-1">
|
|
class="mcp-theme-1">
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="title" id="note-create-title" value="">
|
|
<input type="hidden" name="title" id="note-create-title" value="">
|
|
@@ -67,7 +66,7 @@
|
|
<div moe>
|
|
<div moe>
|
|
<a start show class="py-0 mb-3 text-info font-weight-bold">Add Visit</a>
|
|
<a start show class="py-0 mb-3 text-info font-weight-bold">Add Visit</a>
|
|
<form url="/api/visit/create"
|
|
<form url="/api/visit/create"
|
|
- redir="/patients/view/{{$patient->uid}}/notes/view/[data]"
|
|
|
|
|
|
+ redir="/pros/view/{{$patient->uid}}/notes/view/[data]"
|
|
class="mcp-theme-1">
|
|
class="mcp-theme-1">
|
|
<?php $proVisitTemplates = $pro->visitTemplates(); ?>
|
|
<?php $proVisitTemplates = $pro->visitTemplates(); ?>
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
@@ -135,18 +134,8 @@
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
- @else
|
|
|
|
- <span class="ml-3 text-danger">
|
|
|
|
- <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
- <b>Cannot create note.</b> Patient is not covered or coverage is pending verification.
|
|
|
|
- </span>
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
- <a class="ml-3" href="{{route('patients.view.client-primary-coverages', ['patient' => $patient])}}">View Coverages</a>
|
|
|
|
- @endif
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
<select class="ml-auto max-width-300px form-control form-control-sm"
|
|
<select class="ml-auto max-width-300px form-control form-control-sm"
|
|
- onchange="fastLoad('/patients/view/{{$patient->uid}}/notes/' + this.value, true, false, false)">
|
|
|
|
|
|
+ onchange="fastLoad('/pros/view/{{$patient->uid}}/notes/' + this.value, true, false, false)">
|
|
<option value="active" {{ $filter === 'active' ? 'selected' : '' }}>Active notes</option>
|
|
<option value="active" {{ $filter === 'active' ? 'selected' : '' }}>Active notes</option>
|
|
<option value="cancelled" {{ $filter === 'cancelled' ? 'selected' : '' }}>Cancelled notes</option>
|
|
<option value="cancelled" {{ $filter === 'cancelled' ? 'selected' : '' }}>Cancelled notes</option>
|
|
<option value="all" {{ $filter === 'all' ? 'selected' : '' }}>All notes</option>
|
|
<option value="all" {{ $filter === 'all' ? 'selected' : '' }}>All notes</option>
|
|
@@ -190,7 +179,7 @@
|
|
@foreach ($records as $note)
|
|
@foreach ($records as $note)
|
|
<tr class="{{ $note->is_cancelled ? 'cancelled-item always-clickable' : '' }}">
|
|
<tr class="{{ $note->is_cancelled ? 'cancelled-item always-clickable' : '' }}">
|
|
<td>
|
|
<td>
|
|
- <a href="/patients/view/{{ $patient->uid }}/notes/view/{{ $note->uid }}">
|
|
|
|
|
|
+ <a href="/pros/view/{{ $patient->uid }}/notes/view/{{ $note->uid }}">
|
|
{{ friendly_date_time($note->effective_dateest, false) }}
|
|
{{ friendly_date_time($note->effective_dateest, false) }}
|
|
</a>
|
|
</a>
|
|
@if(!!$note->visitTemplate)
|
|
@if(!!$note->visitTemplate)
|
|
@@ -239,7 +228,7 @@
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
- <a href="/patients/view/{{ $patient->uid }}/notes/view/{{ $note->uid }}" class="font-weight-bold">Open</a>
|
|
|
|
|
|
+ <a href="/pros/view/{{ $patient->uid }}/notes/view/{{ $note->uid }}" class="font-weight-bold">Open</a>
|
|
@if(1 || $note->new_or_fu_or_na !== 'NEW')
|
|
@if(1 || $note->new_or_fu_or_na !== 'NEW')
|
|
<span class="px-2 text-secondary">|</span>
|
|
<span class="px-2 text-secondary">|</span>
|
|
@if(!$note->visit_template_id)
|
|
@if(!$note->visit_template_id)
|
|
@@ -248,7 +237,7 @@
|
|
<div moe relative>
|
|
<div moe relative>
|
|
<a start show>Clone Visit</a>
|
|
<a start show>Clone Visit</a>
|
|
<form url="/api/visit/clone" class="mcp-theme-1" right
|
|
<form url="/api/visit/clone" class="mcp-theme-1" right
|
|
- redir="/patients/view/{{$patient->uid}}/notes/view/[data]">
|
|
|
|
|
|
+ redir="/pros/view/{{$patient->uid}}/notes/view/[data]">
|
|
<input type="hidden" name="visitToCloneUid" value="{{$note->uid}}">
|
|
<input type="hidden" name="visitToCloneUid" value="{{$note->uid}}">
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<label for="" class="text-sm text-secondary mb-1">Effective Date</label>
|
|
<label for="" class="text-sm text-secondary mb-1">Effective Date</label>
|
|
@@ -325,7 +314,7 @@
|
|
if(_data) {
|
|
if(_data) {
|
|
if(_data.success) {
|
|
if(_data.success) {
|
|
toastr.success('Note cloned successfully');
|
|
toastr.success('Note cloned successfully');
|
|
- fastLoad('/patients/view/{{$patient->uid}}/notes/view/' + _data.data);
|
|
|
|
|
|
+ fastLoad('/pros/view/{{$patient->uid}}/notes/view/' + _data.data);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
toastr.error(_data.message);
|
|
toastr.error(_data.message);
|