{{ __('Medication Order #') }}{{ $order->id }} for {{ $patient->first_name }} {{ $patient->last_name }}

Edit Order
Back to Medication Orders

Order Information

Order ID: {{ $order->id }}
Status: {{ ucfirst($order->status) }}
Created: {{ $order->created_at->format('M d, Y h:i A') }}
Last Updated: {{ $order->updated_at->format('M d, Y h:i A') }}
@if($order->doctor)
Doctor: {{ $order->doctor->name }}
@endif

Patient Notes

{{ $order->patient_notes ?? 'No notes provided.' }}

Medications

@if($order->items->isEmpty())

No medications in this order.

@else
@foreach($order->items as $item) @endforeach
Medication Requested Dosage Requested Quantity Status
@if($item->medication) {{ $item->medication->name }} @else {{ $item->custom_medication_name }} @if($item->custom_medication_details)
{{ $item->custom_medication_details }}
@endif @endif
{{ $item->requested_dosage ?? 'Not specified' }} {{ $item->requested_quantity ?? 'Not specified' }} {{ ucfirst($item->status) }}
@endif
@if($order->prescription)

Prescription

Prescription ID: {{ $order->prescription->id }}
Status: {{ ucfirst($order->prescription->status) }}
Created: {{ $order->prescription->created_at->format('M d, Y h:i A') }}

Prescribed Medications

@foreach($order->prescription->items as $item) @endforeach
Medication Dosage Quantity Instructions
@if($item->medication) {{ $item->medication->name }} @else {{ $item->custom_medication_name }} @endif {{ $item->dosage ?? 'Not specified' }} {{ $item->quantity ?? 'Not specified' }} {{ $item->instructions ?? 'Not specified' }}
@endif
@if($order->status === 'pending') Assign Doctor @endif