{{-- Shared prescription line-item form body (create page + consultation / specialty modal). --}} @php $routes = $routes ?? config('care.medication_routes', []); $compact = $compact ?? false; $returnTo = $returnTo ?? ($compact ? 'consultation' : null); @endphp
@csrf
$compact, 'rounded-2xl border border-slate-200 bg-white p-6' => ! $compact, ])>

$compact, 'text-sm font-semibold uppercase text-slate-500' => ! $compact, ])>Medications & procedures

$compact, 'rounded-2xl border border-slate-200 bg-white p-6' => ! $compact, ])> @if ($returnTo) @if ($returnTo === 'specialty' && ! empty($specialtyModule) && ! empty($specialtyVisit)) @endif @endif
$compact, 'flex gap-3' => ! $compact])> @if ($compact) @else Cancel @endif