{{-- Single page only (not its ?embed=1 copy): patient banner + "View More Patient Info / Appointments" modal with General Information and Previous Visits tabs. A visit opens in its own stacked modal (that visit's single page, embedded) so the doctor can add lab/prescription without leaving this page; New Visit books another appointment for the same patient. --}} @php $pi_patient = $appointment->Patient; @endphp
@php $ppUrl = $pi_patient && auth()->user()->can('patient-profile-view') ? route('patient_management.patient.profile', $pi_patient->id) : null; @endphp @if ($ppUrl) {{ $pi_patient?->name }} @else {{ $pi_patient?->name }} @endif (Patient # {{ $pi_patient?->patient_id }}) @if ($pi_patient?->dob) - {{ \Carbon\Carbon::parse($pi_patient->dob)->age }} years @endif
Total Visits: - Last Visit Date: - Open Balance: -
Loading visit...
@can('appointment-create') @endcan @push('scripts') @endpush