Widget:DVT Wells score calculator: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
document.forms["DVTCalc"]["result"].value = score; | document.forms["DVTCalc"]["result"].value = score; | ||
if(score <= 0){document.forms["PECalc"]["longanswer"].value = "Low probability of DVT";} | if(score <= 0){document.forms["PECalc"]["longanswer"].value = "Low probability of DVT";} | ||
if(score = 1 | if(score = 1){document.forms["PECalc"]["longanswer"].value = "Moderate probability of DVT";} | ||
if(score = 2){document.forms["PECalc"]["longanswer"].value = "Moderate probability of DVT";} | |||
if(score >= 3){document.forms["PECalc"]["longanswer"].value = "High probability of DVT";} | if(score >= 3){document.forms["PECalc"]["longanswer"].value = "High probability of DVT";} | ||
} | } |