number_format((float) $n, $d); $dash = static fn ($v) => ($v === '' || $v === null) ? '—' : $v; $logoPath = rtrim(ROOTPATH, '/\\') . '/public/assets/images/abhi.png'; $img = static function (string $key) use ($charts): string { $path = $charts[$key] ?? ''; if ($path === '' || !is_file($path)) { return '
—
'; } return '|
|
= esc($header['policy_number'] ?? '') ?>Policy Number
= esc($meta['client_name'] ?? '') ?>Client Name
= esc($meta['tpa_name'] ?? ($header['claim_processor'] ?? '')) ?>TPA Name
= esc($meta['last_refresh'] ?? date('d-M-Y')) ?>Last Refresh
|
|
Premium
|
Claim
|
|
Total Claim Count/Amount
= $img('donut') ?>
|
Pre-Auth TAT By Claim Count
= $img('preAuth') ?>
|
|
Claim Status
|
Policy Premium
|
= esc($fmt($vm['lives'] ?? ($header['lives'] ?? 0), 0)) ?>
Lives
= esc(number_format((float) ($vm['icr'] ?? ($summary['icr_pct'] ?? 0)), 2)) ?>%
ICR
|
|||||||||||||||||
|
Reimbursement TAT By Claim Count
|
Premium, Earn Premium and Claim Incurred Amount
= $img('premiumBars') ?>
|
|
Total Claim Number
= $img('genderCount') ?>
|
Total Claim Amount
= $img('genderAmt') ?>
|
Gender Incurred
|
| Claim Type | Claim Count | Claim Count % | Claim Amount | Claim Amount % | Claim Incurred Amount | Claim Incurred Amount % |
|---|---|---|---|---|---|---|
| = !empty($r['header']) ? '' : ' ' ?>= esc($r['type'] ?? '') ?>= !empty($r['header']) ? '' : '' ?> | = esc($fmt($r['count'] ?? 0, 0)) ?> | = esc($r['countPct'] ?? '') ?> | = esc($fmt($r['amount'] ?? 0)) ?> | = esc($r['amtPct'] ?? '') ?> | = esc($fmt($r['incurred'] ?? 0)) ?> | = esc($r['incPct'] ?? '') ?> |
| Total | = esc($fmt($vm['claimTypeTotal']['count'] ?? 0, 0)) ?> | 100.00 | = esc($fmt($vm['claimTypeTotal']['amount'] ?? 0)) ?> | 100.00 | = esc($fmt($vm['claimTypeTotal']['incurred'] ?? 0)) ?> | 100.00 |
|
Relation
|
Member Type
|
|
Age
|
Diagnosis
|
|
Utilization Report for Employees (In-Patient Claims)
|
Utilization Report for Dependent (In-Patient Claims)
|
| Hospital Name | Incurred Claim Count | Claim Count % | Claim Incurred Amount | Claim Incurred Amount % |
|---|---|---|---|---|
| = esc($r['name'] ?? '') ?> | = esc($fmt($r['count'] ?? 0, 0)) ?> | = esc($r['cpct'] ?? '') ?> | = esc($fmt($r['amt'] ?? 0)) ?> | = esc($r['apct'] ?? '') ?> |
| Total | = esc($fmt($vm['hospitalTotal']['count'] ?? 0, 0)) ?> | 100.00 | = esc($fmt($vm['hospitalTotal']['incurred_amount'] ?? 0)) ?> | 100.00 |
|
Claim Paid Count By Claim Type
= $img('paidCount') ?>
|
Claim Paid Amount and ACS
= $img('paidAmtAcs') ?>
|
|
Claim Count By Claim Status
= $img('countStatus') ?>
|
Claim Amount By Claim Status
= $img('amtStatus') ?>
|
| Hospital City | Claim Count | Claim Amount | Claim Paid Count | Claim Paid Amount | Claim Outstanding Count | Claim Outstanding Amount | Total ACS |
|---|---|---|---|---|---|---|---|
| = esc($r['city'] ?? '') ?> | = esc($fmt($r['count'] ?? 0, 0)) ?> | = esc($fmt($r['amt'] ?? 0)) ?> | = esc($dash($r['paidCount'] ?? '')) ?> | = esc(($r['paidAmt'] === '' || $r['paidAmt'] === null) ? '—' : $fmt($r['paidAmt'])) ?> | = esc($dash($r['outCount'] ?? '')) ?> | = esc(($r['outAmt'] === '' || $r['outAmt'] === null) ? '—' : $fmt($r['outAmt'])) ?> | = esc($dash($r['acs'] ?? '')) ?> |
| Total | = esc($fmt($ct['count'] ?? 0, 0)) ?> | = esc($fmt($ct['amt'] ?? 0)) ?> | = esc($fmt($ct['paidCount'] ?? 0, 0)) ?> | = esc($fmt($ct['paidAmt'] ?? 0)) ?> | = esc($fmt($ct['outCount'] ?? 0, 0)) ?> | = esc($fmt($ct['outAmt'] ?? 0)) ?> | = esc($fmt($ct['acs'] ?? 0)) ?> |
|
Claim Paid Count and Claim Outstanding Count by Registration Month
= $img('monthCount') ?>
|
Claim Paid Amount, Claim Outstanding Amount by Registration Date
= $img('monthAmt') ?>
|
| Month | Paid Count | Outstanding Count | Paid Amount | Outstanding Amount |
|---|---|---|---|---|
| = esc($month) ?> | = esc($fmt($vm['paidCountByMonth'][$i] ?? 0, 0)) ?> | = esc($fmt($vm['outCountByMonth'][$i] ?? 0, 0)) ?> | = esc($fmt($vm['paidAmtByMonth'][$i] ?? 0)) ?> | = esc($fmt($vm['outAmtByMonth'][$i] ?? 0)) ?> |