Widget:IMPROVEDDScore: Difference between revisions
Jump to navigation
Jump to search
Gerald Chi (talk | contribs) mNo edit summary |
Gerald Chi (talk | contribs) mNo edit summary |
||
Line 28: | Line 28: | ||
} | } | ||
document.forms["IMPROVEDDScore"]["result"].value = score; | document.forms["IMPROVEDDScore"]["result"].value = score; | ||
if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk | if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk is 0.4% at 35–42 days and 0.5% at 77 days";} | ||
if(score == 1){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk | if(score == 1){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk is 0.6% at 35–42 days and 0.7% at 77 days";} | ||
if(score == 2){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk | if(score == 2){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk is 0.8% at 35–42 days and 1.0% at 77 days";} | ||
if(score == 3){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk | if(score == 3){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk is 1.2% at 35–42 days and 1.4% at 77 days";} | ||
if(score == 4){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk | if(score == 4){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk is 1.6% at 35–42 days and 1.9% at 77 days";} | ||
if(score >= 5 && score <= 10){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk | if(score >= 5 && score <= 10){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk is 2.2% at 35–42 days and 2.7% at 77 days";} | ||
} | } | ||
</script> | </script> | ||
<form name="IMPROVEDDScore"> | <form name="IMPROVEDDScore"> | ||
<table> | <table> | ||
<tr><td> | <tr><td>Previous VTE</td><td><input type="checkbox" name="input1" value="3.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Known thrombophilia</td><td><input type="checkbox" name="input2" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Current lower-limb paralysis</td><td><input type="checkbox" name="input3" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Current | <tr><td>Current cancer</td><td><input type="checkbox" name="input4" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>D-dimer | <tr><td>D-dimer ≥2× upper limit of normal or ≥1.0 μg/mL</td><td><input type="checkbox" name="input5" value="2.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Immobilized for ≥7 days</td><td><input type="checkbox" name="input6" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Admission to intensive care unit</td><td><input type="checkbox" name="input7" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>Age | <tr><td>Age >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 /> |