@extends('layouts.admin') @section('title', 'BHM Worklist') @section('content')

BHM dashboard

Referral queue, assigned caseload, care plans, and engagement activity.

Assigned patients

{{ $patients->count() }}

Referral tasks

{{ $referralTasks->count() }}

Pending handoffs

{{ $pendingHandoffs->count() }}

Psych review

{{ $psychiatricReviewTasks->count() }}

Open care goals

{{ $careGoals->count() }}

Assigned caseload

@forelse ($patients as $patient) @php $risk = $riskByPatientId[$patient->id] ?? null; @endphp @empty @endforelse
Patient PCP Status Risk

{{ $patient->user->name }}

{{ $patient->date_of_birth?->format('M j, Y') ?? 'DOB missing' }}

{{ $patient->pcp?->name ?? '—' }} {{ str_replace('_', ' ', $patient->co_cm_status) }} @if ($risk === null) @else {{ number_format($risk->score, 1) }} @if ($risk->scoreDelta !== null) {{ $risk->scoreDelta > 0 ? 'Worsening' : ($risk->scoreDelta < 0 ? 'Improving' : 'No change') }} ({{ $risk->scoreDelta > 0 ? '+' : '' }}{{ $risk->scoreDelta }}) @endif @if ($risk->needsPsychiatricReview) Needs review @endif @endif Chart
No assigned patients.
@endsection