|
@@ -45,10 +45,10 @@ $days = $daysWithUnstamped;
|
|
|
<div id="rpm-work-matrix">
|
|
|
|
|
|
<div class="m-neg-3 border-top border-bottom px-3 py-2 d-flex align-items-baseline mb-3 bg-light">
|
|
|
- <b>Patient:</b>
|
|
|
- <span class="ml-1">{{$patient->displayName(true)}}</span>
|
|
|
- <b class="ml-4">Care Month:</b>
|
|
|
- <span class="ml-1">{{friendly_month($careMonth->start_date)}}</span>
|
|
|
+ <span>Patient:</span>
|
|
|
+ <b class="ml-1">{{$patient->displayName(true)}}</b>
|
|
|
+ <span class="ml-4">Care Month:</span>
|
|
|
+ <b class="ml-1">{{friendly_month($careMonth->start_date)}}</b>
|
|
|
</div>
|
|
|
|
|
|
@if(!@$onlyMatrix)
|
|
@@ -219,19 +219,6 @@ $days = $daysWithUnstamped;
|
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
<input type="hidden" class="measurements-uids" value="{{implode('|', $unstampedMCP[$k])}}">
|
|
|
<p class="mb-2 font-weight-bold">Stamp all measurements?</p>
|
|
|
- <!--<div class="mb-2 border border-info p-2 mt-2 bg-light width-300px">
|
|
|
- <span>I have had interactive communication with <b>{{$patient->displayName()}}</b> during this care month.</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" required>
|
|
|
- <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 required>
|
|
|
- <span>No</span>
|
|
|
- </label>
|
|
|
- </div>
|
|
|
- </div>-->
|
|
|
<?php
|
|
|
$dayTotalMinutes = 0;
|
|
|
foreach($m->entries as $entry) {
|
|
@@ -253,10 +240,10 @@ $days = $daysWithUnstamped;
|
|
|
</div>
|
|
|
<div class="if-adding-time-entry pt-2 d-none">
|
|
|
<div class="mb-2">
|
|
|
- <label class="mb-1 text-secondary text-sm">Minutes</label>
|
|
|
- <input type="number" min="1" max="15"
|
|
|
- class="form-control form-control-sm w-100" name="entryNumberOfMinutes"
|
|
|
- value="1" placeholder="Time (mins.)">
|
|
|
+ <label class="mb-1 text-secondary text-sm">Seconds</label>
|
|
|
+ <input type="number" min="75" max="300"
|
|
|
+ class="form-control form-control-sm w-100" name="entryNumberOfSeconds"
|
|
|
+ value="75" placeholder="Time (secs.)">
|
|
|
</div>
|
|
|
<div class="mb-2">
|
|
|
<label class="mb-1 text-secondary text-sm">Date</label>
|
|
@@ -264,16 +251,10 @@ $days = $daysWithUnstamped;
|
|
|
name="entryDate"
|
|
|
value="{{date('Y-m-d', strtotime($k))}}">
|
|
|
</div>
|
|
|
- <!--<div class="">
|
|
|
- <label class="mb-0 d-flex align-items-baseline">
|
|
|
- <input type="checkbox" class="hasAnyoneInteractedWithClientAboutRmOutsideNote mr-2 mt-1">
|
|
|
- <span>Has anyone interacted with client about rm outside note?</span>
|
|
|
- </label>
|
|
|
- </div>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group m-0">
|
|
|
- <button type="button" class="btn btn-primary btn-sm mr-2 btn-bulk-stamp">Submit</button>
|
|
|
+ <button type="button" class="btn btn-primary btn-sm mr-2 btn-bulk-stamp">Next</button>
|
|
|
<button cancel class="btn btn-default border btn-sm mr-2">Cancel</button>
|
|
|
</div>
|
|
|
</form>
|
|
@@ -315,10 +296,10 @@ $days = $daysWithUnstamped;
|
|
|
</div>
|
|
|
<div class="if-adding-time-entry pt-2 d-none">
|
|
|
<div class="mb-2">
|
|
|
- <label class="mb-1 text-secondary text-sm">Minutes</label>
|
|
|
- <input type="number" min="1" max="15"
|
|
|
- class="form-control form-control-sm w-100" name="entryNumberOfMinutes"
|
|
|
- value="1" placeholder="Time (mins.)">
|
|
|
+ <label class="mb-1 text-secondary text-sm">Seconds</label>
|
|
|
+ <input type="number" min="75" max="300"
|
|
|
+ class="form-control form-control-sm w-100" name="entryNumberOfSeconds"
|
|
|
+ value="75" placeholder="Time (secs.)">
|
|
|
</div>
|
|
|
<div class="mb-2">
|
|
|
<label class="mb-1 text-secondary text-sm">Date</label>
|
|
@@ -390,8 +371,8 @@ $days = $daysWithUnstamped;
|
|
|
placeholder="Effective Date" required>
|
|
|
</div>
|
|
|
<div class="col-4">
|
|
|
- <input type="number" min="0" max="15" class="form-control form-control-sm w-100 cm-time-value" name="timeInMinutes"
|
|
|
- value="1" placeholder="Time (mins.)" required>
|
|
|
+ <input type="number" min="0" max="15" class="form-control form-control-sm w-100 cm-time-value" name="timeInSeconds"
|
|
|
+ value="75" placeholder="Time (secs.)" required>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -501,7 +482,7 @@ $days = $daysWithUnstamped;
|
|
|
shouldAddEntry: form.find('.shouldAddEntry').prop('checked') ? 1 : 0,
|
|
|
entryDate: form.find('[name="entryDate"]').val(),
|
|
|
entryMemo: form.find('[name="entryMemo"]').val(),
|
|
|
- entryNumberOfMinutes: form.find('[name="entryNumberOfMinutes"]').val() ? +(form.find('[name="entryNumberOfMinutes"]').val()) : 0,
|
|
|
+ entryNumberOfSeconds: form.find('[name="entryNumberOfSeconds"]').val() ? +(form.find('[name="entryNumberOfSeconds"]').val()) : 0,
|
|
|
hasAnyoneInteractedWithClientAboutRmOutsideNote: form.find('.hasAnyoneInteractedWithClientAboutRmOutsideNote').prop('checked') ? 1 : 0,
|
|
|
}
|
|
|
|