Lista de Pacientes/Homologar

Cerrar Sesión @if (session('success'))

{{ session('success') }}

@endif @foreach ($pacientes as $paciente) fecha_ultimo_estudio) @php $diferenciaMeses = \Carbon\Carbon::now()->diffInMonths(\Carbon\Carbon::parse($paciente->fecha_ultimo_estudio)); @endphp @if ($diferenciaMeses < 12) class="highlight-row" @endif @endif > @endforeach
RUT/DNI Nombre Centro de Atención Prestación Total de Estudios Fecha Último Estudio Ver Imagen Acción
{{ $paciente->rut_dni }} {{ $paciente->primer_nombre }} {{ $paciente->apellido_paterno }} {{ $paciente->centro_atencion }} {{ $paciente->prestacion }} {{ $paciente->total_estudios ?? '0' }} {{ $paciente->fecha_ultimo_estudio ? \Carbon\Carbon::parse($paciente->fecha_ultimo_estudio)->format('d/m/Y') : 'Sin estudios' }} @if ($paciente->ultimo_study_iuid) @else Sin UID @endif @if ($paciente->fecha_ultimo_estudio) @php $diferenciaMeses = \Carbon\Carbon::now()->diffInMonths( \Carbon\Carbon::parse($paciente->fecha_ultimo_estudio), ); @endphp @if ($diferenciaMeses < 12) HOMOLOGAR @endif @endif