@if(empty($results['patients']) && empty($results['doctors']) && empty($results['consultations']))
No results found for "{{ $query }}"
@else
@if(!empty($results['patients']))

Patients

@foreach($results['patients'] as $patient)

{{ $patient->full_name }}

{{ $patient->uhid }} • {{ $patient->phone }}

@endforeach
@endif @if(!empty($results['doctors']))

Doctors

@foreach($results['doctors'] as $doctor)

{{ $doctor->full_name }}

{{ $doctor->specialization }}

@endforeach
@endif @if(!empty($results['consultations'])) @endif
@endif