@extends('layouts.admin') @section('content')
Total Pacientes

{{ $totalPatients }}

Total Prontuários

{{ $totalRecords }}

Média por Paciente

{{ $totalPatients > 0 ? round($totalRecords / $totalPatients, 1) : 0 }}

Últimos Pacientes Cadastrados
Ver todos
@forelse($recentPatients as $patient) @empty @endforelse
NomeProtocoloProntuáriosCadastro
{{ $patient->name }} {{ $patient->protocol }} {{ $patient->medical_records_count ?? 0 }} {{ $patient->created_at->format('d/m/Y H:i') }}
Nenhum paciente cadastrado
@endsection