@if (! empty($queueIntegration['enabled']) && $rx->queue_ticket_number)
@include('care.partials.queue-ticket', [
'ticketNumber' => $rx->queue_ticket_number,
'ticketStatus' => $rx->queue_ticket_status,
])
@endif
{{ $rx->patient->fullName() }}
{{ $rx->patient->patient_number }} · {{ $rx->visit->branch?->name }}
@foreach ($rx->items as $item)
- {{ $item->is_procedure ? 'Procedure' : 'Med' }}: {{ $item->name }} {{ $item->dosage }} {{ $item->frequency }}
@endforeach
@if ($canDispense)
@if (! empty($queueIntegration['enabled']) && $rx->queue_ticket_uuid && ($rx->queue_ticket_status ?? '') !== 'serving')
@php
$pointUuid = (string) ($rx->queue_service_point_uuid ?? '');
$mine = empty($memberCounterUuid)
|| $pointUuid === ''
|| $pointUuid === (string) $memberCounterUuid;
@endphp
@if ($mine)
@endif
@endif
@endif