@extends('patient.layout') @section('content')
Your health records

Hello, {{ $patient->first_name }}

Patient {{ $patient->patient_number }}

@if($bookingPolicy->enabled)Book an appointment@endif

Appointments

{{ $appointments->total() }} recorded

Times: {{ config('app.timezone') }}. Online changes close {{ $bookingPolicy->change_notice_hours }} hours before your appointment.

@forelse($appointments as $row)
{{ $row->facility_name ?: 'Clinic appointment' }}

{{ ucfirst(str_replace('_',' ',$row->modality??'in_person')) }}

{{ ucfirst(str_replace('_',' ',$row->status)) }}
@if($row->canChange) @if($bookingPolicy->enabled)Reschedule@endif
Cancel appointment
@csrf
@elseif($row->status==='scheduled')Contact the clinic for changes.@endif
@empty

No appointments recorded.

@endforelse
{{ $appointments->fragment('appointments')->links('patient.pagination') }}

Released lab results

Reviewed and released by your physician.

@forelse($results as $row)
{{ $row->test_name }}

Released {{ \Illuminate\Support\Carbon::parse($row->released_at)->format('d M Y') }}

Released
@empty

No released results available.

@endforelse
{{ $results->fragment('results')->links('patient.pagination') }}

Prescriptions

From completed consultations.

@forelse($prescriptions as $row)
{{ $row->medication_name }}

{{ $row->dose }} ยท {{ $row->frequency }}

{{ ucfirst($row->status) }}
@empty

No prescriptions from completed consultations.

@endforelse

A prescription record does not confirm current treatment.

{{ $prescriptions->fragment('prescriptions')->links('patient.pagination') }}

Invoices

{{ $invoices->total() }} issued
@forelse($invoices as $row) @empty@endforelse
InvoiceStatusTotalOutstandingDocument
{{ $row->number }}{{ ucfirst(str_replace('_',' ',$row->status)) }}{{ number_format($row->total,2) }} {{ $row->currency }}{{ number_format(max(0,$row->total-$row->paid_total),2) }} {{ $row->currency }}View / print
No issued invoices.
{{ $invoices->fragment('invoices')->links('patient.pagination') }}
@endsection