@php $adminName = $admin['full_name'] ?? 'PKU Admin'; $patientName = $patient['full_name'] ?? 'Unknown Patient'; $initial = strtoupper(substr($patientName, 0, 1)); $patientId = $patient['upsi_id'] ?? '-'; $faculty = $patient['faculty'] ?? '-'; $role = ucfirst($patient['role'] ?? 'Patient'); $suggestedDate = !empty($followUp['follow_up_date']) ? date('Y-m-d', strtotime($followUp['follow_up_date'])) : ''; $suggestedText = !empty($followUp['follow_up_date']) ? date('d M Y', strtotime($followUp['follow_up_date'])) : '-'; $doctorName = $doctor['full_name'] ?? 'Doctor'; @endphp Schedule Follow-Up

Schedule Follow-Up

{{ now()->format('D, d M Y') }}
@if($errors->any())
Please complete all required appointment details.
@endif @if(session('error'))
{{ session('error') }}
@endif

Schedule Follow-Up Appointment

Confirm the appointment details before adding it to the patient schedule

Follow-Up Request

{{ $patientName }}

{{ $initial }}

{{ $patientName }}

{{ $patientId }} · {{ $role }}

{{ $role }}
Faculty {{ $faculty }}
Suggested Date {{ $suggestedText }}
Requested By {{ $doctorName }}
Status {{ ucfirst($followUp['status'] ?? 'pending') }}
Doctor Notes

{{ $followUp['notes'] ?? 'No follow-up notes recorded.' }}

Appointment Details

@csrf
This appointment will appear in My Appointment.

Once scheduled, the follow-up request status will be updated to scheduled and a new follow-up appointment will be created for the patient.

Back