Widget:IMPROVEDDScore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
score += 3; | score += 3; | ||
} | } | ||
if(document.forms["IMPROVEDDScore"]["input2"].checked == 1){ | if(document.forms["IMPROVEDDScore"]["input2"].checked == 1){ | ||
score += 2; | score += 2; | ||
Line 28: | Line 27: | ||
score += 1; | score += 1; | ||
} | } | ||
document.forms["IMPROVEDDScore"]["result"].value = score; | document.forms["IMPROVEDDScore"]["result"].value = score; | ||
if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.4%";} | if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.4%";} | ||
Line 39: | Line 36: | ||
} | } | ||
</script> | </script> | ||
<form name="IMPROVEDDScore"> | <form name="IMPROVEDDScore"> | ||
<table> | <table> | ||
<tr><td>Prior episode of VTE</td><td><input type="checkbox" name="input1" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>Prior episode of VTE</td><td><input type="checkbox" name="input1" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Thrombophilia</td><td><input type="checkbox" name="input2" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>Thrombophilia</td><td><input type="checkbox" name="input2" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Paralysis of the lower extremity during the hospitalization</td><td><input type="checkbox" name="input3" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>Paralysis of the lower extremity during the hospitalization</td><td><input type="checkbox" name="input3" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Current malignancy</td><td><input type="checkbox" name="input4" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>Current malignancy</td><td><input type="checkbox" name="input4" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>D-dimer ≥ 2x Upper Limit of Normal (ULN)</td><td><input type="checkbox" name="input5" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>D-dimer ≥ 2x Upper Limit of Normal (ULN)</td><td><input type="checkbox" name="input5" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Immobilization for at least 7 days</td><td><input type="checkbox" name="input6" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>Immobilization for at least 7 days</td><td><input type="checkbox" name="input6" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>ICU or CCU admission</td><td><input type="checkbox" name="input7" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>ICU or CCU admission</td><td><input type="checkbox" name="input7" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Age more than 60 years</td><td><input type="checkbox" name="input8" value="1.0" onchange="calcScore();" /></td></tr> | <tr><td>Age more than 60 years</td><td><input type="checkbox" name="input8" value="1.0" onchange="calcScore();" /></td></tr> | ||
</table> | </table> | ||
Score: <input type="text" name="result" /><br /> | Score: <input type="text" name="result" /><br /> | ||
<input type="text" size="80" name="longanswer" /> | <input type="text" size="80" name="longanswer" /> | ||
</form> | </form> | ||
</includeonly> | </includeonly> |