|
@@ -17,11 +17,11 @@
|
|
|
<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 }}" />
|
|
|
+ <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-3" name="usualAmRestingDbpMin" value="{{ $patient->usual_am_resting_dbp_min }}" />
|
|
|
+ <input type="text" class="inline-input-underlined width-50 mr-3" name="usualAmRestingDbpMin" v-model="form.usualAmRestingDbpMin" />
|
|
|
<span>Pulse:</span>
|
|
|
- <input type="text" class="inline-input-underlined width-50" name="usualAmRestingPulseMin" value="{{ $patient->usual_am_resting_pulse_min }}" />
|
|
|
+ <input type="text" class="inline-input-underlined width-50" name="usualAmRestingPulseMin" v-model="form.usualAmRestingPulseMin" />
|
|
|
<span>BPM</span>
|
|
|
</div>
|
|
|
|
|
@@ -94,50 +94,54 @@
|
|
|
</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 class="pl-3 mb-3 d-flex align-items-start">
|
|
|
+ <div class="text-secondary font-weight-bold mr-2"><i class="fa fa-circle text-danger mr-2"></i></div>
|
|
|
+ <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>
|
|
|
- <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 class="pl-3 mb-3 d-flex align-items-start">
|
|
|
+ <div class="text-secondary font-weight-bold mr-2"><i class="fa fa-circle text-warning-mellow mr-2"></i></div>
|
|
|
+ <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>
|
|
@@ -252,6 +256,7 @@
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
+
|
|
|
<script>
|
|
|
var doesUsualBpHaveAmPmVariation = <?= $patient->does_usual_bp_have_am_pm_variation ? 1 : 0 ?>;
|
|
|
var doesUsualBpHaveRange = <?= $patient->does_usual_bp_have_range ? 1 : 0 ?>;
|
|
@@ -261,7 +266,10 @@
|
|
|
data: {
|
|
|
form: {
|
|
|
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 }}'
|
|
|
}
|
|
|
},
|
|
|
methods: {
|