|
@@ -1,4 +1,4 @@
|
|
-<div moe extra-wide center id="bp-management-settings">
|
|
|
|
|
|
+<div moe wide center id="bp-management-settings">
|
|
<a href="#" start show>Update</a>
|
|
<a href="#" start show>Update</a>
|
|
<form url="/api/client/updateBpManagementSettingsValue">
|
|
<form url="/api/client/updateBpManagementSettingsValue">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
@@ -6,169 +6,23 @@
|
|
|
|
|
|
<div id="bpManagementComponent" class="row mx-0" v-cloak>
|
|
<div id="bpManagementComponent" class="row mx-0" v-cloak>
|
|
<div class="col-6 border-right">
|
|
<div class="col-6 border-right">
|
|
- <div class="text-secondary font-weight-bold mb-3">Blood Pressure & Pulse:</div>
|
|
|
|
- <div class="pl-3">
|
|
|
|
- <h6 class="text-secondary mb-3"><b>Usual:</b></h6>
|
|
|
|
- <div class="d-flex pl-3">
|
|
|
|
- <div class="d-flex flex-column">
|
|
|
|
- <div v-if="form.doesUsualBpHaveAmPmVariation" class="text-secondary font-weight-bold mb-2">
|
|
|
|
- <i class="fa fa-sun mr-2"></i>AM
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 v-if="form.doesUsualBpHaveRange" class="mb-0 mr-3">LOWEST:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualAmRestingSbpMin" value="{{ $patient->usual_am_resting_sbp_min }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="usualAmRestingDbpMin" value="{{ $patient->usual_am_resting_dbp_min }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualAmRestingPulseMin" value="{{ $patient->usual_am_resting_pulse_min }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div v-if="form.doesUsualBpHaveRange" class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">HIGHEST:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualAmRestingSbpMax" value="{{ $patient->usual_am_resting_sbp_max }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="usualAmRestingDbpMax" value="{{ $patient->usual_am_resting_dbp_max }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualAmRestingPulseMax" value="{{ $patient->usual_am_resting_pulse_max }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div v-if="form.doesUsualBpHaveAmPmVariation">
|
|
|
|
- <!-- Moon -->
|
|
|
|
- <div class="text-secondary font-weight-bold mb-2">
|
|
|
|
- <i class="fa fa-moon mr-2"></i>PM
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 v-if="form.doesUsualBpHaveRange" class="mb-0 mr-3">LOWEST:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualPmRestingSbpMin" value="{{ $patient->usual_pm_resting_sbp_min }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="usualPmRestingDbpMin" value="{{ $patient->usual_pm_resting_dbp_min }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualPmRestingPulseMin" value="{{ $patient->usual_pm_resting_pulse_min }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
- <div v-if="form.doesUsualBpHaveRange" class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">HIGHEST:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualPmRestingSbpMax" value="{{ $patient->usual_pm_resting_sbp_max }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="usualPmRestingDbpMax" value="{{ $patient->usual_pm_resting_dbp_max }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualPmRestingPulseMax" value="{{ $patient->usual_pm_resting_pulse_max }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="d-flex align-items-start">
|
|
|
|
- <div class="form-check mr-2">
|
|
|
|
- <input type="checkbox" class="form-check-input" id="amPmVariation" name="doesUsualBpHaveAmPmVariation" v-model="form.doesUsualBpHaveAmPmVariation">
|
|
|
|
- <label class="form-check-label" for="amPmVariation">AM/PM Variation</label>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-check">
|
|
|
|
- <input type="checkbox" class="form-check-input" id="bpRange" name="doesUsualBpHaveRange" v-model="form.doesUsualBpHaveRange">
|
|
|
|
- <label class="form-check-label" for="bpRange">Range</label>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <hr class="my-3">
|
|
|
|
- <div class="text-secondary font-weight-bold mb-3">Ideal BP:</div>
|
|
|
|
- <div class="pl-3 mb-3">
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">Target:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="idealAmRestingSbpMin" value="{{ $patient->ideal_am_resting_sbp_min }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="idealAmRestingDbpMin" value="{{ $patient->ideal_am_resting_dbp_min }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="idealAmRestingPulse" value="{{ $patient->ideal_am_resting_pulse }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <hr class="my-3">
|
|
|
|
- <div class="text-secondary font-weight-bold mb-3">Alerts</div>
|
|
|
|
- <div class="pl-3 mb-3">
|
|
|
|
- <div class="text-secondary font-weight-bold mb-2"><i class="fa fa-circle text-danger mr-2"></i>Red</div>
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">Above:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="redAlertWhenSbpAbove" value="{{ $patient->red_alert_when_sbp_above }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="redAlertWhenDbpAbove" value="{{ $patient->red_alert_when_dbp_above }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="redAlertWhenPulseAbove" value="{{ $patient->red_alert_when_pulse_above }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">Below:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="redAlertWhenSbpBelow" value="{{ $patient->red_alert_when_sbp_below }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="redAlertWhenDbpBelow" value="{{ $patient->red_alert_when_dbp_below }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="redAlertWhenPulseBelow" value="{{ $patient->red_alert_when_pulse_below }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="pl-3 mb-3">
|
|
|
|
- <div class="text-secondary font-weight-bold mb-2"><i class="fa fa-circle text-warning-mellow mr-2"></i>Yellow</div>
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">Above:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenSbpAbove" value="{{ $patient->yellow_alert_when_sbp_above }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="yellowAlertWhenDbpAbove" value="{{ $patient->yellow_alert_when_dbp_above }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenPulseAbove" value="{{ $patient->yellow_alert_when_pulse_above }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center mb-3">
|
|
|
|
- <h6 class="mb-0 mr-3">Below:</h6>
|
|
|
|
- <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenSbpBelow" value="{{ $patient->yellow_alert_when_sbp_below }}" />
|
|
|
|
- <span>/</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50 mr-3" name="yellowAlertWhenDbpBelow" value="{{ $patient->yellow_alert_when_dbp_below }}" />
|
|
|
|
- <span>Pulse:</span>
|
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenPulseBelow" value="{{ $patient->yellow_alert_when_pulse_below }}" />
|
|
|
|
- <span>BPM</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="col-6">
|
|
|
|
- <div class="mb-2 d-flex align-items-start">
|
|
|
|
- <span class="text-secondary min-width-140px w-50">Reports prehypertension?</span>
|
|
|
|
- <div class="w-50">
|
|
|
|
- <select type="text" class="form-control form-control-sm min-width-unset" name="hasPrehypertensionDx">
|
|
|
|
- <option value="">-- select --</option>
|
|
|
|
- <option {{$patient->has_prehypertension_dx === 'YES' ? 'selected' : ''}} value="YES">Yes</option>
|
|
|
|
- <option {{$patient->has_prehypertension_dx === 'NO' ? 'selected' : ''}} value="NO">No</option>
|
|
|
|
- <option {{$patient->has_prehypertension_dx === 'UNKNOWN' ? 'selected' : ''}} value="UNKNOWN">Unknown</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2 d-flex align-items-start">
|
|
|
|
- <span class="text-secondary min-width-140px w-50">Reports HTN?</span>
|
|
|
|
|
|
+ <div class="mb-2 d-flex align-items-center">
|
|
|
|
+ <span class="text-secondary min-width-140px w-50">BP Status</span>
|
|
<div class="w-50">
|
|
<div class="w-50">
|
|
- <select type="text" class="form-control form-control-sm min-width-unset" name="hasHypertensionDx">
|
|
|
|
|
|
+ <select type="text" class="form-control form-control-sm min-width-unset" v-model="form.bloodPressureHealthStatus" name="bloodPressureHealthStatus">
|
|
<option value="">-- select --</option>
|
|
<option value="">-- select --</option>
|
|
- <option {{$patient->has_hypertension_dx === 'YES' ? 'selected' : ''}} value="YES">Yes</option>
|
|
|
|
- <option {{$patient->has_hypertension_dx === 'NO' ? 'selected' : ''}} value="NO">No</option>
|
|
|
|
- <option {{$patient->has_hypertension_dx === 'UNKNOWN' ? 'selected' : ''}} value="UNKNOWN">Unknown</option>
|
|
|
|
|
|
+ <option value="PREHYPERTENSION">Prehypertension</option>
|
|
|
|
+ <option value="HYPERTENSION">Hypertension</option>
|
|
|
|
+ <option value="HYPOTENSIVE">Hypontensive</option>
|
|
|
|
+ <option value="NORMAL">Normal</option>
|
|
|
|
+ <option value="OTHER">Other</option>
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2 d-flex align-items-start">
|
|
|
|
|
|
+ <div class="mb-2 d-flex align-items-center">
|
|
<span class="text-secondary min-width-140px w-50">Reports HTN medicine?</span>
|
|
<span class="text-secondary min-width-140px w-50">Reports HTN medicine?</span>
|
|
<div class="w-50">
|
|
<div class="w-50">
|
|
- <select type="text" class="form-control form-control-sm min-width-unset" name="isPrescribedHypertensionMedicine">
|
|
|
|
|
|
+ <select type="text" class="form-control form-control-sm min-width-unset" v-model="form.isPrescribedHypertensionMedicine" name="isPrescribedHypertensionMedicine">
|
|
<option value="">-- select --</option>
|
|
<option value="">-- select --</option>
|
|
<option {{$patient->is_prescribed_hypertension_medicine === 'YES' ? 'selected' : ''}} value="YES">Yes</option>
|
|
<option {{$patient->is_prescribed_hypertension_medicine === 'YES' ? 'selected' : ''}} value="YES">Yes</option>
|
|
<option {{$patient->is_prescribed_hypertension_medicine === 'NO' ? 'selected' : ''}} value="NO">No</option>
|
|
<option {{$patient->is_prescribed_hypertension_medicine === 'NO' ? 'selected' : ''}} value="NO">No</option>
|
|
@@ -176,10 +30,10 @@
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2 d-flex align-items-start">
|
|
|
|
- <span class="text-secondary min-width-140px w-50">Goal to reduce HTN medicine?</span>
|
|
|
|
|
|
+ <div class="mb-2 d-flex align-items-center">
|
|
|
|
+ <span class="text-secondary min-width-140px w-50">Goal to reduce HTN meds?</span>
|
|
<div class="w-50">
|
|
<div class="w-50">
|
|
- <select type="text" class="form-control form-control-sm min-width-unset" name="isGoalToReduceHypertensionMedicine">
|
|
|
|
|
|
+ <select type="text" class="form-control form-control-sm min-width-unset" v-model="form.isGoalToReduceHypertensionMedicine" name="isGoalToReduceHypertensionMedicine">
|
|
<option value="">-- select --</option>
|
|
<option value="">-- select --</option>
|
|
<option {{$patient->is_goal_to_reduce_hypertension_medicine === 'YES' ? 'selected' : ''}} value="YES">Yes</option>
|
|
<option {{$patient->is_goal_to_reduce_hypertension_medicine === 'YES' ? 'selected' : ''}} value="YES">Yes</option>
|
|
<option {{$patient->is_goal_to_reduce_hypertension_medicine === 'NO' ? 'selected' : ''}} value="NO">No</option>
|
|
<option {{$patient->is_goal_to_reduce_hypertension_medicine === 'NO' ? 'selected' : ''}} value="NO">No</option>
|
|
@@ -187,13 +41,14 @@
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <div class="text-secondary min-width-140px mb-1">Describe the goal:</div>
|
|
|
|
- <input type="text" class="form-control form-control-sm min-width-unset" name="goalToReduceHypertensionMedicineMemo" value="{{$patient->goal_to_reduce_hypertension_medicine_memo}}">
|
|
|
|
|
|
+ <div v-if="form.isGoalToReduceHypertensionMedicine == 'YES'">
|
|
|
|
+ <div class="text-secondary min-width-140px mb-1">Describe the goal:</div>
|
|
|
|
+ <input type="text" class="form-control form-control-sm min-width-unset" name="goalToReduceHypertensionMedicineMemo" value="{{$patient->goal_to_reduce_hypertension_medicine_memo}}">
|
|
|
|
+ </div>
|
|
|
|
|
|
<div class="my-3 d-flex align-items-center">
|
|
<div class="my-3 d-flex align-items-center">
|
|
<span class="text-secondary min-width-140px w-50">
|
|
<span class="text-secondary min-width-140px w-50">
|
|
- <strong>BP monitoring prescribed?</strong>
|
|
|
|
|
|
+ <strong>BP monitoring Rx'd?</strong>
|
|
</span>
|
|
</span>
|
|
<div class="w-50">
|
|
<div class="w-50">
|
|
<select type="text" class="form-control form-control-sm min-width-unset" name="isBpMonitoringNeeded">
|
|
<select type="text" class="form-control form-control-sm min-width-unset" name="isBpMonitoringNeeded">
|
|
@@ -205,45 +60,142 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- {{--
|
|
|
|
- <hr class="my-3">
|
|
|
|
- <div class="text-secondary min-width-140px mb-1">ICDs</div>
|
|
|
|
- <table class="table table-sm table-striped table-bordered mb-3">
|
|
|
|
- <thead>
|
|
|
|
- <tr class="bg-light text-secondary">
|
|
|
|
- <th class="border-bottom-0 width-30px">#</th>
|
|
|
|
- <th class="border-bottom-0 w-25">Code</th>
|
|
|
|
- <th class="border-bottom-0">Description</th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- <tr>
|
|
|
|
- <td class="p-0 align-middle text-center">1</td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_icd1', 'text', 'whyIsBpMonitoringNeededIcd1', $patient) ?></td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_description1', 'text', 'whyIsBpMonitoringNeededDescription1', $patient) ?></td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="p-0 align-middle text-center">2</td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_icd2', 'text', 'whyIsBpMonitoringNeededIcd2', $patient) ?></td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_description2', 'text', 'whyIsBpMonitoringNeededDescription2', $patient) ?></td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="p-0 align-middle text-center">3</td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_icd3', 'text', 'whyIsBpMonitoringNeededIcd3', $patient) ?></td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_description3', 'text', 'whyIsBpMonitoringNeededDescription3', $patient) ?></td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="p-0 align-middle text-center">4</td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_icd4', 'text', 'whyIsBpMonitoringNeededIcd4', $patient) ?></td>
|
|
|
|
- <td class="p-0 align-middle text-center"><?= vsElement('why_is_bp_monitoring_needed_description4', 'text', 'whyIsBpMonitoringNeededDescription4', $patient) ?></td>
|
|
|
|
- </tr>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- --}}
|
|
|
|
<div class="text-secondary min-width-140px mb-1">Remarks on clinical need:</div>
|
|
<div class="text-secondary min-width-140px mb-1">Remarks on clinical need:</div>
|
|
- <input type="text" class="form-control form-control-sm min-width-unset" name="whyIsBpMonitoringNeeded" value="{{$patient->why_is_bp_monitoring_needed}}">
|
|
|
|
|
|
+ <textarea name="whyIsBpMonitoringNeeded" class="form-control form-control-sm min-width-unset" rows="3">{{$patient->why_is_bp_monitoring_needed}}</textarea>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="col-6">
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <h6 class="text-secondary mr-3 mb-0"><b>Usual BP & Pulse</b></h6>
|
|
|
|
+ <div class="d-flex align-items-start">
|
|
|
|
+ <div class="form-check mr-3">
|
|
|
|
+ <input type="checkbox" class="form-check-input" id="amPmVariation" name="doesUsualBpHaveAmPmVariation" v-model="form.doesUsualBpHaveAmPmVariation">
|
|
|
|
+ <label class="form-check-label" for="amPmVariation">AM/PM</label>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="form-check">
|
|
|
|
+ <input type="checkbox" class="form-check-input" id="bpRange" name="doesUsualBpHaveRange" v-model="form.doesUsualBpHaveRange">
|
|
|
|
+ <label class="form-check-label" for="bpRange">Range</label>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="table-responsive">
|
|
|
|
+ <table class="table-bordered table-condensed table-sm">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr>
|
|
|
|
+ <td v-if="form.doesUsualBpHaveAmPmVariation"><i class="fas fa-sun mr-1"></i>AM</td>
|
|
|
|
+ <td v-if="form.doesUsualBpHaveRange">
|
|
|
|
+ <h6 class="mb-0">LOWEST</h6>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="usualAmRestingSbpMin" v-model="form.usualAmRestingSbpMin" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-2" name="usualAmRestingDbpMin" v-model="form.usualAmRestingDbpMin" />
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="usualAmRestingPulseMin" v-model="form.usualAmRestingPulseMin" />
|
|
|
|
+ <span>BPM</span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr v-if="form.doesUsualBpHaveRange">
|
|
|
|
+ <td v-if="form.doesUsualBpHaveAmPmVariation"></td>
|
|
|
|
+ <td>
|
|
|
|
+ <h6 class="mb-0">HIGHEST</h6>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="usualAmRestingSbpMax" value="{{ $patient->usual_am_resting_sbp_max }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-2" name="usualAmRestingDbpMax" value="{{ $patient->usual_am_resting_dbp_max }}" />
|
|
|
|
+ </td>
|
|
|
|
+ <td><input type="text" class="inline-input-underlined width-50" name="usualAmRestingPulseMax" value="{{ $patient->usual_am_resting_pulse_max }}" /> <span>BPM</span></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr v-if="form.doesUsualBpHaveAmPmVariation">
|
|
|
|
+ <td><i class="fas fa-moon mr-1"></i>PM</td>
|
|
|
|
+ <td v-if="form.doesUsualBpHaveRange">
|
|
|
|
+ <h6 class="mb-0">LOWEST</h6>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="usualPmRestingSbpMin" value="{{ $patient->usual_pm_resting_sbp_min }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-2" name="usualPmRestingDbpMin" value="{{ $patient->usual_pm_resting_dbp_min }}" />
|
|
|
|
+ </td>
|
|
|
|
+ <td><input type="text" class="inline-input-underlined width-50" name="usualPmRestingPulseMin" value="{{ $patient->usual_pm_resting_pulse_min }}" /> <span>BPM</span></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr v-if="form.doesUsualBpHaveAmPmVariation && form.doesUsualBpHaveRange">
|
|
|
|
+ <td></td>
|
|
|
|
+ <td v-if="form.doesUsualBpHaveRange">
|
|
|
|
+ <h6 class="mb-0">HIGHEST</h6>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="usualPmRestingSbpMax" value="{{ $patient->usual_pm_resting_sbp_max }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-2" name="usualPmRestingDbpMax" value="{{ $patient->usual_pm_resting_dbp_max }}" />
|
|
|
|
+ </td>
|
|
|
|
+ <td><input type="text" class="inline-input-underlined width-50" name="usualPmRestingPulseMax" value="{{ $patient->usual_pm_resting_pulse_max }}" /> <span>BPM</span></td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ <hr class="my-3">
|
|
|
|
+ <div class="mb-3 d-flex align-items-start">
|
|
|
|
+ <div class="text-secondary font-weight-bold mr-2">Ideal BP:</div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="idealAmRestingSbpMin" value="{{ $patient->ideal_am_resting_sbp_min }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-3" name="idealAmRestingDbpMin" value="{{ $patient->ideal_am_resting_dbp_min }}" />
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="idealAmRestingPulse" value="{{ $patient->ideal_am_resting_pulse }}" /> <span>BPM</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <hr class="my-3">
|
|
|
|
+ <div class="text-secondary font-weight-bold mb-3">Alerts</div>
|
|
|
|
+ <div class="mb-2 d-flex align-items-start">
|
|
|
|
+ <div class="text-secondary font-weight-bold mr-2"><i class="fa fa-circle text-danger"></i></div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <h6 class="mb-0 mr-3">Above:</h6>
|
|
|
|
+ <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="redAlertWhenSbpAbove" value="{{ $patient->red_alert_when_sbp_above }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-3" name="redAlertWhenDbpAbove" value="{{ $patient->red_alert_when_dbp_above }}" />
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="redAlertWhenPulseAbove" value="{{ $patient->red_alert_when_pulse_above }}" />
|
|
|
|
+ <span>BPM</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <h6 class="mb-0 mr-3">Below:</h6>
|
|
|
|
+ <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="redAlertWhenSbpBelow" value="{{ $patient->red_alert_when_sbp_below }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-3" name="redAlertWhenDbpBelow" value="{{ $patient->red_alert_when_dbp_below }}" />
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="redAlertWhenPulseBelow" value="{{ $patient->red_alert_when_pulse_below }}" />
|
|
|
|
+ <span>BPM</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2 d-flex align-items-start">
|
|
|
|
+ <div class="text-secondary font-weight-bold mr-2"><i class="fa fa-circle text-warning-mellow"></i></div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <h6 class="mb-0 mr-3">Above:</h6>
|
|
|
|
+ <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenSbpAbove" value="{{ $patient->yellow_alert_when_sbp_above }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-3" name="yellowAlertWhenDbpAbove" value="{{ $patient->yellow_alert_when_dbp_above }}" />
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenPulseAbove" value="{{ $patient->yellow_alert_when_pulse_above }}" />
|
|
|
|
+ <span>BPM</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <h6 class="mb-0 mr-3">Below:</h6>
|
|
|
|
+ <h6 class="mb-0 mr-3">BP:</h6>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenSbpBelow" value="{{ $patient->yellow_alert_when_sbp_below }}" />
|
|
|
|
+ <span>/</span>
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-3" name="yellowAlertWhenDbpBelow" value="{{ $patient->yellow_alert_when_dbp_below }}" />
|
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="yellowAlertWhenPulseBelow" value="{{ $patient->yellow_alert_when_pulse_below }}" />
|
|
|
|
+ <span>BPM</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="pt-2">
|
|
<div class="pt-2">
|
|
@@ -252,6 +204,7 @@
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
<script>
|
|
<script>
|
|
var doesUsualBpHaveAmPmVariation = <?= $patient->does_usual_bp_have_am_pm_variation ? 1 : 0 ?>;
|
|
var doesUsualBpHaveAmPmVariation = <?= $patient->does_usual_bp_have_am_pm_variation ? 1 : 0 ?>;
|
|
var doesUsualBpHaveRange = <?= $patient->does_usual_bp_have_range ? 1 : 0 ?>;
|
|
var doesUsualBpHaveRange = <?= $patient->does_usual_bp_have_range ? 1 : 0 ?>;
|
|
@@ -261,7 +214,13 @@
|
|
data: {
|
|
data: {
|
|
form: {
|
|
form: {
|
|
doesUsualBpHaveAmPmVariation: parseInt(doesUsualBpHaveAmPmVariation),
|
|
doesUsualBpHaveAmPmVariation: parseInt(doesUsualBpHaveAmPmVariation),
|
|
- doesUsualBpHaveRange: parseInt(doesUsualBpHaveRange)
|
|
|
|
|
|
+ doesUsualBpHaveRange: parseInt(doesUsualBpHaveRange),
|
|
|
|
+ usualAmRestingSbpMin: '{{ $patient->usual_am_resting_sbp_min }}',
|
|
|
|
+ usualAmRestingDbpMin: '{{ $patient->usual_am_resting_dbp_min }}',
|
|
|
|
+ usualAmRestingPulseMin: '{{ $patient->usual_am_resting_pulse_min }}',
|
|
|
|
+ bloodPressureHealthStatus: '{{ $patient->blood_pressure_health_status }}',
|
|
|
|
+ isPrescribedHypertensionMedicine: '{{$patient->is_prescribed_hypertension_medicine}}',
|
|
|
|
+ isGoalToReduceHypertensionMedicine: '{{$patient->is_goal_to_reduce_hypertension_medicine}}'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|