@extends('layouts.app') @section('title', $patient->name) @section('page-title', 'Patient Details') @section('content')
{{ $patient->patient_id }}

{{ $patient->name }}

Edit
Phone
{{ $patient->phone }}
Date of Birth
{{ $patient->dob->format('d M Y') }}
Blood Group
{{ $patient->blood_group }}
Gender
{{ $patient->gender }}
@if ($patient->nid_number)
NID Number
{{ $patient->nid_number }}
@endif
Address
{{ $patient->address }}

Appointments

@forelse ($patient->appointments as $appt)

Dr. {{ $appt->doctor->user->name }}

{{ $appt->appointment_date->format('d M Y, h:i A') }} — Serial #{{ $appt->serial_number }}

{{ $appt->status }}
@empty

No appointments yet.

@endforelse
@endsection