{{-- 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