{{ __('Health Management Dashboard') }}

Welcome back, {{ auth()->user()->name }}!

Quick Patient Search

Search by name, ID, email, or phone number

View All

Recent Patients

Latest registered patients

@php $recentPatients = \App\Models\Patient::latest()->limit(5)->get(); @endphp @if($recentPatients->count() > 0) @else

No patients registered yet

Get started by registering a new patient.

@endif

Recent Medical Records

Latest patient visits

@php $recentRecords = \App\Models\MedicalRecord::with(['patient', 'doctor'])->latest()->limit(5)->get(); @endphp @if($recentRecords->count() > 0)
@foreach($recentRecords as $record)

{{ $record->patient->full_name }}

{{ $record->visit_type }} • {{ $record->doctor->name }}

{{ $record->visit_date->format('M d, Y') }}

{{ $record->visit_date->diffForHumans() }}

@endforeach
@else

No medical records yet

Medical records will appear here as they are created.

@endif