@php $plan = $dentalPlan; $openItems = $plan?->items?->whereIn('status', ['proposed', 'accepted']) ?? collect(); @endphp

Overview

Visit summary and open treatment work.

Dentistry reports
Visit status
{{ ucfirst(str_replace('_', ' ', $workspaceVisit->status)) }}
Checked in
{{ $workspaceVisit->checked_in_at?->format('d M Y H:i') ?? '—' }}
Queue
{{ $workspaceVisit->appointment?->queue_ticket_number ?? '—' }} @if ($workspaceVisit->appointment?->queue_ticket_status) ({{ $workspaceVisit->appointment->queue_ticket_status }}) @endif
Treatment plan
@if ($plan) {{ ucfirst(str_replace('_', ' ', $plan->status)) }} · {{ $currency ?? 'GHS' }} {{ number_format($plan->estimate_minor / 100, 2) }} @else None open @endif
@if ($openItems->isNotEmpty())

Unfinished plan items

@endif @if (! empty($clinicalAlerts))

Alerts

@foreach ($clinicalAlerts as $alert)

{{ $alert['message'] ?? '' }}

@endforeach
@endif