|
@@ -1,19 +1,19 @@
|
|
-@if(!$activeRMBill)
|
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
- <div moe large id="cm-entry-form">
|
|
|
|
- <a start show class="py-0 mb-3">Add</a>
|
|
|
|
- <form url="/api/careMonthEntry/createForRm" {{@$right ? 'right' : ''}}>
|
|
|
|
- <input type="hidden" name="careMonthUid" value="{{ $careMonth->uid }}">
|
|
|
|
|
|
+@if(!$activeRMBill || @$entry)
|
|
|
|
+ <div moe large class="mr-2" id="cm-entry-form{{@$entry ? '-' . $entry->uid : ''}}">
|
|
|
|
+ <a start show class="py-0 mb-3">{{@$entry ? 'Edit' : 'Add'}}</a>
|
|
|
|
+ <form url="/api/careMonthEntry/{{@$entry ? 'updateSimpleForRm' : 'createForRm'}}" {{@$right ? 'right' : ''}}>
|
|
|
|
+ @if(@$entry)
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $entry->uid }}">
|
|
|
|
+ @else
|
|
|
|
+ <input type="hidden" name="careMonthUid" value="{{ $careMonth->uid }}">
|
|
|
|
+ @endif
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-4 pr-0">
|
|
<div class="col-4 pr-0">
|
|
- <select class="form-control form-control-sm w-100" name="proUid" provider-search data-pro-uid="{{ @$pro->uid }}"
|
|
|
|
|
|
+ <label class="mb-1 text-sm text-secondary text-left">Pro</label>
|
|
|
|
+ <select class="form-control form-control-sm w-100" name="proUid" provider-search data-pro-uid="{{ @$entry ? $entry->pro->uid : '' }}"
|
|
required>
|
|
required>
|
|
<option value="">-- Select Pro --</option>
|
|
<option value="">-- Select Pro --</option>
|
|
- @foreach($pros as $iPro)
|
|
|
|
- <option {{ $iPro->uid === $pro->uid ? 'selected' : '' }}
|
|
|
|
- value="{{ $iPro->uid }}">{{ $iPro->displayName() }}</option>
|
|
|
|
- @endforeach
|
|
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-4 pr-0">
|
|
<div class="col-4 pr-0">
|
|
@@ -30,27 +30,30 @@
|
|
$isToday = true;
|
|
$isToday = true;
|
|
}
|
|
}
|
|
?>
|
|
?>
|
|
|
|
+ <label class="mb-1 text-sm text-secondary text-left">Date</label>
|
|
<input autofocus type="date" min="{{ date($y . '-' . $m . '-01') }}" max="{{ date($y . '-' . $m . '-' . $d) }}"
|
|
<input autofocus type="date" min="{{ date($y . '-' . $m . '-01') }}" max="{{ date($y . '-' . $m . '-' . $d) }}"
|
|
- value="{{date('Y-m-d')}}"
|
|
|
|
|
|
+ value="{{@$entry ? $entry->effective_date : $careMonth->end_date}}"
|
|
class="form-control form-control-sm w-100" name="effectiveDate"
|
|
class="form-control form-control-sm w-100" name="effectiveDate"
|
|
placeholder="Effective Date" required>
|
|
placeholder="Effective Date" required>
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<div class="col-4">
|
|
- <input type="hidden" name="timeInSeconds">
|
|
|
|
|
|
+ <label class="mb-1 text-sm text-secondary text-left">Minutes</label>
|
|
|
|
+ <input type="hidden" name="timeInSeconds" value="{{@$entry ? $entry->time_in_seconds : ''}}">
|
|
<input type="number" min="1" max="20" name="timeInMinutes" class="form-control form-control-sm w-100 cm-time-value"
|
|
<input type="number" min="1" max="20" name="timeInMinutes" class="form-control form-control-sm w-100 cm-time-value"
|
|
|
|
+ value="{{@$entry ? round($entry->time_in_seconds / 60, 0) : ''}}"
|
|
required>
|
|
required>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2 border border-info p-2 mt-2 bg-light">
|
|
|
|
|
|
+ <div class="mb-2 border border-info p-2 mt-2 bg-light text-left">
|
|
<span><i class="fa fa-phone rotateh text-dark mr-1"></i>This time entry involved interactive communication (audio, video, or in-person) with the patient and/or caretaker.</span>
|
|
<span><i class="fa fa-phone rotateh text-dark mr-1"></i>This time entry involved interactive communication (audio, video, or in-person) with the patient and/or caretaker.</span>
|
|
<div class="d-flex border-top mt-2">
|
|
<div class="d-flex border-top mt-2">
|
|
<label class="mt-2 mb-0 d-inline-flex align-items-center mr-3">
|
|
<label class="mt-2 mb-0 d-inline-flex align-items-center mr-3">
|
|
- <input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="true" required>
|
|
|
|
|
|
+ <input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="true" {{@$entry && $entry->did_pro_interact_with_client_about_rm ? 'checked' : ''}} required>
|
|
<span>Yes</span>
|
|
<span>Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="mt-2 mb-0 d-inline-flex align-items-center">
|
|
<label class="mt-2 mb-0 d-inline-flex align-items-center">
|
|
- <input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="false" required>
|
|
|
|
|
|
+ <input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="false" {{@$entry && $entry->did_pro_interact_with_client_about_rm ? '' : 'checked' }} required>
|
|
<span>No</span>
|
|
<span>No</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
@@ -58,7 +61,7 @@
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
- <div cm-rte data-content="Reviewed/managed patient measurements" data-name="contentText"></div>
|
|
|
|
|
|
+ <div cm-rte data-name="contentText">{!! @$entry ? $entry->content_text : 'Reviewed/managed patient measurements' !!}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -84,6 +87,6 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- addMCInitializer('cm-entry-form', init, '#cm-entry-form');
|
|
|
|
|
|
+ addMCInitializer('cm-entry-form{{@$entry ? '-' . $entry->uid : ''}}', init, '#cm-entry-form{{@$entry ? '-' . $entry->uid : ''}}');
|
|
}).call(window);
|
|
}).call(window);
|
|
</script>
|
|
</script>
|