Sandbox: sadaf: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
==Overview== | ==Overview== | ||
==Project1== | ==Project1== | ||
<includeonly> | |||
<script type="text/javascript"> | |||
function calcScore(){ | |||
var score = 0; | |||
if(document.forms["IMPROVEScore"]["input1"].checked == 1){ | |||
score += 3; | |||
} | |||
if(document.forms["IMPROVEScore"]["input2"].checked == 1){ | |||
score += 2; | |||
} | |||
if(document.forms["IMPROVEScore"]["input3"].checked == 1){ | |||
score += 2; | |||
} | |||
if(document.forms["IMPROVEScore"]["input4"].checked == 1){ | |||
score += 2; | |||
} | |||
if(document.forms["IMPROVEScore"]["input5"].checked == 1){ | |||
score += 1; | |||
} | |||
if(document.forms["IMPROVEScore"]["input6"].checked == 1){ | |||
score += 1; | |||
} | |||
if(document.forms["IMPROVEScore"]["input7"].checked == 1){ | |||
score += 1; | |||
} | |||
document.forms["IMPROVEScore"]["result"].value = score; | |||
if(score == 0){document.forms["IMPROVEScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 0.4%";} | |||
if(score == 1){document.forms["IMPROVEScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 0.6%";} | |||
if(score == 2){document.forms["IMPROVEScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 1%";} | |||
if(score == 3){document.forms["IMPROVEScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 1.7%";} | |||
if(score == 4){document.forms["IMPROVEScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 2.9%";} | |||
if(score >= 5){document.forms["IMPROVEScore"]["longanswer"].value = "Predicted VTE risk through 3 months is 7.2%";} | |||
} | |||
</script> | |||
{| style="border: 0; float: left; width: 45%; position: float; background: #104E8B; border-radius: 10px 10px 10px 10px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); margin: 0 0 0 0; padding: 5px 5px; font-weight: bold;" | {| style="border: 0; float: left; width: 45%; position: float; background: #104E8B; border-radius: 10px 10px 10px 10px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); margin: 0 0 0 0; padding: 5px 5px; font-weight: bold;" | ||
Line 13: | Line 50: | ||
! style=" text-align: left; color: #FFFFFF; background: #4479BA; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" |Active gastric or duodenal ulcer | ! style=" text-align: left; color: #FFFFFF; background: #4479BA; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" |Active gastric or duodenal ulcer | ||
| style=" text-align: center; color: #FFFFFF; background: #4479BA; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" |4.5 | | style=" text-align: center; color: #FFFFFF; background: #4479BA; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" |4.5 | ||
| style="padding: 2px 10px; background: #4479BA; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" | | | style="padding: 2px 10px; background: #4479BA; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" | <input type="checkbox" style="top:4px;width:24px;height:24px" name="input1" value="1.0" onchange="calcScore();" /> | ||
|- | |- | ||
! style=" text-align: left; color: #FFFFFF; background: #4479BA; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" |Prior bleeding within the last 3 months | ! style=" text-align: left; color: #FFFFFF; background: #4479BA; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" |Prior bleeding within the last 3 months | ||
Line 68: | Line 105: | ||
|} | |} | ||
<br style="clear:left" /> | <br style="clear:left" /> | ||
</includeonly> | |||
==References== | ==References== | ||
<references /> | <references /> |
Revision as of 07:54, 28 October 2018