Widget:TIMI UA NSTEMI: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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%";} | ||
} | } |