Widget:DVT Wells score calculator: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:


document.forms["DVTCalc"]["result"].value = score;
document.forms["DVTCalc"]["result"].value = score;
if(score = 0){document.forms["DVTCalc"]["longanswer"].value = "Low probability of DVT: Prevalence = 5%, Consider checking D-dimer";}
if(score <= 0){document.forms["DVTCalc"]["longanswer"].value = "Low probability of DVT: Prevalence = 5%, Consider checking D-dimer";}
if(score == 1 || score == 2){document.forms["DVTCalc"]["longanswer"].value = "Moderate probability of DVT: Prevalence = 17%, Consider checking D-dimer";}
if(score == 1 || score == 2){document.forms["DVTCalc"]["longanswer"].value = "Moderate probability of DVT: Prevalence = 17%, Consider checking D-dimer";}
if(score >= 3){document.forms["DVTCalc"]["longanswer"].value = "High probability of DVT: Prevalence = 53%, Consider imaging of the deep veins";}
if(score >= 3){document.forms["DVTCalc"]["longanswer"].value = "High probability of DVT: Prevalence = 53%, Consider imaging of the deep veins";}

Latest revision as of 16:36, 5 February 2019