Personal tools
Navigation
 

SPARC

Stroke Prevention Atrial fibrillation Risk Calculator. Risk/Benefits of anticoagulation and anti-platelet therapies for CVA in AF. Based on CHADS-2 and new Active-A trial.

HTML icon SPARC.html — HTML, 16 kB (16731 bytes)

File contents

<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

 



<title>SPARC</title>
<style type="text/css">
p.title{
	text-transform: uppercase;
	font-size: 16;
	font-family: Arial;
	font-weight: bolder;
	text-align: left;
  	color: black;
}
p.heading{
	font-size: 12;
	font-family: Arial;
	font-weight: bolder;
	text-align: left;
	vertical-align: top;
	color: black;
}
p.normaltext{
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
}
td.heading1{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: center;
	vertical-align: top;
	color: white;
	background-color:black ;
	border-width: 1;
}
td.QuestionHeading{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: left;
	vertical-align: top;
	color: white;
	background-color: #505050;
	border-width: 1;
}
td.AnswerHeading{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: center;
	vertical-align: top;
	color: white;
	background-color: #505050;
	border-width: 1;
}

tr.odd{
	background-color: #ffffff;
}
tr.even{
	background-color: #dddddd;
}
td.question{
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	border-width: 1;
}
td.answer{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	color: black;
	border-width: 1;
}
td.normaltext{
	width: 100%;
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	background-color: white;
	border-width: 0;
}
input.formtext{
	width: 100%;
	height: 100%;
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	background-color: white;
	border-width: 1;
	border-style: solid; 
}
textarea.formtext{
	width: 100%;
	height: auto;
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	background-color: white;
	border-width: 1;
	border-style: solid;
}

</style>

<!-------Script to maximize window on loading----------->
<script language="JavaScript1.2">
<!--
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
<!----------End maximizing window script---------->


<!-- CSS Script that removes textarea and textbox borders when printing ---(put this inbetween <header></header>)----------------->
<style type="text/css" media="print">
.DoNotPrint {
	display: none;
}

.noborder {
	scrollbar-3dlight-color: transparent;
	scrollbar-3dlight-color: transparent;
	scrollbar-arrow-color: transparent;
	scrollbar-base-color: transparent;
	scrollbar-darkshadow-color: transparent;
	scrollbar-face-color: transparent;
	scrollbar-highlight-color: transparent;
	scrollbar-shadow-color: transparent;
	scrollbar-track-color: transparent;
	background: transparent;
	overflow: hidden;
	border : 0px;
}
</style>
<!-- ----------------------------------------------------------------------------------------- -->

<script type="text/javascript" language="javascript">

function passAge() {
         if (document.getElementById("Age").value >= 75){
               document.getElementById("75").checked =true;
         }
         if (document.getElementById("Age").value >= 80){
         document.getElementById("high").style.background='yellow';
         }
         else if ((document.getElementById("Age").value >0)&&(document.getElementById("Age").value <80)){
         document.getElementById("low").style.background='yellow';
         }
         

}

function getCheckedValue(radioObj) {

	if(!radioObj)
		return parseInt(0);
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return parseInt(radioObj.value);
		else
			return parseInt(value);
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return parseInt(radioObj[i].value);
		}
	}
	
	return parseInt(0);
}

function totalScore(){
	var i = 0;

	i += getCheckedValue(document.FormName.Q1);
	i += getCheckedValue(document.FormName.Q2);
	i += getCheckedValue(document.FormName.Q3);
	i += getCheckedValue(document.FormName.Q4);
	i += getCheckedValue(document.FormName.Q5);
	
	


	document.FormName.Score.value = i;
	 if (i==0){
		document.getElementById("0").style.background='yellow';
		document.getElementById("1").style.background='white';
		document.getElementById("2").style.background='white';
                document.getElementById("3").style.background='white';
		document.getElementById("4").style.background='white';
		document.getElementById("5").style.background='white';
                document.getElementById("6").style.background='white';
		document.getElementById("verylow").style.background='green';
		document.getElementById("lowrisk").style.background='white';
		document.getElementById("intermediate").style.background='white';
		document.getElementById("highrisk").style.background='white';

	}

         if (i==1){
		document.getElementById("0").style.background='white';
		document.getElementById("1").style.background='yellow';
		document.getElementById("2").style.background='white';
                document.getElementById("3").style.background='white';
		document.getElementById("4").style.background='white';
		document.getElementById("5").style.background='white';
                document.getElementById("6").style.background='white';
	}
          if (i==2){
		document.getElementById("0").style.background='white';
		document.getElementById("1").style.background='white';
		document.getElementById("2").style.background='yellow';
                document.getElementById("3").style.background='white';
		document.getElementById("4").style.background='white';
		document.getElementById("5").style.background='white';
                document.getElementById("6").style.background='white';
	}

         if (i==3){
		document.getElementById("0").style.background='white';
		document.getElementById("1").style.background='white';
		document.getElementById("2").style.background='white';
                document.getElementById("3").style.background='yellow';
		document.getElementById("4").style.background='white';
		document.getElementById("5").style.background='white';
                document.getElementById("6").style.background='white';
	}

         if (i==4){
		document.getElementById("0").style.background='white';
		document.getElementById("1").style.background='white';
		document.getElementById("2").style.background='white';
                document.getElementById("3").style.background='white';
		document.getElementById("4").style.background='yellow';
		document.getElementById("5").style.background='white';
                document.getElementById("6").style.background='white';
	}

         if (i==5){
		document.getElementById("0").style.background='white';
		document.getElementById("1").style.background='white';
		document.getElementById("2").style.background='white';
                document.getElementById("3").style.background='white';
		document.getElementById("4").style.background='white';
		document.getElementById("5").style.background='yellow';
                document.getElementById("6").style.background='white';
	}
          if (i==6){
		document.getElementById("0").style.background='white';
		document.getElementById("1").style.background='white';
		document.getElementById("2").style.background='white';
                document.getElementById("3").style.background='white';
		document.getElementById("4").style.background='white';
		document.getElementById("5").style.background='white';
                document.getElementById("6").style.background='yellow';
	}


	if (i==1){
		document.getElementById("verylow").style.background='white';
		document.getElementById("lowrisk").style.background='yellow';
		document.getElementById("intermediate").style.background='white';
		document.getElementById("highrisk").style.background='white';
	}

	if (i>=2 && i<=4){
		document.getElementById("verylow").style.background='white';
		document.getElementById("lowrisk").style.background='white';
		document.getElementById("intermediate").style.background='pink';
		document.getElementById("highrisk").style.background='white';
	}
	else if (i>=5 && i<=6){
		document.getElementById("verylow").style.background='white';
		document.getElementById("lowrisk").style.background='white';
		document.getElementById("intermediate").style.background='white';
		document.getElementById("highrisk").style.background='red';

	}

                
	
}
</script>


</head><body onload="passAge();">

<form method="post" action="" name="FormName">

<p class="title">
	Stroke Prevention Atrial Fibrillation Risk Calculator
</p>


<div name="demographics">
<table width="50%">
	<tbody><tr>
		<td class="heading1" width="25%">Patient name</td>
		<td class="formtext"><input class="formtext" name="PatientName" oscarDB=patient_name type="text">
	</td></tr>
	<tr>
		<td class="heading1">Date:</td>
		<td class="formtext"><input class="formtext" name="TodaysDate" oscarDB=Today type="text">
	</td></tr>
        <tr>
		<td class="heading1">Patients age:</td>
		<td class="formtext"><input class="formtext" name="Age" id="Age" oscardb=age type="text">
	</td></tr>
</tbody></table>
</div>

<br>

<div name="Questionnaire">
<table width="50%">
         <tbody><tr>
		<td class="heading1" width="60%">Associated medical conditions:</td>
		<td class="heading1" width="20%">Absent</td>
                <td class="heading1" width="20%">Present</td>
		 
		
	</tr>

	
       
        <tr class="even">
		<td class="question"><p class="normal">Congestive heart failure within 90 days </p></td>
		<td class="answer"><input name="Q1" value="0" checked="checked" type="radio"></td>
                <td class="answer"><input name="Q1" value="1" type="radio"></td>
		
	</tr><tr>
   

	</tr><tr class="even">
		<td class="question"><p class="normal">Any history of HBP whether on treatment or not</p></td>
		<td class="answer"><input name="Q2" value="0" checked="checked" type="radio"></td>
                <td class="answer"><input name="Q2" value="1" type="radio"></td>
		
	</tr>

      

	<tr class="even">
		<td class="question"><p class="normal">Age &gt;= 75yrs</p></td>
		<td class="answer"><input name="Q3" value="0" checked="checked" type="radio"></td>
		<td class="answer"><input name="Q3" id="75" value="1" type="radio"></td>
		
	</tr>
        

	<tr class="even">
		<td class="question"><p class="normal">Diabetes </p></td>
		<td class="answer"><input name="Q4" value="0" checked="checked" type="radio"></td>
		<td class="answer"><input name="Q4" value="1" type="radio"></td>
	</tr>

        <tr class="even">
		<td class="question"><p class="normal">Prior stroke or TIA</p></td>
		<td class="answer"><input name="Q5" value="0" checked="checked" type="radio"></td>
		<td class="answer"><input name="Q5" value="2" type="radio"></td>
	</tr><tr>
        

	
	
</tr></tbody></table>
<br>
<table>
<tbody><tr>
	<td><input onclick="totalScore()" value="Calculate CHADS Score" type="button"></td>
	<td><input name="Score" size="10" value="" type="text"></td>
</tr>
</tbody></table>

</div>


<br>
<br>


<div name="Risk" class="DoNotPrint">
Yearly Risk of Ischemic Stroke/NNT
<table width="50%">
<tbody><tr>
	
        <td class="heading1" width="10%">CHADS Score</td>
        <td class="heading1" width="10%">Untreated</td>
        <td class="heading1" width="10%">On Warfarin</td>
        <td class="heading1" width="10%">On ASA + Clopidogrel</td>
        <td class="heading1" width="10%">On ASA</td>
</tr>
<tr id="0">
	<td class="answer">0</td>
	<td class="answer">1.9%</td>
	<td class="answer">0.6%/79</td>
        <td class="answer">1.1%/120</td>
        <td class="answer">1.5%/239</td>
</tr>
<tr id="1">
	<td class="answer">1</td>
	<td class="answer">2.8%</td>
	<td class="answer">0.9%/53</td>
        <td class="answer">1.6%/81</td>
        <td class="answer">2.2%/162</td>
</tr>
<tr id="2">
	<td class="answer">2</td>
	<td class="answer">4.0%</td>
	<td class="answer">1.3%/37</td>
        <td class="answer">2.2%/57</td>
        <td class="answer">3.1%/114</td>
</tr>
<tr id="3">
	<td class="answer">3</td>
	<td class="answer">5.9%</td>
	<td class="answer">1.9%/25</td>
        <td class="answer">3.3%/39</td>
        <td class="answer">4.6%/77</td>
</tr>
<tr id="4">
	<td class="answer">4</td>
	<td class="answer">8.5%</td>
	<td class="answer">2.8%/18</td>
        <td class="answer">4.8%/27</td>
        <td class="answer">6.6%/53</td>
</tr>
<tr id="5">
	<td class="answer">5</td>
	<td class="answer">12.5%</td>
	<td class="answer">4.1%/12</td>
        <td class="answer">7.0%/18</td>
        <td class="answer">9.8%/36</td>
</tr>
<tr id="6">
	<td class="answer">6</td>
	<td class="answer">18.2%</td>
	<td class="answer">6.0%/8</td>
        <td class="answer">10.2%/12</td>
        <td class="answer">14.2%/25</td>
</tr>
</tbody></table>

<br>

Yearly Risk of Major Bleed/NNT-H
<table width="50%">
<tbody><tr>
	
        <td class="heading1" width="10%">CHADS Score</td>
        <td class="heading1" width="10%">Untreated</td>
        <td class="heading1" width="10%">On Warfarin</td>
        <td class="heading1" width="10%">On ASA + Clopidogrel</td>
        <td class="heading1" width="10%">On ASA</td>
</tr>
	<tr><td class="answer">0-6</td>
	<td class="answer">0.6%</td>
	<td class="answer">2.4-2.8%/56</td>
        <td class="answer">2.0-2.2%/56</td>
        <td class="answer">1.1%/222</td>
</tr>
</tbody></table>

<br>
<table width="50%">
<tbody><tr>
	
        <td class="heading1" width="10%">Risk of major bleed</td>
        <td class="heading1" width="10%">Less significant but worrisome bleed</td>
       
</tr>

<tr id="low">
         <td class="answer">Age &lt; 80yrs:Risk of major bleed  1% per year.</td>
         <td class="answer">Age &gt;50yrs:Risk of minor bleed 5% per year.</td>
</tr>
<tr id="high">
         <td class="answer">Age &gt; 80 yrs:Risk of major bleed 3.4% per year</td>
         <td class="answer"></td>
</tr>
</tbody></table>
<br>
<br>
<div name="Application" class="DoNotPrint">
<table width="60%">

<tbody><tr>
	<td class="heading1" colspan="2">Recommendations</td>
</tr>
<tr id="verylow">
	<td>0</td>
	<td>Very low risk of stroke (&lt;2%), "lone AF": No treatment if &lt;60yrs; ASA if 60-75 yrs.</td>
</tr>
<tr id="lowrisk">
	<td>1</td>
	<td>Low Risk of stroke (2-4%): Treat with ASA, ASA + Clopidrogel**, or Warfarin.</td>
</tr>
<tr id="intermediate">
	<td>2-4</td>
	<td>Intermediate Risk of stroke (6-8.5%): Recommend Warfarin (or ASA + Clopidogrel**).</td>
</tr>
<tr id="highrisk">
	<td>5-6</td>
	<td>High Risk of stroke (12.5-18%): Recommend Warfarin (or ASA + Clopidogrel**). Discuss risks and benefits.</td>
</tr>


</tbody></table>

<br>
<br>

<div name="Application" class="DoNotPrint">
<table width="60%">

<tbody><tr>
	<td class="heading1" colspan="2">Notes:</td>
</tr>

<tr>
	
	<td>1. Check TSH: hyperthyroidism is a major cause of atrial fibrillation.</td>
</tr>

<tr>
	
	<td>2. Echocardiogram is not essential as the size of the atrium does not correlate with the rhythm or outcome.</td>
</tr>

<tr>
	
	<td>3. Establish rate control with either B-blocker or a calcium channel blocker.</td>
</tr>

<tr>
	
	<td>4. Treatment with warfarin reduces the risk of stroke in
atrial fibrillation by ~66%; treatment with aspirin + Clopidogrel
reduces risk by ~44%; treatment with ASA alone reduces risk by ~22%.</td>
</tr>

<tr>
	
	<td>5. The risk of major bleeding on warfarin varies with the patients medical problems but is generally less than 2%.</td>
</tr>

<tr>
	
	<td>6.** Numbers Needed to Treat for Harm on ASA +
Clopidogrel** is SAME as Warfarin. Choose this combination if there is
a non-bleeding contraindication to using Warfarin.</td>
</tr>
</tbody></table>

</div>


<br>
<br>

<!-- The submit/print/reset buttons ------------------------------------------------------------->
<div name="FunctionButtons" class="DoNotPrint">
<table>
<tbody><tr>
	<td class="subjectline">
		Subject: <input name="subject" size="40" type="text">
		<input value="Submit" name="SubmitButton" type="submit">
		<input value="Reset" name="ResetButton" type="reset">
		<input value="Print" name="PrintButton" onclick="javascript:window.print()" type="button">
	</td>
</tr>
</tbody></table>
</div>


<!-- ------End of submit/print/reset buttons----------------------------------------------------->

</div></div></form></body></html>

Document Actions

 

Download button

DOWNLOAD OSCAR FOR TESTING

 

eForms button

DOWNLOAD SHARED E-FORMS


 Customize button

FIND PLUG-INS AND TWEAKS
FOR YOUR OSCAR EMR

 

Subscribe Button

SUBSCRIBE TO DISCUSSION LIST 
(SEE ALL LISTS)

  

Help button

ACCESS THE ONLINE MANUALS
(PAID SUPPORT)