|
@@ -101,6 +101,14 @@
|
|
|
<div class="d-flex align-items-center mb-1">
|
|
|
<div class="text-secondary mr-3 min-width-140px">Payer</div>
|
|
|
<b class="text-secondary"><span class="click-to-copy" title="Click to copy">@{{ currentMBClaim.payer_name }}</span></b>
|
|
|
+ <div class="ml-auto d-inline-flex align-items-center">
|
|
|
+ <textarea class="copy-source opacity-0" v-html="jsonCopySource()"></textarea>
|
|
|
+ <button class="btn btn-sm btn-success on-hover-opaque text-sm font-weight-bold"
|
|
|
+ v-on:click.prevent="fastCopy()">
|
|
|
+ <i class="fa fa-copy"></i>
|
|
|
+ Copy All
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<hr class="my-2">
|
|
@@ -215,7 +223,36 @@
|
|
|
<!--cpt, doc, icd-->
|
|
|
<div class="d-flex align-items-start mb-1">
|
|
|
<div class="text-secondary mr-3 min-width-140px">CPT Codes</div>
|
|
|
- <div v-html="currentClaimLines"></div>
|
|
|
+ <div>
|
|
|
+ <table class="table table-sm table-condensed mb-0 table-bordered">
|
|
|
+ <thead>
|
|
|
+ <tr class="bg-light">
|
|
|
+ <th class="border-0 width-100px">CPT</th>
|
|
|
+ <th class="border-0 width-100px">Modifier</th>
|
|
|
+ <th class="border-0 width-100px">DOS</th>
|
|
|
+ <th class="border-0 width-100px">Amount</th>
|
|
|
+ <th class="border-0 width-100px">POS</th>
|
|
|
+ <th class="border-0 text-nowrap">ICDs</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr class="claim-line" v-for="(claimLine) in currentClaimLines">
|
|
|
+ <td class="width-100px"><span class="click-to-copy" title="Click to copy">@{{ claimLine.cpt }}</span></td>
|
|
|
+ <td class="text-nowrap width-100px"><span class="click-to-copy" title="Click to copy">95</span></td>
|
|
|
+ <td class="text-nowrap width-100px"><span class="click-to-copy" title="Click to copy">@{{ claimLine.date_of_service }}</span></td>
|
|
|
+ <td class="text-nowrap width-100px">$ <span class="click-to-copy" title="Click to copy">@{{ claimLine.expected_total }}</span></td>
|
|
|
+ <td class="text-nowrap width-100px"><span class="click-to-copy" title="Click to copy">11</span></td>
|
|
|
+ <td class="">
|
|
|
+ <span v-for="(claimLineICD) in claimLine.claim_line_icds"
|
|
|
+ class="c-pointer border-secondary border-bottom mr-2"
|
|
|
+ :title="claimLineICD.description">
|
|
|
+ <span class="click-to-copy" title="Click to copy">@{{ claimLineICD.code }}</span>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -328,9 +365,9 @@
|
|
|
}
|
|
|
this.currentMBClaim = _data;
|
|
|
this.currentClaim = this.claims[_index];
|
|
|
- $.get('/claims/current-claim-lines/' + claim.uid, (_data) => {
|
|
|
+ $.get('/claims/current-claim-lines/' + claim.uid + '?json=1', (_data) => {
|
|
|
this.currentClaimLines = _data;
|
|
|
- });
|
|
|
+ }, 'json');
|
|
|
}, 'json');
|
|
|
},
|
|
|
updateClaimStatus: function(_index, _status) {
|
|
@@ -395,6 +432,17 @@
|
|
|
}
|
|
|
}
|
|
|
this.numUnsubmitted = count;
|
|
|
+ },
|
|
|
+ jsonCopySource: function() {
|
|
|
+ if(!this.currentClaim || !this.currentMBClaim || !this.currentClaimLines) return '';
|
|
|
+ return JSON.stringify({
|
|
|
+ claim: this.currentClaim,
|
|
|
+ mbClaim: this.currentMBClaim,
|
|
|
+ claimLines: this.currentClaimLines
|
|
|
+ }, null, 2);
|
|
|
+ },
|
|
|
+ fastCopy: function() {
|
|
|
+ copyTextToClipboard($('.copy-source').first().val());
|
|
|
}
|
|
|
},
|
|
|
mounted: function() {
|