@extends('layouts.admin') @section('title', $patient->exists ? 'Edit Patient' : 'Add New Patient') @section('content') Back @if($errors->any())
@foreach($errors->all() as $e)
{{ $e }}
@endforeach
@endif
@csrf @if($patient->exists) @method('PUT') @endif
Patient Information
@if($patient->exists)
@endif
Clinical Background (optional)
@unless($patient->exists) {{-- Patient → Doctor → Department → Clinical Disease/Diagnosis → Appointment (PDF §3) --}}
First Appointment (optional — assigns directly to the doctor's dashboard)
Medication History (optional)
@endunless
@push('scripts') @endpush @endsection