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

Appointment #{{ $appointment->id }}

{{ $appointment->scheduled_at }} · {{ $appointment->patient->user->name ?? '-' }} → {{ $appointment->doctor->user->name ?? '-' }}
Edit
@csrf @method('DELETE')
Status
{{ $appointment->status }}
Department
{{ $appointment->department->name ?? '-' }}
Ends at
{{ $appointment->ends_at }}

Reason
{{ $appointment->reason ?? '-' }}
Notes
{{ $appointment->notes ?? '-' }}
Clinical
Diagnoses
@forelse ($appointment->diagnoses as $d)
{{ $d->icdCode->code ?? '' }} - {{ $d->icdCode->title ?? '' }}
{{ $d->diagnosed_at }}
@empty
No diagnoses.
@endforelse
@endsection