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