|
@@ -9,20 +9,27 @@
|
|
<a start show href="#">Add</a>
|
|
<a start show href="#">Add</a>
|
|
<form url="/api/supplyOrder/createAndSignAsPro" redir="/patients/view/{{ $patient->uid }}/supply-orders/[data]?{{request()->input('popupmode') ? 'popupmode=1' : ''}}¬e-uid={{request()->input('note-uid')}}">
|
|
<form url="/api/supplyOrder/createAndSignAsPro" redir="/patients/view/{{ $patient->uid }}/supply-orders/[data]?{{request()->input('popupmode') ? 'popupmode=1' : ''}}¬e-uid={{request()->input('note-uid')}}">
|
|
|
|
|
|
- @if(!$patient->has_cm_setup_been_performed)
|
|
|
|
- <p class="font-weight-bold alert alert-warning border-warning mb-2">You need to complete the patient's comprehensive care plan before ordering cellular devices.</p>
|
|
|
|
- @endif
|
|
|
|
|
|
+ <?php
|
|
|
|
+ $showWarnings = true;
|
|
|
|
+ if($patient->mcp && $patient->mcp->rmCompany) $showWarnings = false;
|
|
|
|
+ ?>
|
|
|
|
|
|
- @if(!$patient->is_bp_and_pulse_updated)
|
|
|
|
- <p class="font-weight-bold alert alert-warning border-warning mb-2">
|
|
|
|
- You need to complete the patient's BP settings before ordering cellular BP device.
|
|
|
|
- </p>
|
|
|
|
- @endif
|
|
|
|
|
|
+ @if($showWarnings)
|
|
|
|
+ @if(!$patient->has_cm_setup_been_performed)
|
|
|
|
+ <p class="font-weight-bold alert alert-warning border-warning mb-2">You need to complete the patient's comprehensive care plan before ordering cellular devices.</p>
|
|
|
|
+ @endif
|
|
|
|
|
|
- @if(!$patient->is_weight_and_bmi_settings_updated)
|
|
|
|
- <p class="font-weight-bold alert alert-warning border-warning mb-2">
|
|
|
|
- You need to complete the patient's Weight/BMI settings before ordering cellular weight scale.
|
|
|
|
- </p>
|
|
|
|
|
|
+ @if(!$patient->is_bp_and_pulse_updated)
|
|
|
|
+ <p class="font-weight-bold alert alert-warning border-warning mb-2">
|
|
|
|
+ You need to complete the patient's BP settings before ordering cellular BP device.
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
|
|
+ @if(!$patient->is_weight_and_bmi_settings_updated)
|
|
|
|
+ <p class="font-weight-bold alert alert-warning border-warning mb-2">
|
|
|
|
+ You need to complete the patient's Weight/BMI settings before ordering cellular weight scale.
|
|
|
|
+ </p>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
|
|
|
|
<input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
<input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|