@extends('layouts.app') @section('title', 'Patient') @section('content')

{{ $patient->user->name ?? '-' }}

MRN {{ $patient->mrn }} ยท {{ $patient->gender }}
Edit
@csrf @method('DELETE')
Profile
Email
{{ $patient->user->email ?? '-' }}
DOB
{{ $patient->date_of_birth ?? '-' }}
Blood type
{{ $patient->blood_type ?? '-' }}

Address
{{ $patient->address ?? '-' }}
Recent Appointments
@foreach ($patient->appointments->sortByDesc('scheduled_at')->take(10) as $a) @endforeach
WhenDoctorStatus
{{ $a->scheduled_at }} {{ $a->doctor->user->name ?? '-' }} {{ $a->status }}
@endsection