Browse Source

RPM work matrix (wip)

Vijayakrishnan 3 years ago
parent
commit
f8fb1b83a2
1 changed files with 20 additions and 0 deletions
  1. 20 0
      resources/views/app/practice-management/remote-monitoring.blade.php

+ 20 - 0
resources/views/app/practice-management/remote-monitoring.blade.php

@@ -180,6 +180,26 @@
                                         <div class="d-flex align-items-baseline">
                                             <i class="mr-1 text-sm fa {{$iPatient->number_of_days_with_remote_measurements >= 16 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger'}}"></i>
                                             <span>{{$iPatient->number_of_days_with_remote_measurements ?: 0}}</span>
+                                            @if($iPatient->number_of_days_with_remote_measurements < 16)
+                                                <div moe relative class="ml-2">
+                                                    <a href="#" start show class="text-sm">SMS</a>
+                                                    <form url="/api/clientSms/createOutgoing" right="" class="mcp-theme-1" noreload="" style="display: none;">
+                                                        <input type="hidden" name="uid" value="{{ $iPatient->client_uid }}">
+                                                        <div class="mb-2">
+                                                            <label for="" class="text-sm text-secondary mb-1">Cell Number</label>
+                                                            <input type="text" class="form-control form-control-sm" name="cellNumber" value="{{$oPatient->cell_number}}">
+                                                        </div>
+                                                        <div class="mb-2">
+                                                            <label for="" class="text-sm text-secondary mb-1">Message</label>
+                                                            <textarea rows="5" class="form-control form-control-sm" name="message">Please use your weight-scale and BP meter more often to stay safe during this pandemic! Leadership Health.</textarea>
+                                                        </div>
+                                                        <div class="d-flex align-items-center">
+                                                            <button class="btn btn-sm btn-primary mr-2" submit="">Send</button>
+                                                            <button class="btn btn-sm btn-default mr-2 border" cancel="">Cancel</button>
+                                                        </div>
+                                                    </form>
+                                                </div>
+                                            @endif
                                         </div>
                                         @if($iPatient->number_of_days_with_remote_measurements < 16)
                                             <div class="text-sm font-italic text-secondary">Meas. days < 16</div>