@ampath/esm-dha-workflow-app 4.0.0-claim-workflows.413 → 4.0.0-claim-workflows.415

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,9 +25,9 @@ import { type TagColor } from 'src/types/types';
25
25
  interface facilityBillsProps {
26
26
  billingDate: string;
27
27
  locationUuid: string;
28
- onDateChange?: (value: string) => void;
28
+ onRefresh?: (value: string) => void;
29
29
  }
30
- const FacilityBillsV3: React.FC<facilityBillsProps> = ({ billingDate, locationUuid, onDateChange }) => {
30
+ const FacilityBillsV3: React.FC<facilityBillsProps> = ({ billingDate, locationUuid, onRefresh }) => {
31
31
  const [facilityBills, setFacilityBills] = useState<PatientBill[]>([]);
32
32
  const [currentView, setCurrentView] = useState<BillingView>(BillingView.Bills);
33
33
  const [selectedPatientUuid, setSelectedPatientUuid] = useState<string>('');
@@ -179,6 +179,7 @@ const FacilityBillsV3: React.FC<facilityBillsProps> = ({ billingDate, locationUu
179
179
  }
180
180
  function handleRefresh(){
181
181
  getFacilityBills();
182
+ handleRefresh();
182
183
  }
183
184
 
184
185
  return (
@@ -228,8 +229,10 @@ const FacilityBillsV3: React.FC<facilityBillsProps> = ({ billingDate, locationUu
228
229
  <TableHeader>No</TableHeader>
229
230
  <TableHeader>Date</TableHeader>
230
231
  <TableHeader>Patient</TableHeader>
231
- <TableHeader> Claim Status</TableHeader>
232
- <TableHeader> Cash Status</TableHeader>
232
+ <TableHeader>Provider Status</TableHeader>
233
+ <TableHeader>Payer Status</TableHeader>
234
+ <TableHeader>Service Type</TableHeader>
235
+ <TableHeader>Cash Status</TableHeader>
233
236
  <TableHeader>Identifier</TableHeader>
234
237
  </TableRow>
235
238
  </TableHead>
@@ -249,6 +252,12 @@ const FacilityBillsV3: React.FC<facilityBillsProps> = ({ billingDate, locationUu
249
252
  </TableCell>
250
253
  <TableCell>
251
254
  <Tag type={getTagTypeByStatus(fb?.claim_status ?? '')}>{fb.claim_status}</Tag>
255
+ </TableCell>
256
+ <TableCell>
257
+ { fb.payer_status }
258
+ </TableCell>
259
+ <TableCell>
260
+ { fb.service_type }
252
261
  </TableCell>
253
262
  <TableCell>
254
263
  {(() => {