Functional Movement Screening Tool
Assess your movement patterns to identify limitations and asymmetries.
${interpretation}
${lowScores.length > 0 ? `Areas for Focus:
${lowScores.join(', ')}
` : ''} `; resultsContent.style.display = 'block'; document.getElementById('download-pdf-btn').addEventListener('click', generatePDF); } // --- PDF Generation --- async function generatePDF() { const { jsPDF } = window.jspdf; const downloadBtn = document.getElementById('download-pdf-btn'); const originalButtonText = downloadBtn.textContent; downloadBtn.textContent = 'Generating...'; downloadBtn.disabled = true; const pdfWrapper = document.createElement('div'); pdfWrapper.style.position = 'absolute'; pdfWrapper.style.left = '-9999px'; pdfWrapper.style.top = '0'; pdfWrapper.style.width = '800px'; pdfWrapper.style.backgroundColor = 'white'; pdfWrapper.className = 'p-8'; let reportHtml = `Functional Movement Screen Report
${new Date().toLocaleDateString()}
${document.getElementById('results-content').innerHTML}
Detailed Scores
| Test | Score | Notes |
|---|---|---|
| ${screen.title} | ${score} | ${notes} |
