Paciente
Nombre: {{ $patient->fullName() }}
@if($patient->birthdate)
Edad: {{ $patient->age() }} años ({{ $patient->birthdate->format('d/m/Y') }})
@endif
@if($patient->document_number)
Doc: {{ strtoupper($patient->document_type ?? '') }} {{ $patient->document_number }}
@endif
@if($patient->blood_type)
Sangre: {{ $patient->blood_type }}
@endif
Profesional
Nombre: {{ $evolution->employee?->user?->name ?? '—' }}
Fecha: {{ $evolution->created_at->format('d/m/Y H:i') }}
@if($evolution->next_control_date)
Próx. control: {{ $evolution->next_control_date->format('d/m/Y') }}
@endif
MOTIVO DE CONSULTA
{{ $evolution->consultation_reason }}
@if($evolution->current_illness)
ENFERMEDAD ACTUAL
{{ $evolution->current_illness }}
@endif
@if($evolution->vital_signs)
SIGNOS VITALES
@php
$vsLabels = ['weight'=>'Peso (kg)','height'=>'Talla (cm)','bmi'=>'IMC','temperature'=>'Temp °C','systolic_bp'=>'P.A. Sist.','diastolic_bp'=>'P.A. Diast.','heart_rate'=>'F.C. lpm','respiratory_rate'=>'F.R.','oxygen_sat'=>'Sat. O₂'];
@endphp
@foreach($vsLabels as $key => $label)
@if(!empty($evolution->vital_signs[$key]))
{{ $evolution->vital_signs[$key] }}
{{ $label }}
@endif
@endforeach
@endif
@if($evolution->physical_exam)
EXAMEN FÍSICO
{{ $evolution->physical_exam }}
@endif
@if($evolution->diagnoses->count())
DIAGNÓSTICOS
@foreach($evolution->diagnoses as $diag)
{{ $diag->typeLabel() }}
{{ $diag->name }}
@if($diag->cie10_code)
CIE-10: {{ $diag->cie10_code }}
@endif
@endforeach
@endif
@if($evolution->treatment_plan)
PLAN DE TRATAMIENTO
{{ $evolution->treatment_plan }}
@endif
@if($evolution->recommendations)
RECOMENDACIONES
{{ $evolution->recommendations }}
@endif
{{ $evolution->employee?->user?->name ?? 'Profesional tratante' }}
Firma