Template:SPADI: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable pain-table spadi-table" | {| class="wikitable pain-table spadi-table" | ||
|- | |- | ||
Line 11: | Line 7: | ||
| colspan="13"| Circle the number that best describes your experience where: 0 = no difficulty and 10 = so difficult it requires help. | | colspan="13"| Circle the number that best describes your experience where: 0 = no difficulty and 10 = so difficult it requires help. | ||
|- | |- | ||
! Item !! Question !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 | ! Item !! style="width: 50%"|Question !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 | ||
|- | |- | ||
| 1 || At its worst? ||<html><input class="pain-item" name="one" type="radio" id="q1-0" value="0" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-1" value="1" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-2" value="2" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-3" value="3" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-4" value="4" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-5" value="5" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-6" value="6" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-7" value="7" onclick="window.startScore(this);" /></html> || <html><input class="pain-item" name="one" type="radio" id="q1-8" value="8" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-9" value="9" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-10" value="10" onclick="window.startScore(this);" /></html> | | 1 || At its worst? ||<html><input class="pain-item" name="one" type="radio" id="q1-0" value="0" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-1" value="1" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-2" value="2" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-3" value="3" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-4" value="4" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-5" value="5" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-6" value="6" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-7" value="7" onclick="window.startScore(this);" /></html> || <html><input class="pain-item" name="one" type="radio" id="q1-8" value="8" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-9" value="9" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="one" type="radio" id="q1-10" value="10" onclick="window.startScore(this);" /></html> | ||
Line 33: | Line 29: | ||
|- | |- | ||
|- | |- | ||
! Item !! Question !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 | ! Item !! style="width: 50%"|Question !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 | ||
|- | |- | ||
| 6 || Washing your hair? ||<html><input class="pain-item" name="six" type="radio" id="q6-0" value="0" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-1" value="1" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-2" value="2" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-3" value="3" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-4" value="4" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-5" value="5" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-6" value="6" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-7" value="7" onclick="window.startScore(this);" /></html> || <html><input class="pain-item" name="six" type="radio" id="q6-8" value="8" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-9" value="9" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-10" value="10" onclick="window.startScore(this);" /></html> | | 6 || Washing your hair? ||<html><input class="pain-item" name="six" type="radio" id="q6-0" value="0" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-1" value="1" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-2" value="2" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-3" value="3" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-4" value="4" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-5" value="5" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-6" value="6" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-7" value="7" onclick="window.startScore(this);" /></html> || <html><input class="pain-item" name="six" type="radio" id="q6-8" value="8" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-9" value="9" onclick="window.startScore(this);" /></html> ||<html><input class="pain-item" name="six" type="radio" id="q6-10" value="10" onclick="window.startScore(this);" /></html> | ||
Line 90: | Line 86: | ||
$('.pain-score').html('Score: ' + ((painScore/ | let totalPainRadioButtons = $(".pain-table").find("input[type=radio]").length; | ||
$('.disability-score').html('Score: ' + ((disabilityScore/ | let checkedPainCount = 0; | ||
$('.total-score').html('Score: ' + ((totalScore/ | |||
$(".pain-table").find("input[type=radio]").filter(":checked").each(function(){ | |||
checkedPainCount ++; | |||
}); | |||
let uncheckedPainCount = totalPainRadioButtons - checkedPainCount - 50; | |||
let totalDisabilityRadioButtons = $(".disability-table").find("input[type=radio]").length; | |||
let checkedDisabilityCount = 0; | |||
$(".disability-table").find("input[type=radio]").filter(":checked").each(function(){ | |||
checkedDisabilityCount ++; | |||
}); | |||
uncheckedPainCount = totalPainRadioButtons - checkedPainCount - 50; | |||
let uncheckedDisabilityCount = totalDisabilityRadioButtons - checkedDisabilityCount - 80; | |||
let uncheckedTotalCount = uncheckedDisabilityCount + uncheckedPainCount; | |||
let checkedTotalCount = 13 - uncheckedTotalCount; | |||
$('.pain-score').html('Score: ' + ((painScore/(checkedPainCount *10)) * 100).toFixed(0) + '%' ); | |||
$('.disability-score').html('Score: ' + ((disabilityScore/(checkedDisabilityCount *10)) * 100).toFixed(0) + '%' ); | |||
$('.total-score').html('Score: ' + ((totalScore/(checkedTotalCount * 10)) * 100).toFixed(0) + '%' ); | |||
} | } | ||
} | } | ||
</script><style>.wikitable tr td{border:solid 1px black!important; padding: 0 | </script><style>.wikitable tr td{border:solid 1px black!important; padding: 0 12px;}</style></html></div> | ||
<noinclude>[[Category:Calculators]]</noinclude> | <noinclude>[[Category:Calculators]]</noinclude> |
Latest revision as of 20:44, 23 March 2023
Pain scale | ||||||||||||
How severe is your pain? | ||||||||||||
Circle the number that best describes your experience where: 0 = no difficulty and 10 = so difficult it requires help. | ||||||||||||
Item | Question | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | At its worst? | |||||||||||
2 | When lying on the involved side? | |||||||||||
3 | Reaching for something on a high shelf? | |||||||||||
4 | Touching the back of your neck? | |||||||||||
5 | Pushing with the involved arm? |
Disability scale | ||||||||||||
How much difficulty do you have? | ||||||||||||
Circle the number that best describes your experience where: 0 = no difficulty and 10 = so difficult it requires help. | ||||||||||||
Item | Question | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
6 | Washing your hair? | |||||||||||
7 | Washing your back? | |||||||||||
8 | Putting on an undershirt or jumper? | |||||||||||
9 | Putting on a shirt that buttons down the front? | |||||||||||
10 | Putting on your pants? | |||||||||||
11 | Placing an object on a high shelf? | |||||||||||
12 | Carrying a heavy object of 4.5 kilograms | |||||||||||
13 | Removing something from your back pocket? |
Pain Score : | Score: 0% | |
---|---|---|
Disability Score : | Score: 0% | |
Total Score : | Score: 0% |