Widget:PGCS: 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["PGCS"]["input1"].checked == 1){score += 6;} if(document.forms["PGCS"]["in...")
 
No edit summary
 
Line 22: Line 22:


if(score >= 13){document.forms["PGCS"]["longanswer"].value = "Mild head injury";}
if(score >= 13){document.forms["PGCS"]["longanswer"].value = "Mild head injury";}
if(score =< 8){document.forms["PGCS"]["longanswer"].value = "Significant risk of mortality";}
if(score >= 9 && score <= 12){document.forms["PGCS"]["longanswer"].value = "Moderate head injury";}
if(score <= 8){document.forms["PGCS"]["longanswer"].value = "Severe head injury and significant risk of mortality";}


}
}

Latest revision as of 20:33, 30 November 2018