|
@@ -7,6 +7,7 @@
|
|
padding: 0.25em;
|
|
padding: 0.25em;
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
+
|
|
table.appointments tr td {
|
|
table.appointments tr td {
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
@@ -16,7 +17,7 @@
|
|
<div class="">
|
|
<div class="">
|
|
<div class="row mcp-theme-1" id="pro-dashboard-container" v-cloak>
|
|
<div class="row mcp-theme-1" id="pro-dashboard-container" v-cloak>
|
|
<div class="col-md-3 mcp-theme-1">
|
|
<div class="col-md-3 mcp-theme-1">
|
|
- <div class="mb-4" v-show="tab==='appointments'">
|
|
|
|
|
|
+ <div class="mb-4">
|
|
<div class="pro-dashboard-inline-calendar"></div>
|
|
<div class="pro-dashboard-inline-calendar"></div>
|
|
</div>
|
|
</div>
|
|
<div class="card mb-4">
|
|
<div class="card mb-4">
|
|
@@ -37,13 +38,17 @@
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients Awaiting Visit</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">
|
|
|
|
+ New Patients Awaiting Visit
|
|
|
|
+ </a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending Signature</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">
|
|
|
|
+ Notes Pending Signature
|
|
|
|
+ </a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
@@ -55,51 +60,58 @@
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending Signature</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o Appointments</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.patients_overdue') }}">Patients Overdue</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for Visit</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_cancelled_appointments_pending_acknowledgement_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_cancelled_appointments_pending_acknowledgement_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.cancelled_appointments_pending_review') }}">Cancelled Appts. Pending Review</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.cancelled_appointments_pending_review') }}">Cancelled
|
|
|
|
+ Appts. Pending Review</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_cancelled_bills_awaiting_review_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_cancelled_bills_awaiting_review_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.cancelled_bills_pending_review') }}">Cancelled Bills Pending Review</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.cancelled_bills_pending_review') }}">Cancelled Bills
|
|
|
|
+ Pending Review</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_cancelled_supply_orders_awaiting_review_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_cancelled_supply_orders_awaiting_review_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.cancelled_supply_orders_pending_review') }}">Cancelled Supply Orders Pending Review</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.cancelled_supply_orders_pending_review') }}">Cancelled
|
|
|
|
+ Supply Orders Pending Review</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_erx_and_orders_awaiting_signature_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_erx_and_orders_awaiting_signature_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.erx_and_orders_pending_signature') }}">ERx & Orders Pending Signature</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.erx_and_orders_pending_signature') }}">ERx & Orders
|
|
|
|
+ Pending Signature</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<th class="px-2 text-center">{{$pro->get_supply_orders_awaiting_signature_count_as_mcp()}}</th>
|
|
<th class="px-2 text-center">{{$pro->get_supply_orders_awaiting_signature_count_as_mcp()}}</th>
|
|
<th class="pl-2">
|
|
<th class="pl-2">
|
|
- <a href="{{ route('mcp.supply_orders_pending_signature') }}">Supply Orders Pending Signature</a>
|
|
|
|
|
|
+ <a href="{{ route('mcp.supply_orders_pending_signature') }}">Supply Orders
|
|
|
|
+ Pending Signature</a>
|
|
</th>
|
|
</th>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
@@ -136,8 +148,8 @@
|
|
<div class="card-body p-0">
|
|
<div class="card-body p-0">
|
|
<table class="table mb-0 dashboard-stats-table">
|
|
<table class="table mb-0 dashboard-stats-table">
|
|
<tbody>
|
|
<tbody>
|
|
- <tr>
|
|
|
|
- <th colspan="2">Revenue Cycle Management</th>
|
|
|
|
|
|
+ <tr class="thin">
|
|
|
|
+ <th colspan="2" class="font-weight-normal px-2 pl-2">Billing & Reimbursement</th>
|
|
</tr>
|
|
</tr>
|
|
<tr class="thin">
|
|
<tr class="thin">
|
|
<th class="font-weight-normal px-2 pl-4">{{friendly_date_time($reimbursement['nextPaymentDate'], false)}}</th>
|
|
<th class="font-weight-normal px-2 pl-4">{{friendly_date_time($reimbursement['nextPaymentDate'], false)}}</th>
|
|
@@ -197,38 +209,39 @@
|
|
|
|
|
|
<!-- Appointment Updates -->
|
|
<!-- Appointment Updates -->
|
|
|
|
|
|
- @if(count($proApptUpdates))
|
|
|
|
- <div class="card mb-4 ack-container">
|
|
|
|
- <div class="card-header pl-2">
|
|
|
|
- <strong>
|
|
|
|
- Appointment Updates
|
|
|
|
- </strong>
|
|
|
|
- </div>
|
|
|
|
- <div class="card-body p-0">
|
|
|
|
- <table class="table table-sm mb-0 table-bordered">
|
|
|
|
- <tbody>
|
|
|
|
- <tr>
|
|
|
|
- <th>Client</th>
|
|
|
|
- <th>Appt. Date/Time</th>
|
|
|
|
- <th>Status</th>
|
|
|
|
- <th></th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- @foreach($proApptUpdates as $update)
|
|
|
|
|
|
+ @if(false && count($proApptUpdates))
|
|
|
|
+ <div class="card mb-4 ack-container">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Appointment Updates
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 table-bordered">
|
|
|
|
+ <tbody>
|
|
<tr>
|
|
<tr>
|
|
- <td>{{$update->name_first}} {{$update->name_last}}</td>
|
|
|
|
- <td>{{friendlier_date_time($update->start_time)}}</td>
|
|
|
|
- <td>{{$update->status}}</td>
|
|
|
|
- <td>
|
|
|
|
- <a href="#" class="ack-pro-appt-update" data-uid="{{$update->uid}}">Acknowledge</a>
|
|
|
|
- </td>
|
|
|
|
|
|
+ <th>Client</th>
|
|
|
|
+ <th>Appt. Date/Time</th>
|
|
|
|
+ <th>Status</th>
|
|
|
|
+ <th></th>
|
|
</tr>
|
|
</tr>
|
|
- @endforeach
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ @foreach($proApptUpdates as $update)
|
|
|
|
+ <tr>
|
|
|
|
+ <td>{{$update->name_first}} {{$update->name_last}}</td>
|
|
|
|
+ <td>{{friendlier_date_time($update->start_time)}}</td>
|
|
|
|
+ <td>{{$update->status}}</td>
|
|
|
|
+ <td>
|
|
|
|
+ <a href="#" class="ack-pro-appt-update"
|
|
|
|
+ data-uid="{{$update->uid}}">Acknowledge</a>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endforeach
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|
<!-- new associations -->
|
|
<!-- new associations -->
|
|
@@ -278,155 +291,617 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <ul class="nav nav-tabs">
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a native data-tab="appointments" class="nav-link"
|
|
|
|
- :class="tab == 'appointments' ? 'active' : ''" href="#"
|
|
|
|
- v-on:click.prevent="tab='appointments'; initLoadAppointments();">
|
|
|
|
- Appointments
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a native data-tab="measurements" class="nav-link"
|
|
|
|
- :class="tab == 'measurements' ? 'active' : ''" href="#"
|
|
|
|
- v-on:click.prevent="tab='measurements'; loadMeasurements();">
|
|
|
|
- Measurements
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a native data-tab="incoming_reports"
|
|
|
|
- class="nav-link {{count($incomingReports) ? 'text-danger font-weight-bold' : ''}}"
|
|
|
|
- :class="tab == 'incoming_reports' ? 'active' : ''" href="#"
|
|
|
|
- v-on:click.prevent="tab='incoming_reports'">
|
|
|
|
- Reports ({{count($incomingReports)}})
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a native data-tab="erx" class="nav-link {{$numERx ? 'text-danger font-weight-bold' : ''}}"
|
|
|
|
- :class="tab == 'erx' ? 'active' : ''" href="#"
|
|
|
|
- v-on:click.prevent="tab='erx'">
|
|
|
|
- ERx & Orders ({{$numERx}})
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a native data-tab="supply_orders"
|
|
|
|
- class="nav-link {{$numSupplyOrders ? 'text-danger font-weight-bold' : ''}}"
|
|
|
|
- :class="tab == 'supply_orders' ? 'active' : ''" href="#"
|
|
|
|
- v-on:click.prevent="tab='supply_orders'">
|
|
|
|
- Supply Orders ({{$numSupplyOrders}})
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- </ul>
|
|
|
|
-
|
|
|
|
- <div class="border-left border-right border-bottom p-3">
|
|
|
|
- <div v-show="tab==='appointments'" class="appointments-tab">
|
|
|
|
- <div v-show="selectedDate">
|
|
|
|
- <div class="d-flex align-items-end mb-3">
|
|
|
|
- <b class="large"><span class="text-secondary"></span>@{{ selectedDate }}</b>
|
|
|
|
- <div class="ml-auto d-inline-flex align-items-center">
|
|
|
|
- <label class="text-secondary mr-2 my-0 text-nowrap">Filter by status:</label>
|
|
|
|
- <select v-model="filterStatus"
|
|
|
|
- class="form-control form-control-sm">
|
|
|
|
- <option value="">All</option>
|
|
|
|
- <option value="CREATED">Created</option>
|
|
|
|
- <option value="CONFIRMED">Confirmed</option>
|
|
|
|
- <option value="CANCELLED">Cancelled</option>
|
|
|
|
- <option value="COMPLETED">Completed</option>
|
|
|
|
- <option value="ABANDONED">Abandoned</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="row mcp-theme-1" id="pro-dashboard-container" v-cloak>
|
|
|
|
+ <div class="col-md-6 mcp-theme-1">
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Appointments
|
|
|
|
+ </strong>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <table class="table table-sm table-bordered appointments">
|
|
|
|
- <tr v-for="event in events" class="">
|
|
|
|
- <td>
|
|
|
|
- <a :href="'/patients/view/' + event.clientUid" class="font-weight-bold">@{{
|
|
|
|
- event.clientName }}</a>
|
|
|
|
- <span class="small d-inline-block text-secondary font-weight-normal"> (@{{ event.clientAge }} y.o. @{{event.clientSex}})</span>
|
|
|
|
- </td>
|
|
|
|
- <td>
|
|
|
|
- @{{ event.friendlyStartTime }} - @{{ event.friendlyEndTime }} <span
|
|
|
|
- class="text-secondary">@{{ event.timezone }}</span>
|
|
|
|
- <span v-if="event.title" class="d-inline-block ml- 2 text-secondary font-weight-bold">
|
|
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm table-bordered appointments">
|
|
|
|
+ <tr v-for="event in events" class="">
|
|
|
|
+ <td>
|
|
|
|
+ <a :href="'/patients/view/' + event.clientUid" class="font-weight-bold">@{{
|
|
|
|
+ event.clientName }}</a>
|
|
|
|
+
|
|
|
|
+ {{-- <span class="small d-inline-block text-secondary font-weight-normal"> (@{{ event.clientAge }} y.o. @{{event.clientSex}})</span>--}}
|
|
|
|
+ @{{ event.friendlyStartTime }} - @{{ event.friendlyEndTime }} <span
|
|
|
|
+ class="text-secondary">@{{ event.timezone }}</span>
|
|
|
|
+ <span v-if="event.title"
|
|
|
|
+ class="d-inline-block ml- 2 text-secondary font-weight-bold">
|
|
/
|
|
/
|
|
@{{ event.title }}
|
|
@{{ event.title }}
|
|
</span>
|
|
</span>
|
|
- <a :href="'/patients/view/' + event.clientUid + '/calendar/' + event.uid">
|
|
|
|
- <i class="fa fa-edit"></i>
|
|
|
|
- Edit
|
|
|
|
- </a>
|
|
|
|
- </td>
|
|
|
|
- <td>
|
|
|
|
- <div class="d-flex align-items-baseline">
|
|
|
|
- <div v-if="event.status === 'CREATED'"
|
|
|
|
- class="text-warning-mellow font-weight-bold">
|
|
|
|
- <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
- Confirmation pending
|
|
|
|
|
|
+ <a :href="'/patients/view/' + event.clientUid + '/calendar/' + event.uid">
|
|
|
|
+ <i class="fa fa-edit"></i>
|
|
|
|
+ </a>
|
|
|
|
+ <div class="d-flex align-items-baseline">
|
|
|
|
+ <div v-if="event.status === 'CREATED'"
|
|
|
|
+ class="text-warning-mellow font-weight-bold">
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ Confirmation pending
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="event.status === 'CONFIRMED'"
|
|
|
|
+ class="text-success font-weight-bold">
|
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
|
+ Confirmed by the patient
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="event.status === 'REJECTED'"
|
|
|
|
+ class="text-danger font-weight-bold">
|
|
|
|
+ <i class="fa fa-stop"></i>
|
|
|
|
+ Rejected by the patient
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else class="text-secondary">
|
|
|
|
+ Status: <b>@{{ event.status }}</b>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div v-else-if="event.status === 'CONFIRMED'"
|
|
|
|
- class="text-success font-weight-bold">
|
|
|
|
- <i class="fa fa-check"></i>
|
|
|
|
- Confirmed by the patient
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div class=""
|
|
|
|
+ :class="event.coverage !== 'YES' ? (event.coverage === 'NO' ? 'text-danger' : 'text-warning-mellow') : 'text-success'">
|
|
|
|
+ Coverage Status: <b>@{{ event.coverage }}</b>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div v-else-if="event.status === 'REJECTED'"
|
|
|
|
- class="text-danger font-weight-bold">
|
|
|
|
- <i class="fa fa-stop"></i>
|
|
|
|
- Rejected by the patient
|
|
|
|
|
|
+ <div class="ml-auto">
|
|
|
|
+ <select v-model="event.newStatus"
|
|
|
|
+ class="form-control form-control-sm bg-light"
|
|
|
|
+ v-on:change="updateStatus(event)">
|
|
|
|
+ <option value="CREATED">CREATED</option>
|
|
|
|
+ <option value="CONFIRMED">CONFIRMED</option>
|
|
|
|
+ <option value="CANCELLED">CANCELLED</option>
|
|
|
|
+ <option value="COMPLETED">COMPLETED</option>
|
|
|
|
+ <option value="ABANDONED">ABANDONED</option>
|
|
|
|
+ </select>
|
|
|
|
+ <div v-if="selectedDate === '{{ date('Y-m-d') }}'"
|
|
|
|
+ class="pt-1 text-right"
|
|
|
|
+ :class="event.started ? 'text-danger': 'text-secondary'">
|
|
|
|
+ @{{ event.inHowManyHours }}
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div v-else class="text-secondary">
|
|
|
|
- Status: <b>@{{ event.status }}</b>
|
|
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Measurements
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
|
+ Awaiting
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
|
+ Billing</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ ERx & Orders
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
|
+ Awaiting
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
|
+ Billing</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Supply Orders
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
|
+ Awaiting
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
|
+ Billing</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="col-md-6 mcp-theme-1">
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Notifications
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
|
+ Awaiting
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
|
+ Billing</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Messages
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
|
+ Awaiting
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
|
+ Billing</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-header pl-2">
|
|
|
|
+ <strong>
|
|
|
|
+ Phone Calls & Memos
|
|
|
|
+ </strong>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card-body p-0">
|
|
|
|
+ <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
|
+ Awaiting
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
|
+ Billing</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
|
+ Signature</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
|
+ Appointments</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
|
+ <th class="pl-2">
|
|
|
|
+ <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
|
+ Visit</a>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div style="">
|
|
|
|
+ <ul class="nav nav-tabs">
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a native data-tab="appointments" class="nav-link"
|
|
|
|
+ :class="tab == 'appointments' ? 'active' : ''" href="#"
|
|
|
|
+ v-on:click.prevent="tab='appointments'; initLoadAppointments();">
|
|
|
|
+ Appointments
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a native data-tab="measurements" class="nav-link"
|
|
|
|
+ :class="tab == 'measurements' ? 'active' : ''" href="#"
|
|
|
|
+ v-on:click.prevent="tab='measurements'; loadMeasurements();">
|
|
|
|
+ Measurements
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a native data-tab="incoming_reports"
|
|
|
|
+ class="nav-link {{count($incomingReports) ? 'text-danger font-weight-bold' : ''}}"
|
|
|
|
+ :class="tab == 'incoming_reports' ? 'active' : ''" href="#"
|
|
|
|
+ v-on:click.prevent="tab='incoming_reports'">
|
|
|
|
+ Reports ({{count($incomingReports)}})
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a native data-tab="erx"
|
|
|
|
+ class="nav-link {{$numERx ? 'text-danger font-weight-bold' : ''}}"
|
|
|
|
+ :class="tab == 'erx' ? 'active' : ''" href="#"
|
|
|
|
+ v-on:click.prevent="tab='erx'">
|
|
|
|
+ ERx & Orders ({{$numERx}})
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a native data-tab="supply_orders"
|
|
|
|
+ class="nav-link {{$numSupplyOrders ? 'text-danger font-weight-bold' : ''}}"
|
|
|
|
+ :class="tab == 'supply_orders' ? 'active' : ''" href="#"
|
|
|
|
+ v-on:click.prevent="tab='supply_orders'">
|
|
|
|
+ Supply Orders ({{$numSupplyOrders}})
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ </ul>
|
|
|
|
+
|
|
|
|
+ <div class="border-left border-right border-bottom p-3">
|
|
|
|
+ <div v-show="tab==='appointments'" class="appointments-tab">
|
|
|
|
+ <div v-show="selectedDate">
|
|
|
|
+ <div class="d-flex align-items-end mb-3">
|
|
|
|
+ <b class="large"><span class="text-secondary"></span>@{{ selectedDate }}</b>
|
|
|
|
+ <div class="ml-auto d-inline-flex align-items-center">
|
|
|
|
+ <label class="text-secondary mr-2 my-0 text-nowrap">Filter by
|
|
|
|
+ status:</label>
|
|
|
|
+ <select v-model="filterStatus"
|
|
|
|
+ class="form-control form-control-sm">
|
|
|
|
+ <option value="">All</option>
|
|
|
|
+ <option value="CREATED">Created</option>
|
|
|
|
+ <option value="CONFIRMED">Confirmed</option>
|
|
|
|
+ <option value="CANCELLED">Cancelled</option>
|
|
|
|
+ <option value="COMPLETED">Completed</option>
|
|
|
|
+ <option value="ABANDONED">Abandoned</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <table class="table table-sm table-bordered appointments">
|
|
|
|
+ <tr v-for="event in events" class="">
|
|
|
|
+ <td>
|
|
|
|
+ <a :href="'/patients/view/' + event.clientUid" class="font-weight-bold">@{{
|
|
|
|
+ event.clientName }}</a>
|
|
|
|
+ <span class="small d-inline-block text-secondary font-weight-normal"> (@{{ event.clientAge }} y.o. @{{event.clientSex}})</span>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ @{{ event.friendlyStartTime }} - @{{ event.friendlyEndTime }} <span
|
|
|
|
+ class="text-secondary">@{{ event.timezone }}</span>
|
|
|
|
+ <span v-if="event.title"
|
|
|
|
+ class="d-inline-block ml- 2 text-secondary font-weight-bold">
|
|
|
|
+ /
|
|
|
|
+ @{{ event.title }}
|
|
|
|
+ </span>
|
|
|
|
+ <a :href="'/patients/view/' + event.clientUid + '/calendar/' + event.uid">
|
|
|
|
+ <i class="fa fa-edit"></i>
|
|
|
|
+ Edit
|
|
|
|
+ </a>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <div class="d-flex align-items-baseline">
|
|
|
|
+ <div v-if="event.status === 'CREATED'"
|
|
|
|
+ class="text-warning-mellow font-weight-bold">
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ Confirmation pending
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="event.status === 'CONFIRMED'"
|
|
|
|
+ class="text-success font-weight-bold">
|
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
|
+ Confirmed by the patient
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else-if="event.status === 'REJECTED'"
|
|
|
|
+ class="text-danger font-weight-bold">
|
|
|
|
+ <i class="fa fa-stop"></i>
|
|
|
|
+ Rejected by the patient
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else class="text-secondary">
|
|
|
|
+ Status: <b>@{{ event.status }}</b>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </td>
|
|
|
|
- <td>
|
|
|
|
- <div>
|
|
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <div>
|
|
|
|
|
|
- <div class="mt-1"
|
|
|
|
- :class="event.coverage !== 'YES' ? (event.coverage === 'NO' ? 'text-danger' : 'text-warning-mellow') : 'text-success'">
|
|
|
|
- Coverage Status: <b>@{{ event.coverage }}</b>
|
|
|
|
|
|
+ <div class="mt-1"
|
|
|
|
+ :class="event.coverage !== 'YES' ? (event.coverage === 'NO' ? 'text-danger' : 'text-warning-mellow') : 'text-success'">
|
|
|
|
+ Coverage Status: <b>@{{ event.coverage }}</b>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </td>
|
|
|
|
- <td>
|
|
|
|
- <div class="ml-auto">
|
|
|
|
- <select v-model="event.newStatus"
|
|
|
|
- class="form-control form-control-sm bg-light"
|
|
|
|
- v-on:change="updateStatus(event)">
|
|
|
|
- <option value="CREATED">CREATED</option>
|
|
|
|
- <option value="CONFIRMED">CONFIRMED</option>
|
|
|
|
- <option value="CANCELLED">CANCELLED</option>
|
|
|
|
- <option value="COMPLETED">COMPLETED</option>
|
|
|
|
- <option value="ABANDONED">ABANDONED</option>
|
|
|
|
- </select>
|
|
|
|
- <div v-if="selectedDate === '{{ date('Y-m-d') }}'"
|
|
|
|
- class="pt-1 text-right"
|
|
|
|
- :class="event.started ? 'text-danger': 'text-secondary'">
|
|
|
|
- @{{ event.inHowManyHours }}
|
|
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <div class="ml-auto">
|
|
|
|
+ <select v-model="event.newStatus"
|
|
|
|
+ class="form-control form-control-sm bg-light"
|
|
|
|
+ v-on:change="updateStatus(event)">
|
|
|
|
+ <option value="CREATED">CREATED</option>
|
|
|
|
+ <option value="CONFIRMED">CONFIRMED</option>
|
|
|
|
+ <option value="CANCELLED">CANCELLED</option>
|
|
|
|
+ <option value="COMPLETED">COMPLETED</option>
|
|
|
|
+ <option value="ABANDONED">ABANDONED</option>
|
|
|
|
+ </select>
|
|
|
|
+ <div v-if="selectedDate === '{{ date('Y-m-d') }}'"
|
|
|
|
+ class="pt-1 text-right"
|
|
|
|
+ :class="event.started ? 'text-danger': 'text-secondary'">
|
|
|
|
+ @{{ event.inHowManyHours }}
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
|
|
- <div v-if="numEventsForDate === 0" class="bg-light p-3 text-secondary border bounded">
|
|
|
|
|
|
+ <div v-if="numEventsForDate === 0"
|
|
|
|
+ class="bg-light p-3 text-secondary border bounded">
|
|
<span
|
|
<span
|
|
v-if="filterStatus === ''">You have no appointments on <b>@{{ selectedDate }}</b></span>
|
|
v-if="filterStatus === ''">You have no appointments on <b>@{{ selectedDate }}</b></span>
|
|
- <span
|
|
|
|
- v-if="filterStatus !== ''">You have no appointments on <b>@{{ selectedDate }}</b> with status <b>@{{ filterStatus }}</b></span>
|
|
|
|
|
|
+ <span
|
|
|
|
+ v-if="filterStatus !== ''">You have no appointments on <b>@{{ selectedDate }}</b> with status <b>@{{ filterStatus }}</b></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-show="!selectedDate" class="bg-light p-3 text-secondary border bounded">
|
|
|
|
+ Please select a date from the calendar on the left
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div v-show="!selectedDate" class="bg-light p-3 text-secondary border bounded">
|
|
|
|
- Please select a date from the calendar on the left
|
|
|
|
|
|
+ <div v-show="tab==='measurements'">
|
|
|
|
+ <div id="measurements-tab">Loading...</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-show="tab==='incoming_reports'">
|
|
|
|
+ @include('app.dashboard.incoming_reports')
|
|
|
|
+ </div>
|
|
|
|
+ <div v-show="tab==='erx'">
|
|
|
|
+ @include('app.dashboard.erx')
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div v-show="tab==='measurements'">
|
|
|
|
- <div id="measurements-tab">Loading...</div>
|
|
|
|
- </div>
|
|
|
|
- <div v-show="tab==='incoming_reports'">
|
|
|
|
- @include('app.dashboard.incoming_reports')
|
|
|
|
- </div>
|
|
|
|
- <div v-show="tab==='erx'">
|
|
|
|
- @include('app.dashboard.erx')
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|