|
@@ -448,73 +448,101 @@
|
|
<hr class="m-negator-3 my-3">
|
|
<hr class="m-negator-3 my-3">
|
|
<span>MCP Onboarding Visit: <b>{{ $patient->has_mcp_done_onboarding_visit }}</b></span>
|
|
<span>MCP Onboarding Visit: <b>{{ $patient->has_mcp_done_onboarding_visit }}</b></span>
|
|
<span moe class="ml-2">
|
|
<span moe class="ml-2">
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateMcpOnboardingVisitInfo" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <select name="hasMcpDoneOnboardingVisit"
|
|
|
|
- class="form-control form-control-sm"
|
|
|
|
- onchange="toggleDisabledAsNeeded(this, 'YES', 'if-visit-done')">
|
|
|
|
- <option value="">-- Select Status --</option>
|
|
|
|
- <option
|
|
|
|
- value="YES" {{ $patient->has_mcp_done_onboarding_visit === 'YES' ? 'selected' : '' }}>YES</option>
|
|
|
|
- <option
|
|
|
|
- value="NO" {{ $patient->has_mcp_done_onboarding_visit === 'NO' ? 'selected' : '' }}>NO</option>
|
|
|
|
- <option value="UNKNOWN" {{ $patient->has_mcp_done_onboarding_visit === 'UNKNOWN' ? 'selected' : '' }}>UNKNOWN</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <input type="date" class="if-visit-done form-control form-control-sm" disabled
|
|
|
|
- name="mcpOnboardingVisitDate" value="{{ date('Y-m-d') }}" max="{{ date('Y-m-d') }}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <select name="mcpOnboardingVisitNoteUid" disabled
|
|
|
|
- class="form-control form-control-sm if-visit-done"
|
|
|
|
- onchange="if(this.value === '-- create --') createNewNote('{{$patient->uid}}', '{{$pro->uid}}', '{{date('Y-m-d')}}');">
|
|
|
|
- <option value="">-- Visit Note --</option>
|
|
|
|
- <?php $notes = \App\Models\Note::where('client_id', $patient->id)->get() ?>
|
|
|
|
- @foreach ($notes as $note)
|
|
|
|
- @if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
|
|
|
|
|
|
+ <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/client/updateMcpOnboardingVisitInfo" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <select name="hasMcpDoneOnboardingVisit"
|
|
|
|
+ class="form-control form-control-sm"
|
|
|
|
+ onchange="toggleDisabledAsNeeded(this, 'YES', 'if-visit-done')">
|
|
|
|
+ <option value="">-- Select Status --</option>
|
|
<option
|
|
<option
|
|
- {{ $patient->mcp_onboarding_visit_note_id === $note->id ? 'selected' : '' }}
|
|
|
|
- value="{{$note->uid}}">{{$note->title}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
|
|
|
|
- @endif
|
|
|
|
- @endforeach
|
|
|
|
- {{--<option value="-- create --">-- Create Note --</option>--}}
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2 if-note-outside-system">
|
|
|
|
- <textarea class="form-control form-control-sm" name="reasonOnboardingVisitNoteOutsideSystem"
|
|
|
|
- placeholder="Visit note outside the system reason" spellcheck="false"
|
|
|
|
- data-gramm="false"></textarea>
|
|
|
|
- </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>
|
|
|
|
- </span>
|
|
|
|
|
|
+ value="YES" {{ $patient->has_mcp_done_onboarding_visit === 'YES' ? 'selected' : '' }}>YES</option>
|
|
|
|
+ <option
|
|
|
|
+ value="NO" {{ $patient->has_mcp_done_onboarding_visit === 'NO' ? 'selected' : '' }}>NO</option>
|
|
|
|
+ <option value="UNKNOWN" {{ $patient->has_mcp_done_onboarding_visit === 'UNKNOWN' ? 'selected' : '' }}>UNKNOWN</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="date" class="if-visit-done form-control form-control-sm" disabled
|
|
|
|
+ name="mcpOnboardingVisitDate" value="{{ date('Y-m-d') }}" max="{{ date('Y-m-d') }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <select name="mcpOnboardingVisitNoteUid" disabled
|
|
|
|
+ class="form-control form-control-sm if-visit-done"
|
|
|
|
+ onchange="if(this.value === '-- create --') createNewNote('{{$patient->uid}}', '{{$pro->uid}}', '{{date('Y-m-d')}}');">
|
|
|
|
+ <option value="">-- Visit Note --</option>
|
|
|
|
+ <?php $notes = \App\Models\Note::where('client_id', $patient->id)->get() ?>
|
|
|
|
+ @foreach ($notes as $note)
|
|
|
|
+ @if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
|
|
|
|
+ <option
|
|
|
|
+ {{ $patient->mcp_onboarding_visit_note_id === $note->id ? 'selected' : '' }}
|
|
|
|
+ value="{{$note->uid}}">{{$note->title}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
|
|
|
|
+ @endif
|
|
|
|
+ @endforeach
|
|
|
|
+ {{--<option value="-- create --">-- Create Note --</option>--}}
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2 if-note-outside-system">
|
|
|
|
+ <textarea class="form-control form-control-sm" name="reasonOnboardingVisitNoteOutsideSystem"
|
|
|
|
+ placeholder="Visit note outside the system reason" spellcheck="false"
|
|
|
|
+ data-gramm="false"></textarea>
|
|
|
|
+ </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>
|
|
|
|
+ </span>
|
|
|
|
|
|
<hr class="m-negator-3 my-3">
|
|
<hr class="m-negator-3 my-3">
|
|
<span>Initiative: <b>{{$patient->initiative ? $patient->initiative : 'N/A'}}</b></span>
|
|
<span>Initiative: <b>{{$patient->initiative ? $patient->initiative : 'N/A'}}</b></span>
|
|
<span moe class="ml-2">
|
|
<span moe class="ml-2">
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateInitiative" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <select name="initiative" class="form-control">
|
|
|
|
- <option value="">-- select --</option>
|
|
|
|
- @foreach($intiatives as $initiative)
|
|
|
|
- <option value="{{$initiative}}">{{$initiative}}</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>
|
|
|
|
- </span>
|
|
|
|
|
|
+ <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/client/updateInitiative" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <select name="initiative" class="form-control">
|
|
|
|
+ <option value="">-- select --</option>
|
|
|
|
+ @foreach($intiatives as $initiative)
|
|
|
|
+ <option value="{{$initiative}}">{{$initiative}}</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>
|
|
|
|
+ </span>
|
|
|
|
+
|
|
|
|
+ <hr class="m-negator-3 my-3">
|
|
|
|
+ <span>Send SMS for device measurements: <b>{{$patient->send_sms_on_bdt_measurement ? 'YES' : 'NO'}}</b></span>
|
|
|
|
+ @if($patient->send_sms_on_bdt_measurement)
|
|
|
|
+ <span moe class="ml-2">
|
|
|
|
+ <a start show>Turn Off</a>
|
|
|
|
+ <form url="/api/client/setSendSmsOnBdtMeasurementToFalse" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <p>Turn off SMS on device measurements?</p>
|
|
|
|
+ <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>
|
|
|
|
+ </span>
|
|
|
|
+ @else
|
|
|
|
+ <span moe class="ml-2">
|
|
|
|
+ <a start show>Turn On</a>
|
|
|
|
+ <form url="/api/client/setSendSmsOnBdtMeasurementToTrue" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <p>Turn on SMS on device measurements?</p>
|
|
|
|
+ <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>
|
|
|
|
+ </span>
|
|
|
|
+ @endif
|
|
|
|
|
|
<hr class="m-negator-3 mt-3">
|
|
<hr class="m-negator-3 mt-3">
|
|
<div id="preferredPharmacyApp">
|
|
<div id="preferredPharmacyApp">
|