@extends('crm.layouts.app') @section('title', 'Health Questionnaire Analytics') @section('content')
Analytics and insights for health questionnaire responses
Health score ≥ 8.0
Health score 6.0-7.9
Health score 4.0-5.9
Health score < 4.0
Trends will appear here once clients start submitting health questionnaires
| Questionnaire | Total Responses | Completion Rate | Avg Health Score | Pending Reviews | Status |
|---|---|---|---|---|---|
|
{{ $questionnaire->title }}
@if($questionnaire->description)
{{ Str::limit($questionnaire->description, 50) }}
@endif
|
{{ $questionnaire->responses_count }} | @php $completionRate = $questionnaire->getCompletionRate(); $completionColor = $completionRate >= 80 ? 'text-green-400' : ($completionRate >= 60 ? 'text-yellow-400' : 'text-red-400'); @endphp {{ number_format($completionRate, 1) }}% | @php $avgScore = $questionnaire->getAverageHealthScore(); $scoreColor = $avgScore >= 8 ? 'text-green-400' : ($avgScore >= 6 ? 'text-yellow-400' : 'text-red-400'); @endphp {{ number_format($avgScore, 1) }} | @php $pendingCount = $questionnaire->getPendingApprovals(); @endphp @if($pendingCount > 0) {{ $pendingCount }} @else 0 @endif | @if($questionnaire->is_active) Active @else Inactive @endif |
No questionnaires foundCreate your first questionnaire to see analytics |
|||||
You have {{ $pendingResponses }} pending reviews. Consider reviewing them promptly.
{{ number_format($highRiskPercentage, 1) }}% of clients are high or very high risk. Consider additional screening.
Consider reviewing questionnaire criteria or providing client guidance.
Your health questionnaire system is performing well with low risk clients and timely reviews.