Widget:Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
document.forms["IMPROVEScore"]["result"].value = score; | document.forms["IMPROVEScore"]["result"].value = score; | ||
if(score == 0){document.forms["IMPROVEScore"]["longanswer"].value = " | if(score == 0){document.forms["IMPROVEScore"]["longanswer"].value = "0.4%";} | ||
if(score == 1 || score == 2){document.forms["IMPROVEScore"]["longanswer"].value = "Moderate probability of DVT: Prevalence = 17%, Consider checking D-dimer";} | if(score == 1 || score == 2){document.forms["IMPROVEScore"]["longanswer"].value = "Moderate probability of DVT: Prevalence = 17%, Consider checking D-dimer";} | ||
if(score >= 3){document.forms["IMPROVEScore"]["longanswer"].value = "High probability of DVT: Prevalence = 53%, Consider imaging of the deep veins";} | if(score >= 3){document.forms["IMPROVEScore"]["longanswer"].value = "High probability of DVT: Prevalence = 53%, Consider imaging of the deep veins";} |