@extends('layouts.app') @section('title', $patient->full_name) @section('content')
{{ $patient->mrn }}
⚠ ALLERGIES
{{ implode(', ', $patient->allergies) }}
Chronic Conditions
{{ implode(', ', $patient->chronic_conditions) }}
{{ $contact->name }}
@if($contact->relationship){{ ucfirst($contact->relationship) }}
@endif @if($contact->phone)📞 {{ $contact->phone }}
@endif @if($contact->id_number)ID: {{ $contact->id_number }}
@endif @if($contact->is_billing_guarantor)Billing Guarantor @if($contact->credit_limit) · Limit: KES {{ number_format($contact->credit_limit) }}@endif
@endifNo contacts recorded. Add guardian, caregiver, next of kin, or guarantor details.
@endforelse {{-- Legacy NOK fallback (shown when no structured contacts exist) --}} @if($patient->contacts->isEmpty() && ($patient->nok_name || $patient->nok_phone))Legacy Next of Kin (not yet structured)
{{ $patient->nok_name }}
{{ $patient->nok_phone }} · {{ $patient->nok_relationship }}
Consider migrating to a structured contact using the Add button above.
{{ $apt->appointment_date->format('D, d M Y') }} {{ $apt->appointment_time ? '@ '.$apt->appointment_time : '' }}
{{ $apt->type }} · {{ $apt->department->name ?? '' }}
| Date | Visit # | Type | Doctor | Invoice | Status |
|---|---|---|---|---|---|
| {{ $visit->created_at->format('d M Y') }} | {{ $visit->visit_number }} | {{ str_replace('_', ' ', $visit->visit_type) }} | {{ $visit->clinician->name ?? '-' }} | @if($visit->invoice) KES {{ number_format($visit->invoice?->total_amount) }} @else - @endif | {{ ucfirst(str_replace('_',' ',$visit->status)) }} |
| No visits recorded yet. | |||||
| Issued | Treatment | Days | Issued To | Sign-off | |
|---|---|---|---|---|---|
| {{ $sl->issued_at?->format('d M Y H:i') }} | {{ $sl->treatment_date?->format('d M Y') }} | {{ $sl->days }} | @if($sl->isForGuardian()) Guardian {{ $sl->guardian_name }} @else Patient @endif | {{ $sl->sign_off_name }} | View · Print |
Ward: {{ $adm->ward->name ?? '' }} · Bed: {{ $adm->bed->bed_number ?? '' }}
Since: {{ $adm->admission_date->format('d M Y') }} ({{ $adm->length_of_stay }} day{{ $adm->length_of_stay == 1 ? '' : 's' }})
Reason: {{ $adm->reason }}