Widget:TIMI STEMI: 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["TIMI_STEMI"]["input1"].checked == 1){score += 3;} if(document.forms["TIMI...")
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 14: Line 14:


document.forms["TIMI_STEMI"]["result"].value = score;
document.forms["TIMI_STEMI"]["result"].value = score;
if(score == 0){document.forms["TIMI_STEMI"]["longanswer"].value = " 0.8%";}
 
if(score == 0){document.forms["TIMI_STEMI"]["longanswer"].value = "0.8%";}
if(score == 1){document.forms["TIMI_STEMI"]["longanswer"].value = "1.6%";}
if(score == 1){document.forms["TIMI_STEMI"]["longanswer"].value = "1.6%";}
if(score == 2){document.forms["TIMI_STEMI"]["longanswer"].value = "2.2%";}
if(score == 2){document.forms["TIMI_STEMI"]["longanswer"].value = "2.2%";}
if(score == 3){document.forms["TIMI_STEMI"]["longanswer"].value = "4.4%";}
if(score == 3){document.forms["TIMI_STEMI"]["longanswer"].value = "4.4%";}
if(score == 4){document.forms["TIMI_STEMI"]["longanswer"].value = "7.3%";}
if(score == 4){document.forms["TIMI_STEMI"]["longanswer"].value = "7.3%";}
if(score == 5){document.forms["TIMI_STEMI"]["longanswer"].value = “12.4%";}
if(score == 5){document.forms["TIMI_STEMI"]["longanswer"].value = "12.4%";}
if(score == 6){document.forms["TIMI_STEMI"]["longanswer"].value = "16.1%";}
if(score == 6){document.forms["TIMI_STEMI"]["longanswer"].value = "16.1%";}
if(score == 7){document.forms["TIMI_STEMI"]["longanswer"].value = "23.4%";}
if(score == 7){document.forms["TIMI_STEMI"]["longanswer"].value = "23.4%";}

Latest revision as of 21:39, 13 November 2018