Vijayakrishnan 4 лет назад
Родитель
Сommit
0c787baa7a

+ 9 - 3
resources/views/app/patient/note/_create-claim.blade.php

@@ -57,7 +57,8 @@
             <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 class="width-100px border-bottom-0">DOS</th>
+                <th class="border-bottom-0">Units</th>
                 <th class="border-bottom-0">ICDs</th>
                 <th class="border-bottom-0">&nbsp;</th>
             </tr>
@@ -70,6 +71,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"
@@ -122,7 +126,8 @@
                     {
                         cpt: '',
                         dateOfService: '{{date('Y-m-d')}}',
-                        icds: JSON.parse(JSON.stringify(window.noteReasons))
+                        icds: JSON.parse(JSON.stringify(window.noteReasons)),
+                        numberOfUnits: 1
                     }
                 ]
             }
@@ -132,7 +137,8 @@
                 this.payload.lines.push({
                     cpt: '',
                     dateOfService: '{{date('Y-m-d')}}',
-                    icds: JSON.parse(JSON.stringify(window.noteReasons))
+                    icds: JSON.parse(JSON.stringify(window.noteReasons)),
+                    numberOfUnits: 1
                 });
                 Vue.nextTick(() => {
                     this.initICDAutoSuggest();

+ 5 - 1
resources/views/app/patient/note/dashboard.blade.php

@@ -1525,7 +1525,11 @@
                                                     <tbody class="pb-3">
                                                         @foreach($claim->lines as $line)
                                                         <tr class="claim-line">
-                                                            <td>{{$line->cpt}}</td>
+                                                            <td>{{$line->cpt}}
+                                                            @if($line->numberOfUnits)
+                                                                    <div>Units: <b>{{$line->numberOfUnits}}</b></div>
+                                                            @endif
+                                                            </td>
                                                             <td class="text-nowrap">{{friendlier_date($line->date_of_service)}}</td>
                                                             <td>
                                                                 @if(count($line->claimLineIcds))