Sandbox gc

Revision as of 20:08, 5 February 2019 by Gerald Chi (talk | contribs)
Jump to navigation Jump to search
Return to
Homepage

Editor-In-Chief: C. Michael Gibson, M.S., M.D. [1]; Associate Editor(s)-in-Chief:

<script type="text/javascript"> function calcScore(){ var score = 0; if(document.forms["DAPTSCORE"]["input1"].checked == 1){score -= 2;} if(document.forms["DAPTSCORE"]["input2"].checked == 1){score -= 1;} if(document.forms["DAPTSCORE"]["input3"].checked == 1){score += 0;} if(document.forms["DAPTSCORE"]["input4"].checked == 1){score += 1;} if(document.forms["DAPTSCORE"]["input5"].checked == 1){score += 1;} if(document.forms["DAPTSCORE"]["input6"].checked == 1){score += 1;} if(document.forms["DAPTSCORE"]["input7"].checked == 1){score += 1;} if(document.forms["DAPTSCORE"]["input8"].checked == 1){score += 1;} if(document.forms["DAPTSCORE"]["input9"].checked == 1){score += 1;} if(document.forms["DAPTSCORE"]["input10"].checked == 1){score += 2;} if(document.forms["DAPTSCORE"]["input11"].checked == 1){score += 2;}

document.forms["DAPTSCORE"]["result"].value = score; if(score <= 1){document.forms["DAPTSCORE"]["longanswer"].value = "Associated with an unfavorable benefit-to-risk ratio for prolonged DAPT";} if(score >= 2){document.forms["DAPTSCORE"]["longanswer"].value = "Associated with a favorable benefit-to-risk ratio for prolonged DAPT";} } </script> <form name="DAPTSCORE">

<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>
DAPT SCORE Calculator
Variable Score
Age ≥ 75 years old -2 <input style="top: 4px; width: 24px; height: 24px;" name="input1" type="checkbox" value="-2.0" onchange="calcScore();" />
65-74 years old -1 <input style="top: 4px; width: 24px; height: 24px;" name="input2" type="checkbox" value="-1.0" onchange="calcScore();" />
< 65 years old 0 <input style="top: 4px; width: 24px; height: 24px;" name="input3" type="checkbox" value="0" onchange="calcScore();" />
Cigarette smoking 1 <input style="top: 4px; width: 24px; height: 24px;" name="input4" type="checkbox" value="1.0" onchange="calcScore();" />
Diabetes mellitus 1 <input style="top: 4px; width: 24px; height: 24px;" name="input5" type="checkbox" value="1.0" onchange="calcScore();" />
Prior MI or PCI 1 <input style="top: 4px; width: 24px; height: 24px;" name="input6" type="checkbox" value="1.0" onchange="calcScore();" />
MI at presentation 1 <input style="top: 4px; width: 24px; height: 24px;" name="input7" type="checkbox" value="1.0" onchange="calcScore();" />
Paclitaxel-eluting stent 1 <input style="top: 4px; width: 24px; height: 24px;" name="input8" type="checkbox" value="1.0" onchange="calcScore();" />
Stent diameter < 3 mm 1 <input style="top: 4px; width: 24px; height: 24px;" name="input9" type="checkbox" value="1.0" onchange="calcScore();" />
CHF or LVEF < 30% 2 <input style="top: 4px; width: 24px; height: 24px;" name="input10" type="checkbox" value="2.0" onchange="calcScore();" />
Vein graft stent 2 <input style="top: 4px; width: 24px; height: 24px;" name="input11" type="checkbox" value="2.0" onchange="calcScore();" />
DAPT Score: <input name="result" type="text" style="border: white"/>
Interpretation: <input name="longanswer" size="65" type="text" style="border: white"/>

</form>