Widget:CHADS2score: Difference between revisions

Jump to navigation Jump to search
Ssharfaei (talk | contribs)
Created page with "<includeonly> <script type="text/javascript"> function calcScore(){ var score = 0; if(document.forms["CHADS2"]["input1"].checked == 1){score += 1;} if(document.forms["CHADS2"]..."
 
Ssharfaei (talk | contribs)
No edit summary
Line 12: Line 12:


if(score == 0){document.forms["CHADS2"]["longanswer"].value = "Low risk (1.9% stroke risk, 95% CI 1.2-3.0); Consider Aspirin daily";}
if(score == 0){document.forms["CHADS2"]["longanswer"].value = "Low risk (1.9% stroke risk, 95% CI 1.2-3.0); Consider Aspirin daily";}
if(score == 1){document.forms["CHADS2"]["longanswer"].value = "Moderate risk (2.8% stroke risk, CI 2.0-3.8); Consider Aspirin or Warfarin depends on patient preference";}
if(score == 1){document.forms["CHADS2"]["longanswer"].value = "Moderate risk (2.8% stroke risk, CI 2.0-3.8); Consider Aspirin or Warfarin";}
if(score == 2){document.forms["CHADS2"]["longanswer"].value = "Moderate risk (4% stroke risk, 95% CI 3.1-5.); Warfarin with an INR target of 2-3, unless contraindicated";}
if(score == 2){document.forms["CHADS2"]["longanswer"].value = "Moderate risk (4% stroke risk, 95% CI 3.1-5.); Warfarin with an INR target of 2-3";}
if(score == 3){document.forms["CHADS2"]["longanswer"].value = "Moderate risk (5.9% stroke risk, 95% CI 4.6-7.3); Warfarin with an INR target of 2-3, unless contraindicated";}
if(score == 3){document.forms["CHADS2"]["longanswer"].value = "Moderate risk (5.9% stroke risk, 95% CI 4.6-7.3); Warfarin with an INR target of 2-3";}
if(score == 4){document.forms["CHADS2"]["longanswer"].value = "High risk (8.5% stroke risk, 95% CI 6.3-11.1); Warfarin with an INR target of 2-3, unless contraindicated";}
if(score == 4){document.forms["CHADS2"]["longanswer"].value = "High risk (8.5% stroke risk, 95% CI 6.3-11.1); Warfarin with an INR target of 2-3";}
if(score == 5){document.forms["CHADS2"]["longanswer"].value = "High risk (12.5% stroke risk, 95% CI 8.2-17.5); Warfarin with an INR target of 2-3, unless contraindicated";}
if(score == 5){document.forms["CHADS2"]["longanswer"].value = "High risk (12.5% stroke risk, 95% CI 8.2-17.5); Warfarin with an INR target of 2-3";}
if(score == 6){document.forms["CHADS2"]["longanswer"].value = "High risk (18.2% stroke risk, 95% CI 10.5-27.4); Warfarin with an INR target of 2-3, unless contraindicated";}
if(score == 6){document.forms["CHADS2"]["longanswer"].value = "High risk (18.2% stroke risk, 95% CI 10.5-27.4); Warfarin with an INR target of 2-3";}
}
}
</script>
</script>
Line 59: Line 59:
</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">Interpretation: <input name="longanswer" size="80" type="text" style="border: white"/></td>
<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">Interpretation: <input name="longanswer" size="70" type="text" style="border: white"/></td>
</tr>
</tr>
</tbody>
</tbody>

Revision as of 17:06, 16 November 2018