|
@@ -9,7 +9,6 @@
|
|
<th class="border-0 px-2 text-secondary">Value</th>
|
|
<th class="border-0 px-2 text-secondary">Value</th>
|
|
<th class="border-0 px-2 text-secondary">Timestamp</th>
|
|
<th class="border-0 px-2 text-secondary">Timestamp</th>
|
|
<th class="border-0 px-2 text-secondary">Mins this month</th>
|
|
<th class="border-0 px-2 text-secondary">Mins this month</th>
|
|
- <th class="border-0 px-2 text-secondary">Stamp</th>
|
|
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -42,80 +41,6 @@
|
|
0
|
|
0
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
- <?php /*
|
|
|
|
- <td colspan="px-2">
|
|
|
|
- <?php
|
|
|
|
- $stampEndPoint = '';
|
|
|
|
- if ($measurement->mcp_pro_id === $pro->id) {
|
|
|
|
- $stampEndPoint = '/api/measurement/stampAsMcp';
|
|
|
|
- } elseif ($measurement->default_na_pro_id === $pro->id || $measurement->rmm_pro_id === $pro->id || $measurement->rme_pro_id === $pro->id) {
|
|
|
|
- $stampEndPoint = '/api/measurement/stampAsNonHcp';
|
|
|
|
- }
|
|
|
|
- ?>
|
|
|
|
- @if(!empty($stampEndPoint))
|
|
|
|
- <div moe relative>
|
|
|
|
- <a href="#" start show>Stamp</a>
|
|
|
|
- <form url="{{$stampEndPoint}}" right class="width-300px">
|
|
|
|
- <input type="hidden" name="uid" value="{{$measurement->uid}}">
|
|
|
|
- <p class="mb-1">Stamp this measurement?</p>
|
|
|
|
- <div class="mt-2 bg-light border p-2">
|
|
|
|
- <div class="mb-1 text-secondary">{{ $measurement->label }}</div>
|
|
|
|
- <div class="font-weight-bold mb-1">
|
|
|
|
- @if($measurement->label === 'BP')
|
|
|
|
- {{ round($measurement->sbp_mm_hg, 2) }}/{{ round($measurement->dbp_mm_hg, 2) }} mmHg
|
|
|
|
- <span class="font-weight-normal d-inline-block pl-2">Pulse:</span>
|
|
|
|
- {{ $measurement->value_pulse }} {{ $measurement->value_irregular === 0?'Irregular':'' }} {{ $measurement->value_irregular === 1?'Regular':'' }}
|
|
|
|
- @elseif($measurement->label === 'Wt. (lbs.)')
|
|
|
|
- {{ round($measurement->numeric_value, 2) }} lbs
|
|
|
|
- @else
|
|
|
|
- {{ $measurement->value }}
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- <div class="text-sm">
|
|
|
|
- <?php $timestampInSec = floor($measurement->ts / 1000); ?>
|
|
|
|
- {{ friendly_date_time_short_with_tz_from_timestamp($timestampInSec, 'EASTERN') }} EST
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- @if($measurement->mcp_pro_id !== $pro->id)
|
|
|
|
- <div class="mb-2 border border-info p-2 mt-2 bg-light">
|
|
|
|
- <span>I have had interactive communication with {{$measurement->name_first}} {{$measurement->name_last}}.</span>
|
|
|
|
- <div class="d-flex border-top mt-2">
|
|
|
|
- <label class="mt-2 mb-0 d-inline-flex align-items-center mr-3">
|
|
|
|
- <input type="radio" class="mr-2" name="communicatedToPatient" value="true">
|
|
|
|
- <span>Yes</span>
|
|
|
|
- </label>
|
|
|
|
- <label class="mt-2 mb-0 d-inline-flex align-items-center">
|
|
|
|
- <input type="radio" class="mr-2" name="communicatedToPatient" value="false" checked>
|
|
|
|
- <span>No</span>
|
|
|
|
- </label>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- @else
|
|
|
|
- <input type="hidden" name="communicatedToPatient" value="false">
|
|
|
|
- @endif
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Memo</label>
|
|
|
|
- <textarea class="form-control form-control-sm" name="memo"></textarea>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group m-0">
|
|
|
|
- <button submit class="btn btn-primary btn-sm mr-2">Submit</button>
|
|
|
|
- <button cancel class="btn btn-default border btn-sm mr-2">Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
- </td>
|
|
|
|
- */ ?>
|
|
|
|
- <td class="px-2">
|
|
|
|
- <a native target="_blank"
|
|
|
|
- open-in-stag-popup
|
|
|
|
- update-parent
|
|
|
|
- mc-initer="cm-matrix-{{$measurement->client_id}}"
|
|
|
|
- title="Care Month Matrix: {{date('M Y', strtotime($measurement->care_month_start_date))}}"
|
|
|
|
- href="/patient-care-month-matrix/{{$measurement->care_month_uid}}">
|
|
|
|
- View & Stamp
|
|
|
|
- </a>
|
|
|
|
- </td>
|
|
|
|
</tr>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
@else
|
|
@else
|