@if (Model.Any(r => r.RiskAssessment?.RequiresImmediateAttention == true)) {

IMMEDIATE ATTENTION REQUIRED

This employee's responses indicate significant mental health concerns that require urgent professional intervention.

HIGH PRIORITY PROFESSIONAL INTERVENTION CONFIDENTIAL
} @if (response != null) {

Employee Response Overview

Response ID
#@response.Id
Submission Date
@response.SubmissionDate.ToString("MMMM dd, yyyy")
Survey
@response.Questionnaire?.Title
Privacy Notice
All personal information has been anonymized to protect employee privacy while enabling professional mental health assessment.

Action Checklist

} @if (Model != null && Model.Any()) { @foreach (var analysis in Model.OrderByDescending(a => a.RiskAssessment?.RiskScore ?? 0)) { var riskLevel = analysis.RiskAssessment?.RiskLevel ?? Services.AIViewModel.RiskLevel.Low; var riskScore = analysis.RiskAssessment?.RiskScore ?? 0; var riskClass = riskLevel.ToString().ToLower();

Question Analysis

@analysis.QuestionText

@riskLevel RISK
@Math.Round(riskScore * 100, 0)% RISK SCORE

Employee Response (Anonymized)

@analysis.AnonymizedResponseText
@if (analysis.SentimentAnalysis != null) {
Emotional Sentiment
Positive
@Math.Round(analysis.SentimentAnalysis.PositiveScore * 100, 1)%
Neutral
@Math.Round(analysis.SentimentAnalysis.NeutralScore * 100, 1)%
Negative
@Math.Round(analysis.SentimentAnalysis.NegativeScore * 100, 1)%
}

Mental Health Risk Assessment

@if (analysis.RiskAssessment?.RiskIndicators?.Any() == true) {
Risk Indicators
@foreach (var indicator in analysis.RiskAssessment.RiskIndicators) { @indicator }
} @if (!string.IsNullOrEmpty(analysis.RiskAssessment?.RecommendedAction)) {
Recommended Action
@analysis.RiskAssessment.RecommendedAction
} @if (analysis.RiskAssessment?.ProtectiveFactors?.Any() == true) {
Protective Factors
@foreach (var factor in analysis.RiskAssessment.ProtectiveFactors) { @factor }
} @if (analysis.KeyPhrases?.KeyPhrases?.Any() == true) {
Key Phrases Identified
@foreach (var phrase in analysis.KeyPhrases.KeyPhrases.Take(6)) { @phrase }
}
@if (analysis.Insights?.Any() == true) { }
} }

Mental Health Professional Action Plan

Immediate Actions

Next 24 Hours
  • Contact employee for confidential check-in
  • Assess immediate safety and support needs
  • Provide mental health resources and contacts
  • Document initial intervention in confidential records

Follow-up Actions

Next 7 Days
  • Schedule follow-up conversation
  • Review workplace factors with management
  • Implement recommended workplace interventions
  • Assess progress and adjust support plan