Widget:Alcohol Withdrawal Calc: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Matt Pijoan (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 62: Line 62:
document.forms["AWCalc"].elements["result"].value = "Medication is Required";
document.forms["AWCalc"].elements["result"].value = "Medication is Required";
}
}
if(score < 21){
if(score > 21){
document.forms["AWCalc"].elements["result"].value = "Increased risk of complications";
document.forms["AWCalc"].elements["result"].value = "Increased risk of complications";
}
}
Line 69: Line 69:
</script>
</script>
<form name="AWCalc" id="AWCalc">
<form name="AWCalc" id="AWCalc">
Nausea and Vomitting<br />
<b>Nausea and Vomitting</b><br />
1<input type="radio" id="q1" name="q1" value="0" checked /> No nausea or vomiting<br />
<input type="radio" id="q1" name="q1" value="0" checked /> No nausea or vomiting<br />
2<input type="radio" id="q1" name="q1" value="1" /> <br />
<input type="radio" id="q1" name="q1" value="4" /> Intermittent nausea with dry heaves<br />
3<input type="radio" id="q1" name="q1" value="2" /> <br />
<input type="radio" id="q1" name="q1" value="7" /> Constant nausea, frequent dry heaves and vomiting<br />
4<input type="radio" id="q1" name="q1" value="3" /> <br />
5<input type="radio" id="q1" name="q1" value="4" /> Intermittent nausea with dry heaves<br />
6<input type="radio" id="q1" name="q1" value="5" /> <br />
7<input type="radio" id="q1" name="q1" value="6" /> <br />
8<input type="radio" id="q1" name="q1" value="7" /> Constant nausea, freuent dry heaves and vomiting<br />
<br />
<br />
Paroxysmal Sweats<br />
<b>Paroxysmal Sweats</b><br />
1<input type="radio" name="q2" value="0" checked /> No sweats visible<br />
<input type="radio" name="q2" value="0" checked /> No sweats visible<br />
2<input type="radio" name="q2" value="1" /> Barely perceptible sweat, palms moist<br />
<input type="radio" name="q2" value="1" /> Barely perceptible sweat, palms moist<br />
3<input type="radio" name="q2" value="2" /> <br />
<input type="radio" name="q2" value="4" /> Beads of sweat obvious on forehead<br />
4<input type="radio" name="q2" value="3" /> <br />
<input type="radio" name="q2" value="7" /> Drenching sweats<br />
5<input type="radio" name="q2" value="4" /> Beads of sweat obvious on forehead<br />
6<input type="radio" name="q2" value="5" /> <br />
7<input type="radio" name="q2" value="6" /> <br />
8<input type="radio" name="q2" value="7" /> Drenching sweats<br />
<br />
<br />
Agitation<br />
<b>Agitation</b><br />
1<input type="radio" name="q3" value="0" checked /> Normal activity<br />
<input type="radio" name="q3" value="0" checked /> Normal activity<br />
2<input type="radio" name="q3" value="1" /> Somewhat more than normal activity<br />
<input type="radio" name="q3" value="1" /> Somewhat more than normal activity<br />
3<input type="radio" name="q3" value="2" /> <br />
<input type="radio" name="q3" value="4" /> Moderate fidgety and restless<br />
4<input type="radio" name="q3" value="3" /> <br />
<input type="radio" name="q3" value="7" /> Paces back and forth during most of the interview or constantly thrashes about<br />
5<input type="radio" name="q3" value="4" /> Moderate fidgety and restless<br />
6<input type="radio" name="q3" value="5" /> <br />
7<input type="radio" name="q3" value="6" /> <br />
8<input type="radio" name="q3" value="7" /> Paces back and forth during most of the interview or constantly thrashes about<br />
<br />
<br />
Visual Disturbances<br />
<b>Visual Disturbances</b><br />
1<input type="radio" name="q4" value="0"  checked /> Not present<br />
<input type="radio" name="q4" value="0"  checked /> Not present<br />
2<input type="radio" name="q4" value="1" /> Very mild photosensitivity<br />
<input type="radio" name="q4" value="1" /> Very mild photosensitivity<br />
3<input type="radio" name="q4" value="2" /> Mild photosensitivity<br />
<input type="radio" name="q4" value="2" /> Mild photosensitivity<br />
4<input type="radio" name="q4" value="3" /> Moderate photosensitivity<br />
<input type="radio" name="q4" value="3" /> Moderate photosensitivity<br />
5<input type="radio" name="q4" value="4" /> Moderately severe visual hallucinations<br />
<input type="radio" name="q4" value="4" /> Moderately severe visual hallucinations<br />
6<input type="radio" name="q4" value="5" /> Severe visual hallucinations<br />
<input type="radio" name="q4" value="5" /> Severe visual hallucinations<br />
7<input type="radio" name="q4" value="6" /> Extreme severe visual hallucinations<br />
<input type="radio" name="q4" value="6" /> Extreme severe visual hallucinations<br />
8<input type="radio" name="q4" value="7" /> Continuous visual hallucinations<br />
<input type="radio" name="q4" value="7" /> Continuous visual hallucinations<br />
<br />
<br />
Tremor<br />
<b>Tremor</b><br />
1<input type="radio" name="q5" value="0" checked /> No tremor<br />
<input type="radio" name="q5" value="0" checked /> No tremor<br />
2<input type="radio" name="q5" value="1" /> Not visible, but can be felt at finger tips<br />
<input type="radio" name="q5" value="1" /> Not visible, but can be felt at finger tips<br />
3<input type="radio" name="q5" value="2" /> <br />
<input type="radio" name="q5" value="4" /> Moderate when patient’s hands extended<br />
4<input type="radio" name="q5" value="3" /> <br />
<input type="radio" name="q5" value="7" /> Severe, even with arms not extended<br />
5<input type="radio" name="q5" value="4" /> Moderate when patient’s hands extended<br />
6<input type="radio" name="q5" value="5" /> <br />
7<input type="radio" name="q5" value="6" /> <br />
8<input type="radio" name="q5" value="7" /> Severe, even with arms not extended<br />
<br />
<br />
Tactile Disturbances<br />
<b>Tactile Disturbances</b><br />
1<input type="radio" name="q6" value="0" checked /> Not present<br />
<input type="radio" name="q6" value="0" checked /> Not present<br />
2<input type="radio" name="q6" value="1" /> Very mild paraesthesias<br />
<input type="radio" name="q6" value="1" /> Very mild paraesthesias<br />
3<input type="radio" name="q6" value="2" /> Mild paraesthesias<br />
<input type="radio" name="q6" value="2" /> Mild paraesthesias<br />
4<input type="radio" name="q6" value="3" /> Moderate paraesthesias<br />
<input type="radio" name="q6" value="3" /> Moderate paraesthesias<br />
5<input type="radio" name="q6" value="4" /> Moderately severe paraesthesias<br />
<input type="radio" name="q6" value="4" /> Moderately severe paraesthesias<br />
6<input type="radio" name="q6" value="5" /> Severe paraesthesias<br />
<input type="radio" name="q6" value="5" /> Severe paraesthesias<br />
7<input type="radio" name="q6" value="6" /> Extremely severe paraesthesias<br />
<input type="radio" name="q6" value="6" /> Extremely severe paraesthesias<br />
8<input type="radio" name="q6" value="7" /> Continuous paraesthesias<br />
<input type="radio" name="q6" value="7" /> Continuous paraesthesias<br />
<br />
<br />
Headache<br />
<b>Headache</b><br />
1<input type="radio" name="q7" value="0" checked /> Not present<br />
<input type="radio" name="q7" value="0" checked /> Not present<br />
2<input type="radio" name="q7" value="1" /> Very mild<br />
<input type="radio" name="q7" value="1" /> Very mild<br />
3<input type="radio" name="q7" value="2" /> Mild<br />
<input type="radio" name="q7" value="2" /> Mild<br />
4<input type="radio" name="q7" value="3" /> Moderate<br />
<input type="radio" name="q7" value="3" /> Moderate<br />
5<input type="radio" name="q7" value="4" /> Moderately severe<br />
<input type="radio" name="q7" value="4" /> Moderately severe<br />
6<input type="radio" name="q7" value="5" /> Severe<br />
<input type="radio" name="q7" value="5" /> Severe<br />
7<input type="radio" name="q7" value="6" /> Very severe<br />
<input type="radio" name="q7" value="6" /> Very severe<br />
8<input type="radio" name="q7" value="7" /> Extremely severe<br />
<input type="radio" name="q7" value="7" /> Extremely severe<br />
<br />
<br />
Auditory Disturbances<br />
<b>Auditory Disturbances</b><br />
1<input type="radio" name="q8" value="0" checked /> Not present<br />
<input type="radio" name="q8" value="0" checked /> Not present<br />
2<input type="radio" name="q8" value="1" /> Very mild harshness or ability to frighten<br />
<input type="radio" name="q8" value="1" /> Very mild harshness or ability to frighten<br />
3<input type="radio" name="q8" value="2" /> Mild harshness or ability to frighten<br />
<input type="radio" name="q8" value="2" /> Mild harshness or ability to frighten<br />
4<input type="radio" name="q8" value="3" /> Moderate harshness or ability to frighten<br />
<input type="radio" name="q8" value="3" /> Moderate harshness or ability to frighten<br />
5<input type="radio" name="q8" value="4" /> Moderately severe hallucinations<br />
<input type="radio" name="q8" value="4" /> Moderately severe hallucinations<br />
6<input type="radio" name="q8" value="5" /> Severe hallucinations<br />
<input type="radio" name="q8" value="5" /> Severe hallucinations<br />
7<input type="radio" name="q8" value="6" /> Extremely severe hallucinations<br />
<input type="radio" name="q8" value="6" /> Extremely severe hallucinations<br />
8<input type="radio" name="q8" value="7" /> Continuous hallucinations<br />
<input type="radio" name="q8" value="7" /> Continuous hallucinations<br />
<br />
<br />
Orientation and Clouding of the Sensorium<br />
<b>Orientation and Clouding of the Sensorium</b><br />
1<input type="radio" name="q9" value="0" checked /> Oriented and can do serial additions<br />
<input type="radio" name="q9" value="0" checked /> Oriented and can do serial additions<br />
2<input type="radio" name="q9" value="1" /> Cannot do serial additions<br />
<input type="radio" name="q9" value="1" /> Cannot do serial additions<br />
3<input type="radio" name="q9" value="2" /> Disoriented for date but not more than 2 calendar days<br />
<input type="radio" name="q9" value="2" /> Disoriented for date but not more than 2 calendar days<br />
4<input type="radio" name="q9" value="3" /> Disoriented for date by more than 2 calendar days<br />
<input type="radio" name="q9" value="3" /> Disoriented for date by more than 2 calendar days<br />
5<input type="radio" name="q9" value="4" /> Disoriented for place/person<br />
<input type="radio" name="q9" value="4" /> Disoriented for place/person<br />
<br />
<br />
<br />
<br />
<input type="button" value="Calculate" onclick="calcScore();" /><br /><br />
<input type="button" value="Calculate" onclick="calcScore();" /><br /><br />
<input type="text" id="result" /><br />
<input type="text" id="result" size="50" /><br />
</form>
</form>
</includeonly>
</includeonly>

Latest revision as of 20:16, 20 August 2012