Widget:Apgarscore: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


document.forms["Apgarscore"]["result"].value = score;
document.forms["Apgarscore"]["result"].value = score;
if(score <=3){document.forms["Apgarscore"]["longanswer"].value = "Critically low; Neonate requires medical attention";}
if(score <=3){document.forms["Apgarscore"]["longanswer"].value = "Critically low; Neonate requires medical attention";}
if(score >= 4 && score <= 6){document.forms["Apgarscore"]["longanswer"].value = "Fairly low";}  
if(score >= 4 && score <= 6){document.forms["Apgarscore"]["longanswer"].value = "Fairly low";}  

Revision as of 20:22, 15 November 2018