@extends('layouts.app') @section('title', 'Health & Wellness Dashboard') @section('content')

Health & Wellness Dashboard

Occupational health monitoring and medical records

Surveillance Records

{{ $stats['total_surveillance_records'] }}

Due Surveillance

{{ $stats['due_surveillance'] }}

First Aid Entries

{{ $stats['total_first_aid_entries'] }}

Ergonomic Assessments

{{ $stats['total_ergonomic_assessments'] }}

Work-Related Sick Leave

{{ $stats['work_related_sick_leave'] }}

Recent First Aid Entries

@forelse($recentFirstAid as $entry)

{{ $entry->injured_person_name ?? ($entry->injuredPerson->name ?? 'Unknown') }}

{{ $entry->reference_number }}

{{ ucfirst($entry->severity) }}
{{ $entry->incident_date->format('M d, Y') }} {{ $entry->location ?? 'N/A' }}
@empty

No first aid entries recorded

@endforelse

Recent Health Surveillance

@forelse($recentSurveillance as $record)

{{ $record->user->name ?? 'Unknown' }}

{{ $record->reference_number }}

{{ ucfirst(str_replace('_', ' ', $record->result)) }}
{{ $record->examination_date->format('M d, Y') }} {{ ucfirst(str_replace('_', ' ', $record->surveillance_type)) }}
@empty

No surveillance records

@endforelse

Health Surveillance

Medical examinations & tests

First Aid Logbook

First aid records

Ergonomic Assessments

Workplace ergonomics

@endsection