@extends('layouts.app') @push('styles') @include('dashboard.styles') @endpush @section('content')
Clinic Leader Dr.
NCD program analytics for {{ $clinicLeader }} and stakeholders.
{{ $card['title'] }}
Key rates for selected filters
| Metric | Value |
|---|---|
| {{ $row['metric'] }} | {{ $row['value'] }} |
Latest age at report end
Latest follow-up rates
New registrations vs follow-ups
Latest visit per patient (rate %)
Latest follow-up BP stage
Latest visit per patient (rate %)
Latest test per patient
Missed appointment
For each active patient, every visit with Next_Appointment is compared to the next visit date. If the next visit date is not exactly the appointment date (or there is no next visit), that appointment is missed. A patient is counted if they missed at least one appointment in the selected period. If the last visit has a Next_Appointment after the report end date and no matching visit is observed, it is still counted as missed. Inactive patients are excluded.
Active caseload
Latest follow-up per patient: visit_date is within the last {{ $thresholds['active_days'] ?? 90 }} days of the report end date.
LTFU
Latest follow-up per patient: no visit recorded or visit_date is earlier than the report end date minus {{ $thresholds['ltfu_days'] ?? 90 }} days.
Late visit
Latest follow-up per patient: Late_visit or Late_follow is marked yes.
Late visits, missed appointments, LTFU
Lab coverage metrics (%)
Most common entries
| Medication | Count |
|---|---|
| {{ $row['medication'] ?? $row['title'] ?? '' }} | {{ $row['count'] ?? $row['value'] ?? '' }} |
Baseline uncontrolled -> latest controlled
| Metric | Eligible | Improved | Rate % |
|---|---|---|---|
| {{ $row['metric'] }} | {{ $row['eligible'] }} | {{ $row['improved'] }} | {{ $row['rate'] }} |
Controlled in the last two visits
| Metric | Eligible | Sustained | Rate % |
|---|---|---|---|
| {{ $row['metric'] }} | {{ $row['eligible'] }} | {{ $row['sustained'] }} | {{ $row['rate'] }} |
Medication counts
Number of meds per patient
Days between visits
| Group | Patients | BP control % | DM control % |
|---|---|---|---|
| {{ $row['label'] }} | {{ $row['patients'] }} | {{ $row['bp_control_rate'] }} | {{ $row['dm_control_rate'] }} |
| Group | Patients | BP control % | DM control % |
|---|---|---|---|
| {{ $row['label'] }} | {{ $row['patients'] }} | {{ $row['bp_control_rate'] }} | {{ $row['dm_control_rate'] }} |
| Group | Patients | BP control % | DM control % |
|---|---|---|---|
| {{ $row['label'] }} | {{ $row['patients'] }} | {{ $row['bp_control_rate'] }} | {{ $row['dm_control_rate'] }} |
| Sex | Patients | BP control % | DM control % | LTFU % |
|---|---|---|---|---|
| {{ $row['label'] }} | {{ $row['patients'] }} | {{ $row['bp_control_rate'] }} | {{ $row['dm_control_rate'] }} | {{ $row['ltfu_rate'] }} |
| Age band | Patients | BP control % | DM control % | LTFU % |
|---|---|---|---|---|
| {{ $row['label'] }} | {{ $row['patients'] }} | {{ $row['bp_control_rate'] }} | {{ $row['dm_control_rate'] }} | {{ $row['ltfu_rate'] }} |
Latest follow-up outcomes
Referral locations and transfers