{{-- Datos del paciente (ya cargados con Eager Loading) --}}
{{ $item->paciente->nombre }}
@if ($item->tratamiento->tipo3 == 'NO')
NO APLICA SALIDAS
@endif
@if ($item->tratamiento->tipo3 == 'SI')
{{-- AHORA: Verificamos la propiedad que creamos en la subconsulta (salidainsumos)--}}
{{-- Si es 1 (true), entra. Si es null (false), se va al else. --}}
@if ($item->tiene_salida)
SI REALIZADO
@else
NO REALIZADO
{{-- Botón de desbloqueo --}}
@endif
@endif