Widget:PLASMIC score: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> <div style="align: central"> <script type="text/javascript"> function calcScore(){ var score = 0; if(document.forms["ATRIA"]["input1"].checked == 1){ score += 3;..." |
No edit summary |
||
Line 4: | Line 4: | ||
function calcScore(){ | function calcScore(){ | ||
var score = 0; | var score = 0; | ||
if(document.forms[" | if(document.forms["PLASMIC"]["input1"].checked == 1){ | ||
score += | score += 1; | ||
} | |||
if(document.forms["PLASMIC"]["input2"].checked == 1){ | |||
score += 1; | |||
} | } | ||
if(document.forms[" | if(document.forms["PLASMIC"]["input3"].checked == 1){ | ||
score += | score += 1; | ||
} | } | ||
if(document.forms[" | if(document.forms["PLASMIC"]["input4"].checked == 1){ | ||
score += | score += 1; | ||
} | |||
if(document.forms["PLASMIC"]["input5"].checked == 1){ | |||
score += 1; | |||
} | } | ||
if(document.forms[" | if(document.forms["PLASMIC"]["input6"].checked == 1){ | ||
score += 1; | score += 1; | ||
} | } | ||
if(document.forms[" | if(document.forms["PLASMIC"]["input7"].checked == 1){ | ||
score += 1; | score += 1; | ||
} | } | ||
document.forms[" | document.forms["PLASMIC"]["result"].value = score; | ||
if(score == 0 | if(score == 0 && score <= 4){document.forms["PLASMIC"]["longanswer"].value = "Low risk";} | ||
if(score == 5){document.forms["PLASMIC"]["longanswer"].value = "Intermediate;} | |||
if(score == | if(score == 6){document.forms["PLASMIC"]["longanswer"].value = "High risk";} | ||
if(score == | if(score == 7){document.forms["PLASMIC"]["longanswer"].value = "High risk";} | ||
if(score == | |||
} | } | ||
</script> | </script> | ||
<form name=" | <form name="PLASMIC"> | ||
<table> | <table> | ||
<tr><td> | <tr><td>Platelet count (< 30,000/microL)</td><td><input type="checkbox" name="input1" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Hemolysis variables () Retic count > 2.5%, undetectable haptoglobin, indirect billi <2 mg/dL(>34 mcmol/L)</td><td><input type="checkbox" name="input2" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Absence of active cancer</td><td><input type="checkbox" name="input3" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>Absence of transplant history( solid, stem cell)</td><td><input type="checkbox" name="input4" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td> | <tr><td>MCV < 90 Fl</td><td><input type="checkbox" name="input5" value="1.0" onchange="calcScore();" /></td></tr> | ||
<tr><td>INR < 1.5 </td><td><input type="checkbox" name="input6" value="1.0" onchange="calcScore();" /></td></tr> | |||
<tr><td>Serum creatinine < 2 mg/dL(<177 mcmol/L) </td><td><input type="checkbox" name="input7" value="1.0" onchange="calcScore();" /></td></tr> | |||
</table> | </table> | ||
Score: <input type="text" name="result" /><br /> | Score: <input type="text" name="result" /><br /> |