Widget:IMPROVEDDScore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
if(document.forms["IMPROVEDDScore"]["input3"].checked == 1){score += 2;} | if(document.forms["IMPROVEDDScore"]["input3"].checked == 1){score += 2;} | ||
if(document.forms["IMPROVEDDScore"]["input4"].checked == 1){score += 2;} | if(document.forms["IMPROVEDDScore"]["input4"].checked == 1){score += 2;} | ||
if(document.forms["IMPROVEDDScore"]["input5"].checked == 1){score += | if(document.forms["IMPROVEDDScore"]["input5"].checked == 1){score += 1;} | ||
if(document.forms["IMPROVEDDScore"]["input6"].checked == 1){score += 1;} | if(document.forms["IMPROVEDDScore"]["input6"].checked == 1){score += 1;} | ||
if(document.forms["IMPROVEDDScore"]["input7"].checked == 1){score += 1;} | if(document.forms["IMPROVEDDScore"]["input7"].checked == 1){score += 1;} | ||
if(document.forms["IMPROVEDDScore"]["input8"].checked == 1){score += | if(document.forms["IMPROVEDDScore"]["input8"].checked == 1){score += 2; | ||
} | |||
document.forms["IMPROVEDDScore"]["result"].value = score; | document.forms["IMPROVEDDScore"]["result"].value = score; | ||
if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.4% at 35–42 days; 0.5% at 77 days";} | if(score == 0){document.forms["IMPROVEDDScore"]["longanswer"].value = "0.4% at 35–42 days; 0.5% at 77 days";} | ||
Line 24: | Line 25: | ||
<tbody style="border: 0; float: left; 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;"> | <tbody style="border: 0; float: left; 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;"> | ||
<tr> | <tr> | ||
<td style="text-align: center;" colspan="3"><span style="color: #ffffff;"><strong>IMPROVEDD VTE | <td style="text-align: center;" colspan="3"><span style="color: #ffffff;"><strong>IMPROVEDD VTE Risk Score Calculator</strong></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="color: #4479ba; background: #ffffff; padding: 2px 10px; border-radius: 5px; text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px; box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px;"><strong>Variable</strong></td> | <td style="color: #4479ba; background: #ffffff; padding: 2px 10px; border-radius: 5px; text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px; box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px;"><strong>Variable</strong></td> | ||
<td style="color: #4479ba; background: #ffffff; padding: 2px 10px; border-radius: 5px; text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px; box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px; text-align: center;"><strong>Score | <td colspan="2" style="color: #4479ba; background: #ffffff; padding: 2px 10px; border-radius: 5px; text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px; box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px; text-align: center;"><strong>Score</strong></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td 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 episode of VTE</td> | <td 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 episode of VTE</td> | ||
<td style="color: #ffffff; background: #4479ba; padding: 2px 10px; border-radius: 5px; text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px; box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px; text-align: center;"><strong>3</strong></td> | <td style="color: #ffffff; background: #4479ba; padding: 2px 10px; border-radius: 5px; text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px; box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px; text-align: center;"><strong>3</strong></td> | ||
<td 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);"><input style=" | <td 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);"><input style="top: 4px; width: 24px; height: 24px;" name="input1" type="checkbox" value="1.0" onchange="calcScore();" /></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 75: | Line 75: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="text-align: left; color: #4479BA; background: #ffffff; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 0 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" colspan="3">Predicted Risk of Symptomatic VTE: <input name="longanswer" size=" | <td style="text-align: left; color: #4479BA; background: #ffffff; padding: 2px 10px; border-radius: 5px 5px 5px 5px; text-shadow: 0 0 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);" colspan="3">Predicted Risk of Symptomatic VTE: <input name="longanswer" size="60" type="text" style="border: white"/></td> | ||
</tr> | </tr> | ||
</tbody> | </tbody> |