Widget:IMPROVEDDScore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No 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 = "0.4%";} | if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 0.4%";} | ||
if(score == 1){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.6%";} | if(score == 1){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 0.6%";} | ||
if(score == 2){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.8%";} | if(score == 2){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 0.8%";} | ||
if(score == 3){document.forms["IMPROVEDDScore"]["longanswer"].value = "1.2%";} | if(score == 3){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 1.2%";} | ||
if(score == 4){document.forms["IMPROVEDDScore"]["longanswer"].value = "1.6%";} | if(score == 4){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 1.6%";} | ||
if(score >= 5 && score <= 10){document.forms["IMPROVEDDScore"]["longanswer"].value = "2.2%";} | if(score >= 5 && score <= 10){document.forms["IMPROVEDDScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 2.2%";} | ||
} | } | ||
</script> | </script> |