|
@@ -149,7 +149,7 @@ use App\Models\Handout;
|
|
|
<div class="pr-2">
|
|
|
{{$note->title}}
|
|
|
@if(!$note->is_signed_by_hcp || $pro->pro_type === 'ADMIN')
|
|
|
- <div moe class="d-block" relative id="note-edit-title">
|
|
|
+ <div moe class="d-inline" relative id="note-edit-title">
|
|
|
<a href="" show start></a>
|
|
|
<form url="/api/note/putTitle">
|
|
|
<input type="hidden" name="uid" value="{{$note->uid}}">
|
|
@@ -164,6 +164,47 @@ use App\Models\Handout;
|
|
|
</form>
|
|
|
</div>
|
|
|
@endif
|
|
|
+ @if($pro->pro_type === 'ADMIN')
|
|
|
+ <div moe relative class="d-inline" id="note-clone">
|
|
|
+ <a start show></a>
|
|
|
+ <form url="/api/visit/clone" class="mcp-theme-1" left
|
|
|
+ redir="/patients/view/{{$patient->uid}}/notes/view/[data]">
|
|
|
+ <p class="text-secondary mb-2 font-weight-bold">Clone Note</p>
|
|
|
+ <input type="hidden" name="visitToCloneUid" value="{{$note->uid}}">
|
|
|
+ <div class="mb-2">
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Effective Date</label>
|
|
|
+ <input type="date" name="effectiveDate" class="form-control input-sm" value="{{get_current_date($pro->display_timezone)}}">
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label for="" class="text-secondary text-sm mb-1">New/Follow-up</label>
|
|
|
+ <div class="d-flex align-items-baseline py-1">
|
|
|
+ <label class="mr-3 my-0 d-inline-flex align-items-center c-pointer">
|
|
|
+ <input type="radio" name="newOrFuOrNa" value="NEW" required>
|
|
|
+ <span class="ml-1 text-dark">New</span>
|
|
|
+ </label>
|
|
|
+ <label class="my-0 d-inline-flex align-items-center c-pointer">
|
|
|
+ <input type="radio" name="newOrFuOrNa" value="FU" required checked>
|
|
|
+ <span class="ml-1 text-dark">Follow-Up</span>
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="mb-2">
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Method</label>
|
|
|
+ <select name="noteContactMethod" id="" class="form-control input-sm">
|
|
|
+ <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="m-0">
|
|
|
+ <button submit class="btn btn-primary btn-sm">submit</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
<div class="pl-2 pr-3">
|
|
|
<div class="d-flex">
|
|
@@ -357,10 +398,16 @@ use App\Models\Handout;
|
|
|
onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-edit-type>a:first').trigger('click'); return false;">
|
|
|
Edit Type
|
|
|
</a>
|
|
|
- <a native target="_blank" href="#" class="pl-2 pr-3 py-1 d-block text-nowrap text-sm"
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 pt-1 d-block text-nowrap text-sm"
|
|
|
onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-edit-method>a:first').trigger('click'); return false;">
|
|
|
Edit Method
|
|
|
</a>
|
|
|
+ @if($note->visitTemplate && $note->visitTemplate->internal_name == 'omega_soap_visit')
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 py-1 d-block text-nowrap text-sm"
|
|
|
+ onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-clone>a:first').trigger('click'); return false;">
|
|
|
+ Clone
|
|
|
+ </a>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</div>
|
|
|
@endif
|