Patient: {{ $prescription->user->name }}
Doctor: {{ $prescription->doctor?->name }}
Status: {{ config('status.prescription')[$prescription->status] }}
@if($prescription->dispensed_at)Dispensed on: {{ $prescription->dispensed_at }}
@endifCreated At: {{ $prescription->created_at->format('F j, Y H:i:s') }}
| Medication | Dosage | Frequency | Duration | Quantity |
|---|---|---|---|---|
| {{ $item->medication?->name }} | {{ $item->dosage }} | {{ $item->frequency }} | {{ $item->duration }} | {{ $item->quantity }} |
| Allergen | Reaction |
|---|---|
| {{ $allergy->allergen }} | {{ $allergy->reaction }} |
{!! nl2br($prescription->notes) ?? 'No notes available.' !!}