Widget:IMPROVEDDScore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
} | } | ||
if(document.forms["IMPROVEDDScore"]["input5"].checked == 1){ | if(document.forms["IMPROVEDDScore"]["input5"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["IMPROVEDDScore"]["input6"].checked == 1){ | if(document.forms["IMPROVEDDScore"]["input6"].checked == 1){ | ||
Line 23: | Line 23: | ||
} | } | ||
if(document.forms["IMPROVEDDScore"]["input7"].checked == 1){ | if(document.forms["IMPROVEDDScore"]["input7"].checked == 1){ | ||
score += 1; | |||
} | |||
if(document.forms["IMPROVEDDScore"]["input8"].checked == 1){ | |||
score += 1; | score += 1; | ||
} | } | ||
Line 30: | Line 33: | ||
if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.4%";} | if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.4%";} | ||
if(score == 1){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.6%";} | if(score == 1){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.6%";} | ||
if(score == 2){document.forms["IMPROVEDDScore"]["longanswer"].value = " | if(score == 2){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.8%";} | ||
if(score == 3){document.forms["IMPROVEDDScore"]["longanswer"].value = "1. | if(score == 3){document.forms["IMPROVEDDScore"]["longanswer"].value = "1.2%";} | ||
if(score == 4){document.forms["IMPROVEDDScore"]["longanswer"].value = " | if(score == 4){document.forms["IMPROVEDDScore"]["longanswer"].value = "1.6%";} | ||
if(score >= 5){document.forms["IMPROVEDDScore"]["longanswer"].value = " | if(score >= 5 && <= 10){document.forms["IMPROVEDDScore"]["longanswer"].value = "2.2%";} | ||
} | } | ||
</script> | </script> | ||
Line 41: | Line 44: | ||
<table> | <table> | ||
<tr><td>Prior episode of VTE</td><td><input type="checkbox" name="input1" value=" | <tr><td>Prior episode of VTE</td><td><input type="checkbox" name="input1" value="3.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Thrombophilia</td><td><input type="checkbox" name="input2" value=" | <tr><td>Thrombophilia</td><td><input type="checkbox" name="input2" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Paralysis of the lower extremity during the hospitalization</td><td><input type="checkbox" name="input3" value=" | <tr><td>Paralysis of the lower extremity during the hospitalization</td><td><input type="checkbox" name="input3" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Current malignancy</td><td><input type="checkbox" name="input4" value=" | <tr><td>Current malignancy</td><td><input type="checkbox" name="input4" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>D-dimer ≥ 2x Upper Limit of Normal (ULN)</td><td><input type="checkbox" name="input5" value="2.0" onchange="calcScore();" /></td></tr> | |||
<tr><td>Immobilization for at least 7 days</td><td><input type="checkbox" name=" | <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=" | <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=" | <tr><td>Age more than 60 years</td><td><input type="checkbox" name="input8" value="1.0" onchange="calcScore();" /></td></tr> | ||
</table> | </table> |