Widget:Atria: Difference between revisions

Jump to navigation Jump to search
Created page with "<includeonly> <script type="text/javascript"> function calcScore(){ var score = 0; if(document.forms["ATRIA"]["input1"].checked == 1){ score += 3; } if(document.forms["ATRIA"]..."
 
No edit summary
Line 21: Line 21:
if(score == 0){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is < 1%";}
if(score == 0){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is < 1%";}
if(score == 1){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is < 1%";}
if(score == 1){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is < 1%";}
if(score == 2){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a months is < 1%";}
if(score == 2){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is < 1%";}
if(score == 3){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a months is < 1%";}
if(score == 3){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is < 1%";}
if(score == 4){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a months is 2-3%";}
if(score == 4){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is 2-3%";}
if(score >= 5 && score <= 10){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is > 5%";}
if(score >= 5 && score <= 10){document.forms["ATRIA"]["longanswer"].value = "Predicted bleeding risk through a year is > 5%";}
}
}

Revision as of 18:30, 4 June 2018