Doctor Consultation

Review patient information and conduct consultations

Dr. {{ auth()->user()->name }}
@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif

Instructions: Select a patient visit to review vitals recorded by nursing staff, view medical history, and conduct consultation. All information is linked to the visit record.

Patients Waiting for Doctor

@if($visits->count() > 0)
@foreach($visits as $visit)

{{ $visit->patient->full_name }}

{{ $visit->patient->patient_id }}

{{ $visit->status_label }}
Checked in: {{ $visit->checked_in_at->format('h:i A') }}
@if($visit->chief_complaint)
{{ strlen($visit->chief_complaint) > 60 ? substr($visit->chief_complaint, 0, 60) . '...' : $visit->chief_complaint }}
@endif @php $hasVitals = $visit->medicalRecords->where('visit_id', $visit->id)->first()?->vital_signs; @endphp @if($hasVitals)
✓ Vitals recorded
@endif
@endforeach
@else

No patients waiting

All patients have been seen or are waiting for other departments.

@endif
@if($visits->hasPages())
{{ $visits->links() }}
@endif
@if($showConsultationModal && $selectedVisit && $selectedPatient) @endif @if($showLabRequestModal && $selectedVisitId && $selectedPatient) @livewire(\App\Livewire\Labs\LabRequestForm::class, ['visitId' => $selectedVisitId, 'patientId' => $selectedPatient->id], key('lab-request-' . $selectedVisitId)) @endif @if($showAdmissionModal && $selectedVisit && $selectedPatient) @endif @if($showSurgeryModal && $selectedVisit && $selectedPatient) @endif @if($showPrescriptionModal && $selectedVisit && $selectedPatient) @endif