Widget:TIMI STEMI: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
if(document.forms["TIMI_STEMI"]["input7"].checked == 1){score += 1;}
if(document.forms["TIMI_STEMI"]["input7"].checked == 1){score += 1;}
if(document.forms["TIMI_STEMI"]["input8"].checked == 1){score += 1;}
if(document.forms["TIMI_STEMI"]["input8"].checked == 1){score += 1;}
if(document.forms["TIMI_STEMI"]["input9"].checked == 1){score += 1;}
if(document.forms["TIMI_STEMI"]["input9"].checked == 1){score += 1;
 
}
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%";}

Revision as of 21:34, 13 November 2018