|
@@ -1,5 +1,9 @@
|
|
|
-<span class="mx-2 text-secondary">|</span>
|
|
|
-<a href="#" onclick="return showStagPopup('create-claim')">Create Claim</a>
|
|
|
+@if($careMonth->is_claim_closed)
|
|
|
+ <b class="ml-2 text-info">[CLAIMING CLOSED]</b>
|
|
|
+@else
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
+ <a href="#" onclick="return showStagPopup('create-claim')">Create Claim</a>
|
|
|
+@endif
|
|
|
@if($pro->pro_type === 'ADMIN')
|
|
|
@if(!$careMonth->is_claim_closed)
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -43,7 +47,7 @@
|
|
|
</span>
|
|
|
@endif
|
|
|
@endif
|
|
|
-<div class="stag-popup stag-popup-md mcp-theme-1" stag-popup-key="create-claim">
|
|
|
+<div class="stag-popup stag-popup-md mcp-theme-1" style="width:100%" stag-popup-key="create-claim">
|
|
|
<form action="/api/claim/createForCareMonth" id="createCareMonthClaimApp">
|
|
|
<h3 class="stag-popup-title border-bottom-0 mb-0">
|
|
|
<span>Create Claim</span>
|
|
@@ -56,8 +60,9 @@
|
|
|
<table class="table table-sm table-condensed mb-3 border-left border-right border-bottom">
|
|
|
<thead>
|
|
|
<tr class="bg-light">
|
|
|
- <th class="width-100px border-bottom-0">CPT Code</th>
|
|
|
- <th class="width-100px border-bottom-0">Date of Service</th>
|
|
|
+ <th style="min-width: 100px;" class="border-bottom-0">CPT Code</th>
|
|
|
+ <th style="min-width: 100px;" class="border-bottom-0">DOS</th>
|
|
|
+ <th class="border-bottom-0">Units</th>
|
|
|
<th class="border-bottom-0">ICDs</th>
|
|
|
<th class="border-bottom-0"> </th>
|
|
|
</tr>
|
|
@@ -70,6 +75,9 @@
|
|
|
<td class="py-2">
|
|
|
<input required type="date" class="min-width-unset form-control form-control-sm" v-model="line.dateOfService">
|
|
|
</td>
|
|
|
+ <td class="py-2">
|
|
|
+ <input required type="number" class="min-width-unset form-control form-control-sm" v-model="line.numberOfUnits">
|
|
|
+ </td>
|
|
|
<td class="p-2 bg-light">
|
|
|
<div class="d-flex align-items-baseline">
|
|
|
<a href="#" class="text-nowrap text-primary mr-2"
|
|
@@ -113,6 +121,7 @@
|
|
|
</form>
|
|
|
</div>
|
|
|
<script>
|
|
|
+ window.rmReasons = [];
|
|
|
window.createCareMonthClaimApp = new Vue({
|
|
|
el: '#createCareMonthClaimApp',
|
|
|
delimiters: ['@{{', '}}'],
|
|
@@ -122,12 +131,8 @@
|
|
|
{
|
|
|
cpt: '',
|
|
|
dateOfService: '{{date_format($careMonth->created_at, 'Y-m-d')}}',
|
|
|
- icds: window.rmReasons.map(_x => {
|
|
|
- return {
|
|
|
- code: _x.icd,
|
|
|
- description: _x.description
|
|
|
- };
|
|
|
- })
|
|
|
+ icds: JSON.parse(JSON.stringify(window.rmReasons)),
|
|
|
+ numberOfUnits: 1
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -137,12 +142,8 @@
|
|
|
this.payload.lines.push({
|
|
|
cpt: '',
|
|
|
dateOfService: '{{date('Y-m-d')}}',
|
|
|
- icds: window.rmReasons.map(_x => {
|
|
|
- return {
|
|
|
- code: _x.icd,
|
|
|
- description: _x.description
|
|
|
- };
|
|
|
- })
|
|
|
+ icds: JSON.parse(JSON.stringify(window.rmReasons)),
|
|
|
+ numberOfUnits: 1
|
|
|
});
|
|
|
Vue.nextTick(() => {
|
|
|
this.initICDAutoSuggest();
|
|
@@ -222,12 +223,8 @@
|
|
|
this.payload.lines = [{
|
|
|
cpt: '',
|
|
|
dateOfService: '{{date('Y-m-d')}}',
|
|
|
- icds: window.rmReasons.map(_x => {
|
|
|
- return {
|
|
|
- code: _x.icd,
|
|
|
- description: _x.description
|
|
|
- };
|
|
|
- })
|
|
|
+ icds: JSON.parse(JSON.stringify(window.rmReasons)),
|
|
|
+ numberOfUnits: 1
|
|
|
}];
|
|
|
}
|
|
|
},
|
|
@@ -235,5 +232,5 @@
|
|
|
this.initICDAutoSuggest();
|
|
|
this.getPrefillValues();
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
</script>
|