Template:Start back: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
</html> | </html> | ||
|- | |- | ||
! | !Result | ||
! colspan=" | ! colspan="4" |<div style="display:flex; flex-direction:row; justify-content:space-around;"><div><span class="interpretation" style="color: green;">Low Risk</span></div><div><span class="score">Score: 0</span></div><div><span class="subscore">Subscore: 0 </span></div></div> | ||
|- | |||
| colspan="4"|<small>Total score 3 or less = Low risk<br/>Total score 4 or more -><br/> sub score Q5-9 is 3 or less = medium risk<br/>sub score Q5-9 is 4 or more = high risk</small> | |||
|} | |} | ||
Line 73: | Line 75: | ||
ย ย score /= 10; | ย ย score /= 10; | ||
ย ย subscore /= 10; | ย ย subscore /= 10; | ||
ย ย // Original version | ย ย // Original version | ||
ย ย var element = $(element).closest("table").find(". | ย ย var element = $(element).closest("table").find(".interpretation"); | ||
ย ย if(score < 4){ $(element).css("color", "green").html("Low Risk"); } | ย ย if(score < 4){$(element).css("color", "green").html("Low Risk");} | ||
ย ย else if(score >3){ ย | ย ย else if(score >3){ ย | ||
if(subscore <4){ | if(subscore <4){ | ||
Line 87: | Line 87: | ||
ย ย } | ย ย } | ||
ย ย else { $(element).css("color", "red").html("Error"); } | ย ย else { $(element).css("color", "red").html("Error"); } | ||
ย | ย $('.score').html('Score: ' + score) | ||
ย | ย $('.subscore').html('Subscore: ' + subscore)ย | ||
ย } | ย } | ||
} | } | ||
</script></html></div> | </script></html></div> | ||
<noinclude>[[Category:Calculators]]</noinclude> | <noinclude>[[Category:Calculators]]</noinclude> |
Revision as of 19:05, 5 April 2022
Item | Question | Disagree | Agree | |
---|---|---|---|---|
1 | My back pain has spread down my leg(s) at some time in the last 2 weeks | |||
2 | I have had pain in the shoulder or neck at some time in the last 2 weeks | |||
3 | I have only walked short distances because of my back pain | |||
4 | In the last 2 weeks, I have dressed more slowly than usual because of back pain | |||
5 | Itโs not really safe for a person with a condition like mine to be physically active | |||
6 | Worrying thoughts have been going through my mind a lot of the time | |||
7 | I feel that my back pain is terrible and itโs never going to get any better | |||
8 | In general I have not enjoyed all the things I used to enjoy | |||
9 | Overall, how bothersome has your back pain been in the last 2 weeks? | |||
Result | Low Risk Score: 0 Subscore: 0 | |||
Total score 3 or less = Low risk Total score 4 or more -> sub score Q5-9 is 3 or less = medium risk sub score Q5-9 is 4 or more = high risk |