Medication Order #{{ $order->id }}

Generated on {{ now()->format('F d, Y h:i A') }}

Order Information

Order ID:
{{ $order->id }}
Status:
{{ $order::STATUSES[$order->status] }}
Created:
{{ $order->created_at->format('M d, Y h:i A') }}
@if($order->doctor)
Doctor:
{{ $order->doctor->name }}
Assigned:
{{ $order->assigned_at ? $order->assigned_at->format('M d, Y h:i A') : 'N/A' }}
@endif @if($order->prescribed_at)
Prescribed:
{{ $order->prescribed_at->format('M d, Y h:i A') }}
@endif @if($order->completed_at)
Completed:
{{ $order->completed_at->format('M d, Y h:i A') }}
@endif @if($order->rejected_at)
Rejected:
{{ $order->rejected_at->format('M d, Y h:i A') }}
@endif

Notes

Patient Notes:
{{ $order->patient_notes ?: 'No notes provided.' }}
@if($order->doctor_notes)
Doctor's Notes:
{{ $order->doctor_notes }}
@endif @if($order->rejection_reason)
Rejection Reason:
{{ $order->rejection_reason }}
@endif

Requested Medications

@foreach($order->items as $item) @endforeach
Medication Requested Dosage Requested Quantity Status
@if($item->isCustomMedication()) {{ $item->custom_medication_name }} @if($item->custom_medication_details)
{{ $item->custom_medication_details }}
@endif @else {{ $item->medication->name }}
{{ $item->medication->generic_name }} - {{ $item->medication->strength }} {{ $item->medication->dosage_form }}
@endif
{{ $item->requested_dosage ?: 'Not specified' }} {{ $item->requested_quantity ?: 'Not specified' }} {{ $item::STATUSES[$item->status] }} @if($item->status === 'rejected' && $item->rejection_reason)
{{ $item->rejection_reason }}
@endif
@if($order->prescription)

Prescription Details

@foreach($order->prescription->items as $item) @endforeach
Medication Dosage Frequency Duration Quantity
@if($item->isCustomMedication()) {{ $item->custom_medication_name }} @if($item->custom_medication_details)
{{ $item->custom_medication_details }}
@endif @else {{ $item->medication->name }} @endif
{{ $item->dosage }} {{ $item->frequency }} {{ $item->duration }} days {{ $item->quantity }}
@endif