@extends('layouts.nurse') @section('title', 'Nurse Dashboard') @section('content')
@if(auth()->user()->must_change_password)

Password Change Required

You must change your password before accessing all features.

Change Password Now
@endif

Assigned Mothers

{{ $assignedMothers ?? 0 }}

In your zones

High Risk (Red)

{{ $highRiskCount ?? 0 }}

Requires attention

Today's Appointments

{{ $todayAppointments ?? 0 }}

Scheduled visits

Pending Updates

{{ $pendingUpdates ?? 0 }}

Records to update

@if(isset($mothersInZones) && $mothersInZones->count() > 0)

Your Assigned Mothers

{{ $mothersInZones->count() }} mothers in your care

View All Records
@foreach($mothersInZones as $mother)
{{ $mother->mother_full_name ?? $mother->user->name }}

Series: {{ $mother->series_number }}

{{ $mother->currentAssignment->zone->zone_code }} - {{ $mother->currentAssignment->zone->zone_name }}

{{ ucfirst($mother->currentAssignment->assignment_type) }} assigned
Mother
@endforeach
@else

No Assigned Mothers

You don't have any mothers assigned to your zones yet.

Browse Available Records
@endif

Maternal Health Records

Manage antenatal blood screening test results and maternal health data

Color Code Management

Manage patient risk assessments and color code updates

High Risk
Moderate
Low Risk
No Risk
Manage Color Codes

Appointments

View and manage patient appointments and schedules

View Appointments
Today: {{ $todayAppointments ?? 0 }} appointments
@endsection