@extends('layouts.app') @section('title', 'Maternity Dashboard') @section('content') {{-- Stats cards --}}
Active ANC
{{ $stats['total_active'] }}
1st ANC Today
{{ $stats['first_anc_today'] }}
Week: {{ $stats['first_anc_week'] }} · Month: {{ $stats['first_anc_month'] }}
Follow-ups Today
{{ $stats['followup_today'] }}
High Risk
{{ $stats['high_risk'] }}
Delivered (Month)
{{ $stats['deliveries_month'] }}
Missed Follow-ups
{{ $missedFollowups->count() }}
{{ $r->patient->full_name ?? '' }}
{{ $r->patient->phone ?? '' }}
Due: {{ $r->next_visit_date?->format('d M') }}
{{ $r->next_visit_date?->diffForHumans() }}
No missed follow-ups.
@endforelse{{ $d->patient->full_name ?? '' }}
{{ $d->mode_of_delivery }} · {{ $d->delivery_date?->format('d M Y') }}
{{ $d->newborns->first()?->birth_weight }}kg · {{ ucfirst($d->newborns->first()?->gender ?? '') }}
@endifNo recent deliveries.
@endforelse| Patient | GA | EDD | Gravida | Visits | Risk | Package | Next Visit | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $r->patient->full_name ?? '' }} {{ $r->patient->mrn ?? '' }} |
{{ $r->gestational_age ?? '-' }}wks | {{ $r->edd?->format('d M Y') ?? '-' }} | G{{ $r->gravida }}P{{ $r->parity }} | {{ $r->visits_count }} | {{ ucfirst($r->risk_status ?? 'normal') }} | {{ \App\Services\AncPackage::forType($r->package_type)['label'] ?? ($r->package_type ?? '-') }} | {{ $r->next_visit_date?->format('d M') ?? '-' }} | View |
| No active ANC clients. | ||||||||