Parcourir la source

Sleep study - shipped/received to/by/ manager/patient

Vijayakrishnan il y a 2 ans
Parent
commit
06055aa2b0

+ 6 - 6
resources/views/app/patient/sleep-study.blade.php

@@ -22,8 +22,8 @@
                 <a href="#" data-target-key="device-allocation" class="d-block py-1 border-bottom text-nowrap">Device Allocation</a>
                 <a href="#" data-target-key="shipment-to-manager" class="d-block py-1 border-bottom text-nowrap">Shipment To Manager</a>
                 <a href="#" data-target-key="receipt-by-manager" class="d-block py-1 border-bottom text-nowrap">Receipt By Manager</a>
-                <a href="#" data-target-key="shipment-to-client" class="d-block py-1 border-bottom text-nowrap">Shipment To Client</a>
-                <a href="#" data-target-key="receipt-by-client" class="d-block py-1 border-bottom text-nowrap">Receipt By Client</a>
+                <a href="#" data-target-key="shipment-to-client" class="d-block py-1 border-bottom text-nowrap">Shipment To Patient</a>
+                <a href="#" data-target-key="receipt-by-client" class="d-block py-1 border-bottom text-nowrap">Receipt By Patient</a>
                 <a href="#" data-target-key="app-installation" class="d-block py-1 border-bottom text-nowrap">App Installation</a>
                 <a href="#" data-target-key="patient-ready" class="d-block py-1 border-bottom text-nowrap">Patient Ready</a>
                 <a href="#" data-target-key="study-data-status" class="d-block py-1 border-bottom text-nowrap">Study Data Status</a>
@@ -80,19 +80,19 @@
                 </div>
 
                 <div class="border-bottom pb-4" 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>
+                    @include('app.patient.sleep-study.shipment-to-manager')
                 </div>
 
                 <div class="border-bottom pb-4" 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>
+                    @include('app.patient.sleep-study.receipt-by-manager')
                 </div>
 
                 <div class="border-bottom pb-4" 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>
+                    @include('app.patient.sleep-study.shipment-to-client')
                 </div>
 
                 <div class="border-bottom pb-4" 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>
+                    @include('app.patient.sleep-study.receipt-by-client')
                 </div>
 
                 <div class="border-bottom pb-4" data-key="app-installation">

+ 46 - 0
resources/views/app/patient/sleep-study/receipt-by-client.blade.php

@@ -0,0 +1,46 @@
+<div class="d-flex px-3 py-2 bg-light align-items-baseline border-bottom">
+    <h4 class="font-weight-bold text-nowrap m-0">Receipt By Patient</h4>
+    <div moe class="ml-3">
+        <a start show href="#"><i class="fa fa-edit"></i> Edit</a>
+        <form url="/api/client/updateWatchPatReceivedByPatient" hook="refreshSleepStudyStep">
+            <input type="hidden" name="uid" value="{{$patient->uid}}">
+            <div class="font-weight-bold font-size-14 text-secondary border-bottom pb-2 mb-2 text-nowrap">Receipt By Patient</div>
+
+            <div class="mb-2">
+                <div class="mb-1">Is WatchPat Received By Patient:</div>
+                <select name="isWatchPatReceivedByPatient" class="form-control form-control-sm">
+                    <option value="">-- select --</option>
+                    <option value="1" {{$patient->is_watch_pat_received_by_patient == '1' ? 'selected' : ''}}>Yes</option>
+                    <option value="0" {{$patient->is_watch_pat_received_by_patient == '0' ? 'selected' : ''}}>No</option>
+                </select>
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Memo:</div>
+                <input type="text" value="{{$patient->watch_pat_received_by_patient_memo}}" name="watchPatReceivedByPatientMemo" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Effective As Of:</div>
+                <input type="date" value="{{$patient->watch_pat_received_by_patient_effective_as_of}}" name="watchPatReceivedByPatientEffectiveAsOf" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mt-2 border-top pt-2 text-center">
+                <button class="btn btn-primary btn-sm" submit>Submit</button>
+                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+            </div>
+        </form>
+    </div>
+</div>
+
+<div class="px-3 pt-2 pb-1">
+    Is WatchPat Received By Patient: <b>{{+$patient->is_watch_pat_received_by_patient ? 'Yes' : 'No'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Memo: <b>{{$patient->watch_pat_received_by_patient_memo ?: '-'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Effective As Of: <b>{{$patient->watch_pat_received_by_patient_effective_as_of ?: '-'}}</b>
+</div>

+ 46 - 0
resources/views/app/patient/sleep-study/receipt-by-manager.blade.php

@@ -0,0 +1,46 @@
+<div class="d-flex px-3 py-2 bg-light align-items-baseline border-bottom">
+    <h4 class="font-weight-bold text-nowrap m-0">Receipt By Manager</h4>
+    <div moe class="ml-3">
+        <a start show href="#"><i class="fa fa-edit"></i> Edit</a>
+        <form url="/api/client/updateWatchPatReceivedByManager" hook="refreshSleepStudyStep">
+            <input type="hidden" name="uid" value="{{$patient->uid}}">
+            <div class="font-weight-bold font-size-14 text-secondary border-bottom pb-2 mb-2 text-nowrap">Receipt By Manager</div>
+
+            <div class="mb-2">
+                <div class="mb-1">Is WatchPat Received By Manager:</div>
+                <select name="isWatchPatReceivedByManager" class="form-control form-control-sm">
+                    <option value="">-- select --</option>
+                    <option value="1" {{$patient->is_watch_pat_received_by_manager == '1' ? 'selected' : ''}}>Yes</option>
+                    <option value="0" {{$patient->is_watch_pat_received_by_manager == '0' ? 'selected' : ''}}>No</option>
+                </select>
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Memo:</div>
+                <input type="text" value="{{$patient->watch_pat_received_by_manager_memo}}" name="watchPatReceivedByManagerMemo" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Effective As Of:</div>
+                <input type="date" value="{{$patient->watch_pat_received_by_manager_effective_as_of}}" name="watchPatReceivedByManagerEffectiveAsOf" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mt-2 border-top pt-2 text-center">
+                <button class="btn btn-primary btn-sm" submit>Submit</button>
+                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+            </div>
+        </form>
+    </div>
+</div>
+
+<div class="px-3 pt-2 pb-1">
+    Is WatchPat Received By Manager: <b>{{+$patient->is_watch_pat_received_by_manager ? 'Yes' : 'No'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Memo: <b>{{$patient->watch_pat_received_by_manager_memo ?: '-'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Effective As Of: <b>{{$patient->watch_pat_received_by_manager_effective_as_of ?: '-'}}</b>
+</div>

+ 55 - 0
resources/views/app/patient/sleep-study/shipment-to-client.blade.php

@@ -0,0 +1,55 @@
+<div class="d-flex px-3 py-2 bg-light align-items-baseline border-bottom">
+    <h4 class="font-weight-bold text-nowrap m-0">Shipment To Patient</h4>
+    <div moe class="ml-3">
+        <a start show href="#"><i class="fa fa-edit"></i> Edit</a>
+        <form url="/api/client/updateWatchPatShipmentToPatient" hook="refreshSleepStudyStep">
+            <input type="hidden" name="uid" value="{{$patient->uid}}">
+            <div class="font-weight-bold font-size-14 text-secondary border-bottom pb-2 mb-2 text-nowrap">Shipment To Patient</div>
+
+            <div class="mb-2">
+                <div class="mb-1">Is WatchPat Shipped To Patient:</div>
+                <select name="isWatchPatShippedToPatient" class="form-control form-control-sm">
+                    <option value="">-- select --</option>
+                    <option value="1" {{$patient->is_watch_pat_shipped_to_patient == '1' ? 'selected' : ''}}>Yes</option>
+                    <option value="0" {{$patient->is_watch_pat_shipped_to_patient == '0' ? 'selected' : ''}}>No</option>
+                </select>
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">FedEx #:</div>
+                <input type="text" value="{{$patient->watch_pat_shipment_to_patient_fed_ex_number}}" name="watchPatShipmentToPatientFedExNumber" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Memo:</div>
+                <input type="text" value="{{$patient->watch_pat_shipment_to_patient_memo}}" name="watchPatShipmentToPatientMemo" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Effective As Of:</div>
+                <input type="date" value="{{$patient->watch_pat_shipment_to_patient_effective_as_of}}" name="watchPatShipmentToPatientEffectiveAsOf" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mt-2 border-top pt-2 text-center">
+                <button class="btn btn-primary btn-sm" submit>Submit</button>
+                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+            </div>
+        </form>
+    </div>
+</div>
+
+<div class="px-3 pt-2 pb-1">
+    Is WatchPat Shipped To Patient: <b>{{+$patient->is_watch_pat_shipped_to_patient ? 'Yes' : 'No'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    FedEx #: <b>{{$patient->watch_pat_shipment_to_patient_fed_ex_number ?: '-'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Memo: <b>{{$patient->watch_pat_shipment_to_patient_memo ?: '-'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Effective As Of: <b>{{$patient->watch_pat_shipment_to_patient_effective_as_of ?: '-'}}</b>
+</div>

+ 55 - 0
resources/views/app/patient/sleep-study/shipment-to-manager.blade.php

@@ -0,0 +1,55 @@
+<div class="d-flex px-3 py-2 bg-light align-items-baseline border-bottom">
+    <h4 class="font-weight-bold text-nowrap m-0">Shipment To Manager</h4>
+    <div moe class="ml-3">
+        <a start show href="#"><i class="fa fa-edit"></i> Edit</a>
+        <form url="/api/client/updateWatchPatShipmentToManager" hook="refreshSleepStudyStep">
+            <input type="hidden" name="uid" value="{{$patient->uid}}">
+            <div class="font-weight-bold font-size-14 text-secondary border-bottom pb-2 mb-2 text-nowrap">Shipment To Manager</div>
+
+            <div class="mb-2">
+                <div class="mb-1">Is WatchPat Shipped To Manager:</div>
+                <select name="isWatchPatShippedToManager" class="form-control form-control-sm">
+                    <option value="">-- select --</option>
+                    <option value="1" {{$patient->is_watch_pat_shipped_to_manager == '1' ? 'selected' : ''}}>Yes</option>
+                    <option value="0" {{$patient->is_watch_pat_shipped_to_manager == '0' ? 'selected' : ''}}>No</option>
+                </select>
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">FedEx #:</div>
+                <input type="text" value="{{$patient->watch_pat_shipment_to_manager_fed_ex_number}}" name="watchPatShipmentToManagerFedExNumber" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Memo:</div>
+                <input type="text" value="{{$patient->watch_pat_shipment_to_manager_memo}}" name="watchPatShipmentToManagerMemo" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mb-2">
+                <div class="mb-1">Effective As Of:</div>
+                <input type="date" value="{{$patient->watch_pat_shipment_to_manager_effective_as_of}}" name="watchPatShipmentToManagerEffectiveAsOf" class="form-control form-control-sm d-inline-block flex-grow-1">
+            </div>
+
+            <div class="mt-2 border-top pt-2 text-center">
+                <button class="btn btn-primary btn-sm" submit>Submit</button>
+                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+            </div>
+        </form>
+    </div>
+</div>
+
+<div class="px-3 pt-2 pb-1">
+    Is WatchPat Shipped To Manager: <b>{{+$patient->is_watch_pat_shipped_to_manager ? 'Yes' : 'No'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    FedEx #: <b>{{$patient->watch_pat_shipment_to_manager_fed_ex_number ?: '-'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Memo: <b>{{$patient->watch_pat_shipment_to_manager_memo ?: '-'}}</b>
+</div>
+
+<div class="px-3 py-1">
+    Effective As Of: <b>{{$patient->watch_pat_shipment_to_manager_effective_as_of ?: '-'}}</b>
+</div>