|
@@ -7,14 +7,36 @@
|
|
<h6 class="my-0 font-weight-bold text-dark">Measurements</h6>
|
|
<h6 class="my-0 font-weight-bold text-dark">Measurements</h6>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<div moe>
|
|
<div moe>
|
|
- <a start show class="py-0 font-weight-normal">Add</a>
|
|
|
|
- <form url="/api/measurement/create">
|
|
|
|
|
|
+ <a start show class="py-0 font-weight-normal">Add BP</a>
|
|
|
|
+ <form url="/api/measurement/createForBP">
|
|
<input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
<input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
|
+ <p class="font-weight-bold text-secondary mb-2">Add BP Measurement</p>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-secondary text-sm mb-1">Systolic BP (mmHg)</label>
|
|
|
|
+ <input required autofocus type="number" class="form-control form-control-sm" name="sbpMmHg" value="" placeholder="Systolic BP">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-secondary text-sm mb-1">Diastolic BP (mmHg)</label>
|
|
|
|
+ <input required autofocus type="number" class="form-control form-control-sm" name="dbpMmHg" value="" placeholder="Diastolic BP">
|
|
|
|
+ </div>
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
- <input required autofocus type="text" class="form-control form-control-sm" name="label" value="" placeholder="Type">
|
|
|
|
|
|
+ <input required type="date" class="form-control form-control-sm" name="effectiveDate" max="{{ date('Y-m-d') }}" value="{{ date('Y-m-d') }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
|
+ <div moe>
|
|
|
|
+ <a start show class="py-0 font-weight-normal">Add Weight</a>
|
|
|
|
+ <form url="/api/measurement/create">
|
|
|
|
+ <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
|
+ <input type="hidden" name="label" value="Wt. (lbs.)">
|
|
|
|
+ <p class="font-weight-bold text-secondary mb-2">Add Weight Measurement</p>
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
- <input required type="text" class="form-control form-control-sm" name="value" value="" placeholder="Value">
|
|
|
|
|
|
+ <input required type="number" class="form-control form-control-sm" name="value" value="" placeholder="Weight">
|
|
</div>
|
|
</div>
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<input required type="date" class="form-control form-control-sm" name="effectiveDate" max="{{ date('Y-m-d') }}" value="{{ date('Y-m-d') }}">
|
|
<input required type="date" class="form-control form-control-sm" name="effectiveDate" max="{{ date('Y-m-d') }}" value="{{ date('Y-m-d') }}">
|
|
@@ -49,8 +71,8 @@
|
|
<th class="px-2 text-secondary w-25">Effective Date</th>
|
|
<th class="px-2 text-secondary w-25">Effective Date</th>
|
|
<th class="px-2 text-secondary w-25">Category</th>
|
|
<th class="px-2 text-secondary w-25">Category</th>
|
|
<th class="px-2 text-secondary w-25">Value</th>
|
|
<th class="px-2 text-secondary w-25">Value</th>
|
|
- {{--<th class="px-2 text-secondary">Status</th>
|
|
|
|
- <th class="px-2 text-secondary">Memo</th>--}}
|
|
|
|
|
|
+ <th class="px-2 text-secondary">Source</th>
|
|
|
|
+ {{--<th class="px-2 text-secondary">Memo</th>--}}
|
|
<th class="px-2 text-secondary"></th>
|
|
<th class="px-2 text-secondary"></th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -70,24 +92,17 @@
|
|
</td>
|
|
</td>
|
|
<td class="px-2">{{ $measurement->label }}</td>
|
|
<td class="px-2">{{ $measurement->label }}</td>
|
|
<td class="px-2">
|
|
<td class="px-2">
|
|
- @if(empty($measurement->client_bdt_measurement_id))
|
|
|
|
- {{ $measurement->value }}
|
|
|
|
- @elseif($measurement->is_cellular_zero)
|
|
|
|
|
|
+ @if($measurement->is_cellular_zero)
|
|
<i class="font-size-11 fa fa-rss"></i>
|
|
<i class="font-size-11 fa fa-rss"></i>
|
|
|
|
+ @elseif($measurement->label === 'BP')
|
|
|
|
+ {{ $measurement->sbp_mm_hg }}/{{ $measurement->dbp_mm_hg }} mmHg
|
|
|
|
+ @elseif($measurement->label === 'Wt. (lbs.)')
|
|
|
|
+ {{ $measurement->numeric_value }} lbs
|
|
@else
|
|
@else
|
|
- @if($measurement->label === 'BP')
|
|
|
|
- {{ $measurement->clientBDTMeasurement->measurement->systolic_bp_in_mm_hg }}/{{ $measurement->clientBDTMeasurement->measurement->diastolic_bp_in_mm_hg }} mmHg
|
|
|
|
- @elseif($measurement->label === 'SBP')
|
|
|
|
- {{ $measurement->clientBDTMeasurement->measurement->systolic_bp_in_mm_hg }} mmHg
|
|
|
|
- @elseif($measurement->label === 'DBP')
|
|
|
|
- {{ $measurement->clientBDTMeasurement->measurement->diastolic_bp_in_mm_hg }} mmHg
|
|
|
|
- @elseif($measurement->label === 'Wt. (lbs.)')
|
|
|
|
- {{ round($measurement->clientBDTMeasurement->measurement->weight_in_pounds, 1) }} lbs
|
|
|
|
- @endif
|
|
|
|
|
|
+ {{ $measurement->value }}
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
- {{--<td></td>
|
|
|
|
- <td></td>--}}
|
|
|
|
|
|
+ <td class="px-2">{{$measurement->source}}</td>
|
|
<td class="px-2">
|
|
<td class="px-2">
|
|
<span moe relative class="mr-2">
|
|
<span moe relative class="mr-2">
|
|
<a class="on-hover-opaque" start show title="Delete">
|
|
<a class="on-hover-opaque" start show title="Delete">
|