|
@@ -5,53 +5,54 @@
|
|
<div class="pt-2 d-flex align-items-start">
|
|
<div class="pt-2 d-flex align-items-start">
|
|
<h6 class="my-0 text-secondary d-flex align-items-center w-100">
|
|
<h6 class="my-0 text-secondary d-flex align-items-center w-100">
|
|
<span class="font-weight-bold text-secondary">Notes</span>
|
|
<span class="font-weight-bold text-secondary">Notes</span>
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
- <div moe>
|
|
|
|
- <a start show class="py-0 mb-3">Add</a>
|
|
|
|
- <form url="/api/note/create" class="mcp-theme-1"
|
|
|
|
- redir="patients/view/{{ $patient->uid }}/notes/view/[data]">
|
|
|
|
- <input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label for="" class="text-secondary text-sm mb-1">Pro *</label>
|
|
|
|
- <select name="hcpProUid" class="form-control" provider-search required data-pro-uid="{{$pro->is_hcp ? $pro->uid : ''}}">
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <input type="hidden" name="effectiveDateEST" value="{{ date('Y-m-d') }}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label for="" class="text-secondary text-sm mb-1">Type *</label>
|
|
|
|
- <select name="newOrFuOrNa" class="form-control">
|
|
|
|
- <option value="NEW">New Patient</option>
|
|
|
|
- <option value="FU" {{$pro->is_hcp && $patient->hasNewNoteForPro($pro) ? 'selected' : ''}}>Follow Up</option>
|
|
|
|
- <option value="NA">N/A</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label for="" class="text-secondary text-sm mb-1">Method *</label>
|
|
|
|
- <select name="method" class="form-control note-method-select" required>
|
|
|
|
- <option value="">-- select --</option>
|
|
|
|
- <option value="VIDEO">Video</option>
|
|
|
|
- <option value="AUDIO">Audio</option>
|
|
|
|
- <option value="IN_CLINIC">In Clinic</option>
|
|
|
|
- <option value="HOUSE_CALL">House Call</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group if-in-clinic">
|
|
|
|
- <label for="" class="text-secondary text-sm mb-1">Location</label>
|
|
|
|
- <select name="hcpCompanyLocationUid" class="form-control">
|
|
|
|
- <option value=""></option>
|
|
|
|
- @foreach($pro->companyLocations() as $location)
|
|
|
|
- <option value="{{$location->uid}}">{{$location->line1}} {{$location->city}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
|
- <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
- <div moe>
|
|
|
|
|
|
+ @if($patient->getPrimaryCoverageStatus() === 'YES')
|
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
|
+ <div moe>
|
|
|
|
+ <a start show class="py-0 mb-3">Add</a>
|
|
|
|
+ <form url="/api/note/create" class="mcp-theme-1"
|
|
|
|
+ redir="patients/view/{{ $patient->uid }}/notes/view/[data]">
|
|
|
|
+ <input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <label for="" class="text-secondary text-sm mb-1">Pro *</label>
|
|
|
|
+ <select name="hcpProUid" class="form-control" provider-search required data-pro-uid="{{$pro->is_hcp ? $pro->uid : ''}}">
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <input type="hidden" name="effectiveDateEST" value="{{ date('Y-m-d') }}">
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <label for="" class="text-secondary text-sm mb-1">Type *</label>
|
|
|
|
+ <select name="newOrFuOrNa" class="form-control">
|
|
|
|
+ <option value="NEW">New Patient</option>
|
|
|
|
+ <option value="FU" {{$pro->is_hcp && $patient->hasNewNoteForPro($pro) ? 'selected' : ''}}>Follow Up</option>
|
|
|
|
+ <option value="NA">N/A</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <label for="" class="text-secondary text-sm mb-1">Method *</label>
|
|
|
|
+ <select name="method" class="form-control note-method-select" required>
|
|
|
|
+ <option value="">-- select --</option>
|
|
|
|
+ <option value="VIDEO">Video</option>
|
|
|
|
+ <option value="AUDIO">Audio</option>
|
|
|
|
+ <option value="IN_CLINIC">In Clinic</option>
|
|
|
|
+ <option value="HOUSE_CALL">House Call</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="form-group if-in-clinic">
|
|
|
|
+ <label for="" class="text-secondary text-sm mb-1">Location</label>
|
|
|
|
+ <select name="hcpCompanyLocationUid" class="form-control">
|
|
|
|
+ <option value=""></option>
|
|
|
|
+ @foreach($pro->companyLocations() as $location)
|
|
|
|
+ <option value="{{$location->uid}}">{{$location->line1}} {{$location->city}}</option>
|
|
|
|
+ @endforeach
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
|
+ <div moe>
|
|
<a start show class="py-0 mb-3">Add Visit</a>
|
|
<a start show class="py-0 mb-3">Add Visit</a>
|
|
<form url="/api/visit/create"
|
|
<form url="/api/visit/create"
|
|
redir="/patients/view/{{$patient->uid}}/notes/view/[data]"
|
|
redir="/patients/view/{{$patient->uid}}/notes/view/[data]"
|
|
@@ -109,6 +110,14 @@
|
|
</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>
|
|
|
|
+ <a class="ml-3" href="{{route('patients.view.client-primary-coverages', ['patient' => $patient])}}">View Coverages</a>
|
|
|
|
+ @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('/patients/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>
|