|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
<div class="d-flex align-items-start m-neg-4" id="sleepStudyContainer">
|
|
<div class="d-flex align-items-start m-neg-4" id="sleepStudyContainer">
|
|
<div class="ss-leftnav border-right h-100 mh-100 overflow-overlay-on-hover">
|
|
<div class="ss-leftnav border-right h-100 mh-100 overflow-overlay-on-hover">
|
|
- <a href="#" data-target-key="sleep-apnea-background" class="d-block py-1 border-bottom text-nowrap bg-aliceblue font-weight-bold">Sleep Apnea Background</a>
|
|
|
|
|
|
+ <a href="#" data-target-key="sleep-apnea-background" class="d-block py-1 border-bottom text-nowrap bg-aliceblue font-weight-bold ss-active">Sleep Apnea Background</a>
|
|
<a href="#" data-target-key="signs-and-symptoms" class="d-block py-1 border-bottom text-nowrap">Signs & Symptoms</a>
|
|
<a href="#" data-target-key="signs-and-symptoms" class="d-block py-1 border-bottom text-nowrap">Signs & Symptoms</a>
|
|
<a href="#" data-target-key="patient-interest" class="d-block py-1 border-bottom text-nowrap">Patient Interest</a>
|
|
<a href="#" data-target-key="patient-interest" class="d-block py-1 border-bottom text-nowrap">Patient Interest</a>
|
|
<a href="#" data-target-key="insurance-coverage" class="d-block py-1 border-bottom text-nowrap">Insurance Coverage</a>
|
|
<a href="#" data-target-key="insurance-coverage" class="d-block py-1 border-bottom text-nowrap">Insurance Coverage</a>
|
|
@@ -35,99 +35,99 @@
|
|
<a href="#" data-target-key="results-comm-to-doctors" class="d-block py-1 border-bottom text-nowrap">Results Comm. To Doctors</a>
|
|
<a href="#" data-target-key="results-comm-to-doctors" class="d-block py-1 border-bottom text-nowrap">Results Comm. To Doctors</a>
|
|
</div>
|
|
</div>
|
|
<div class="ss-content flex-grow-1 h-100 mh-100 overflow-overlay-on-hover">
|
|
<div class="ss-content flex-grow-1 h-100 mh-100 overflow-overlay-on-hover">
|
|
- <div data-key="sleep-apnea-background">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="sleep-apnea-background">
|
|
@include('app.patient.sleep-study.sleep-apnea-background')
|
|
@include('app.patient.sleep-study.sleep-apnea-background')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="signs-and-symptoms">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="signs-and-symptoms">
|
|
@include('app.patient.sleep-study.signs-and-symptoms')
|
|
@include('app.patient.sleep-study.signs-and-symptoms')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="patient-interest">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="patient-interest">
|
|
@include('app.patient.sleep-study.patient-interest')
|
|
@include('app.patient.sleep-study.patient-interest')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="insurance-coverage">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="insurance-coverage">
|
|
@include('app.patient.sleep-study.insurance-coverage')
|
|
@include('app.patient.sleep-study.insurance-coverage')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="sleep-study-address">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="sleep-study-address">
|
|
@include('app.patient.sleep-study.sleep-study-address')
|
|
@include('app.patient.sleep-study.sleep-study-address')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="manager">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="manager">
|
|
@include('app.patient.sleep-study.manager')
|
|
@include('app.patient.sleep-study.manager')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="medical-necessity">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="medical-necessity">
|
|
@include('app.patient.sleep-study.medical-necessity')
|
|
@include('app.patient.sleep-study.medical-necessity')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="study-instructions">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="study-instructions">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Instructions</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Instructions</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="study-order">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="study-order">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Order</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Order</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="study-authorization">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="study-authorization">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Authorization</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Authorization</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="device-allocation">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="device-allocation">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Device Allocation</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Device Allocation</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="shipment-to-manager">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="shipment-to-manager">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Shipment To Manager</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Shipment To Manager</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="receipt-by-manager">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="receipt-by-manager">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Receipt By Manager</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Receipt By Manager</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="shipment-to-client">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="shipment-to-client">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Shipment To Client</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Shipment To Client</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="receipt-by-client">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="receipt-by-client">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Receipt By Client</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Receipt By Client</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="app-installation">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="app-installation">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">App Installation</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">App Installation</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="patient-ready">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="patient-ready">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Patient Ready</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Patient Ready</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="study-data-status">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="study-data-status">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Data Status</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Study Data Status</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="manager-bill">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="manager-bill">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Manager Bill</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Manager Bill</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="sleep-specialist">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="sleep-specialist">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Sleep Specialist</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Sleep Specialist</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="watchpat-results">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="watchpat-results">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">WatchPat Results</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">WatchPat Results</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="sleep-specialist-bill">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="sleep-specialist-bill">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Sleep Specialist Bill</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Sleep Specialist Bill</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="results-comm-to-patient">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="results-comm-to-patient">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Results Comm. To Patient</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Results Comm. To Patient</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div data-key="results-comm-to-doctors">
|
|
|
|
|
|
+ <div class="border-bottom pb-2" data-key="results-comm-to-doctors">
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Results Comm. To Doctors</h4>
|
|
<h4 class="p-2 bg-light font-weight-bold d-block py-1 border-bottom text-nowrap">Results Comm. To Doctors</h4>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -151,14 +151,28 @@
|
|
inline: "start",
|
|
inline: "start",
|
|
block: "start"
|
|
block: "start"
|
|
});*/
|
|
});*/
|
|
|
|
+ let step = $('div[data-key="' + $(this).attr('data-target-key') + '"]');
|
|
$('.ss-content').scrollTop(0);
|
|
$('.ss-content').scrollTop(0);
|
|
$('.ss-content').scrollTop(
|
|
$('.ss-content').scrollTop(
|
|
- $('div[data-key="' + $(this).attr('data-target-key') + '"]').offset().top -
|
|
|
|
|
|
+ step.offset().top -
|
|
$('.ss-content').offset().top
|
|
$('.ss-content').offset().top
|
|
);
|
|
);
|
|
- $(this).addClass('bg-aliceblue font-weight-bold').siblings().removeClass('bg-aliceblue font-weight-bold');
|
|
|
|
|
|
+ $(this).addClass('bg-aliceblue font-weight-bold ss-active').siblings().removeClass('bg-aliceblue font-weight-bold ss-active');
|
|
|
|
+ step.addClass('spot-highlight');
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ step.removeClass('spot-highlight');
|
|
|
|
+ }, 1500);
|
|
return false;
|
|
return false;
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+ $(document)
|
|
|
|
+ .off('mouseenter.ss-content', '.ss-content>[data-key]')
|
|
|
|
+ .on('mouseenter.ss-content', '.ss-content>[data-key]', function() {
|
|
|
|
+ let a = $('.ss-leftnav>a[data-target-key="' + $(this).attr('data-key') + '"]');
|
|
|
|
+ if(a.length) {
|
|
|
|
+ a.addClass('bg-aliceblue font-weight-bold ss-active').siblings().removeClass('bg-aliceblue font-weight-bold ss-active');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}
|
|
}
|
|
function adjustContainerHeight() {
|
|
function adjustContainerHeight() {
|
|
let container = $('#sleepStudyContainer'),
|
|
let container = $('#sleepStudyContainer'),
|
|
@@ -170,6 +184,22 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ addMCHook('refreshSleepStudyStep', function() {
|
|
|
|
+ let step = $('a.ss-active').attr('data-target-key');
|
|
|
|
+ if(step) {
|
|
|
|
+ $.get('{{route('patients.view.sleep-study-step', $patient)}}?step=' + step, _data => {
|
|
|
|
+ let stepElem = $('div[data-key="' + step + '"]');
|
|
|
|
+ stepElem.html(_data);
|
|
|
|
+ stepElem.addClass('spot-highlight');
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ stepElem.removeClass('spot-highlight');
|
|
|
|
+ }, 1500);
|
|
|
|
+ initMoes();
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ return false;
|
|
|
|
+ });
|
|
|
|
+
|
|
addMCInitializer('sleepStudy', init, '#sleepStudyContainer');
|
|
addMCInitializer('sleepStudy', init, '#sleepStudyContainer');
|
|
}).call(window);
|
|
}).call(window);
|
|
</script>
|
|
</script>
|