@php $ppUrl = $appointment->Patient && auth()->user()->can('patient-profile-view') ? route('patient_management.patient.profile', $appointment->Patient->id) : null; @endphp
ID: {{ $appointment->Patient?->patient_id }}
- {{ Ucfirst($appointment->Patient?->gender) }}
-
{{ \Carbon\Carbon::parse($appointment->Patient?->dob)->diff(now())->format('%y years, %m months') }}
-
{{ $appointment->Patient?->marital_status }}
-
{{ $appointment->Patient?->address }}
-
{{ $appointment->Patient?->phone }}
@if (auth()->user()->can('patient-obstetric-history') && strtolower((string) $appointment->Patient?->gender) === 'female')
-
GR {{ $appointment->Patient?->gravida ?? '-' }} ยท PR {{ $appointment->Patient?->para ?? '-' }}{{ $appointment->Patient?->para_plus ? '+' . $appointment->Patient->para_plus : '' }}
@endif
@if ($ppUrl)
Patient profile
@endif
id) }}') class="btn btn-primary waves-effect waves-light">
Patient records
{{-- Hidden on the single page โ its patient_info.blade.php
General Information tab edits the patient instead. --}}
@if (!($hideEditPatient ?? false) && auth()->user()->can('patient-update'))
Edit Patient
@endif
@if (($appointment ?? null)?->id && auth()->user()->can('appointment-follow-up'))
Book follow-up
@endif
{{-- Surgical procedures, recalls and the IOP trend are tabs now (menu.blade.php) --}}