Widget:TIMI UA NSTEMI: Difference between revisions

Jump to navigation Jump to search
Ssharfaei (talk | contribs)
Created page with "<includeonly> <script type="text/javascript"> function calcScore(){ var score = 0; if(document.forms["TIMI_UA_NSTEMI"]["input1"].checked == 1){score += 1;} if(document.forms["..."
 
Ssharfaei (talk | contribs)
No edit summary
Line 10: Line 10:
if(document.forms["TIMI_UA_NSTEMI"]["input6"].checked == 1){score += 1;}
if(document.forms["TIMI_UA_NSTEMI"]["input6"].checked == 1){score += 1;}
if(document.forms["TIMI_UA_NSTEMI"]["input7"].checked == 1){score += 1;}
if(document.forms["TIMI_UA_NSTEMI"]["input7"].checked == 1){score += 1;}
document.forms["TIMI_UA_NSTEMI"]["result"].value = score;
document.forms["TIMI_UA_NSTEMI"]["result"].value = score;
if(score <= 1){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "4.7%";}
if(score <= 1){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "4.7%";}
if(score = 2){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "8.3%";}
if(score = 2){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "8.3%";}

Revision as of 20:54, 13 November 2018