Widget:TIMI UA NSTEMI: Difference between revisions

Jump to navigation Jump to search
Ssharfaei (talk | contribs)
No edit summary
Ssharfaei (talk | contribs)
No edit summary
 
Line 12: Line 12:


document.forms["TIMI_UA_NSTEMI"]["result"].value = score;
document.forms["TIMI_UA_NSTEMI"]["result"].value = score;
if(score = 0){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "4.7%";}
if(score == 0){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "4.7%";}
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%";}
if(score = 3){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "13.2%";}
if(score == 3){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "13.2%";}
if(score = 4){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "19.9%";}
if(score == 4){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "19.9%";}
if(score = 5){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "26.2%";}
if(score == 5){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "26.2%";}
if(score >= 6){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "at least 40.9%";}
if(score >= 6){document.forms["TIMI_UA_NSTEMI"]["longanswer"].value = "at least 40.9%";}
}
}

Latest revision as of 20:58, 13 November 2018