@extends('layouts.nurse') @section('title', 'Health Records History') @section('content')

Health Records History

View all maternal health records

Total Records

{{ $records->total() }}

All Time

Today's Appointments
@forelse($records as $record) @empty @endforelse
Visit Date Patient IC Number Visit # Tests Status Recorded By Actions
{{ $record->formatted_visit_date }} {{ $record->mother->expectantMother->ic_number }} Visit #{{ $record->visit_number }} {{ $record->testResults->count() }} test(s) @php $statusColors = [ 'draft' => 'bg-yellow-100 text-yellow-800', 'completed' => 'bg-green-100 text-green-800', 'reviewed' => 'bg-blue-100 text-blue-800', ]; @endphp {{ ucfirst($record->status) }} {{ $record->recordedByNurse->name }}
@if($record->status === 'draft') @endif

No health records found

Start by creating records for today's appointments

@if($records->hasPages())
{{ $records->links() }}
@endif
@endsection