All per-patient SQL queries now compute: collected = mhPaidAmount + copayment balance = totalBilled - collected - adjustment Fixes patient rows showing $0 collected while report total was correct. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>