DASS-21 Assessment Tool: Measure Depression, Anxiety, and Stress

DASS-21 Assessment Tool

The Depression, Anxiety and Stress Scale (DASS-21) is a validated self-assessment tool to measure emotional states. Answer each question based on your experiences over the past week.

Anxiety: ${anxiety * 2} - ${getInterpretation(anxiety * 2, 'anxiety')}

Stress: ${stress * 2} - ${getInterpretation(stress * 2, 'stress')}

Please consult with a mental health professional for a comprehensive evaluation.

`; } function getInterpretation(score, type) { const ranges = { depression: [[0, 9, 'Normal'], [10, 13, 'Mild'], [14, 20, 'Moderate'], [21, 27, 'Severe'], [28, 42, 'Extremely Severe']], anxiety: [[0, 7, 'Normal'], [8, 9, 'Mild'], [10, 14, 'Moderate'], [15, 19, 'Severe'], [20, 42, 'Extremely Severe']], stress: [[0, 14, 'Normal'], [15, 18, 'Mild'], [19, 25, 'Moderate'], [26, 33, 'Severe'], [34, 42, 'Extremely Severe']] }; for (let [min, max, interpretation] of ranges[type]) { if (score >= min && score <= max) return interpretation; } return 'Undefined'; }