LOGO
ANEXO 01
FORMATO ÚNICO DE ATENCIÓN - FUA
{{$company->number ?? '10754789102'}} {{$company->name ?? 'ORTOPEDIA MQN'}}
N° HISTORIA CLÍNICA
#{{str_pad($medicalConsultation->id, 6, "0",STR_PAD_LEFT) ?? '1589547'}}
DOCTOR: {{$medicalConsultation->appointment->doctor->name ?? 'DR. NO ENCONTRADO'}}
ESPECIALIDAD: {{$medicalConsultation->appointment->specialty->name ?? 'NO ENCONTRADO'}}
DNI: {{$medicalConsultation->appointment->patient->number ?? 'NO ENCONTRADO'}} PACIENTE: {{$medicalConsultation->appointment->patient->name ?? 'NO ENCONTRADO'}}
SEXO: {{$patient->gender ?? 'MASCULINO'}} MOTIVO CONSULTA: {{$medicalConsultation->appointment->reason_for_consultation ?? 'NO ENCONTRADO'}}
FECHA DE ATENCIÓN: {{$medicalConsultation->appointment->date ?? 'NO ENCONTRADO'}} HORA DE ATENCIÓN: {{$medicalConsultation->appointment->schedule_time ?? 'NO ENCONTRADO'}}
EVA: {{$medicalConsultation->vas_scale ?? 'X'}}
ACTIVIDADES PREVENTIVAS
@if(!empty($parametros) && $parametros->count() > 0) @foreach($parametros->chunk(3) as $row) @foreach($row as $parametro) @endforeach {{-- Completar con celdas vacías si la fila tiene menos de 3 elementos --}} @for($i = $row->count(); $i < 3; $i++) @endfor @endforeach @else {{-- Fila de respaldo si no hay parámetros --}} @endif
{{$parametro->parameter->paramter_name}}: {{$parametro->value}}
No hay datos disponibles
@if(!empty($quotationItems))
LISTA DE PRODUCTOS
@foreach($quotationItems as $index => $quotationItem) @endforeach
# PRODUCTO
{{$index + 1}} {{$quotationItem->item->description ?? 'RTRHHHRRT'}}
@endif @if(!empty($diagnoses))
DIAGNÓSTICOS
@foreach($diagnoses as $index => $diagnosis) @endforeach
# DIAGNÓSTICO
{{$index + 1}} {{$diagnosis->diagnose->diagnoses_description ?? 'RTRHHHRRT'}}
@endif @if(!empty($procedures))
PROCEDIMIENTOS
@foreach($procedures as $index => $procedure) @endforeach
# PROCEDIMIENTO DURACIÓN
{{$index + 1}} {{$procedure->procedure ? $procedure->procedure->description : 'RTRHHHRRT'}} {{$procedure->duration ?? ($index == 0 ? '5 días' : '2 días')}}
@endif @if(!empty($lab_exams))
EXÁMENES DE LABORATORIO
@foreach($lab_exams as $index => $exam) @endforeach
# EXAMEN
{{$index + 1}} {{$exam->name ?? 'RTRHHHRRT'}}
@endif
FIRMA PACIENTE FIRMA DOCTOR