{{ $this->form }} @if ($this->selectedPatient)

{{ __('prescription.patient') }}

{{ __('patient.name') }}
{{ $this->selectedPatient->name }}
{{ __('patient.age') }}
{{ $this->selectedPatient->age ?? '-' }}
{{ __('patient.gender') }}
{{ $this->selectedPatient->gender ?? '-' }}
{{ __('patient.allergies') }}
{{ $this->selectedPatient->allergies ?: '-' }}
@if ($this->previousPrescriptions->isNotEmpty())
{{ __('prescription.clone_previous') }}
@foreach ($this->previousPrescriptions as $oldPrescription) @endforeach
@endif
@endif
@if ($showPreview) @include('filament.pages.partials.prescription-preview', ['data' => $data, 'patient' => $this->selectedPatient]) @endif