Sandbox: wdx: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
<references />
<references />
==widget==
==widget==
<includeonly>
<script type="text/javascript">
<script type="text/javascript">
function calcScore(){
function calcScore(){
Line 130: Line 129:
</table>
</table>
</form>
</form>
</includeonly>

Revision as of 21:19, 5 February 2019

An ECG in a person with a potassium level of 1.1 showing the classical ECG changes of ST segment depression, inverted T waves, large U waves, and a slightly prolonged PR interval. By James Heilman, MD - Own work, CC BY-SA 3.0


An ECG in a person with a potassium level of 1.1 showing the classical ECG changes of ST segment depression, inverted T waves, large U waves, and a slightly prolonged PR interval. By James Heilman, MD - Own work, CC BY-SA 3.0


{{#ev:youtube|7TWu0_Gklzo}}

Table

Complications Polymyositis Dermatomyositis
Malignancy


widget

<script type="text/javascript"> function calcScore(){ var score = 0; if(document.forms["ACTION_ICU_Score"]["input1"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input2"].checked == 1){score += 1;} if(document.forms["ACTION_ICU_Score"]["input3"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input4"].checked == 1){score += 1;} if(document.forms["ACTION_ICU_Score"]["input5"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input6"].checked == 1){score += 1;} if(document.forms["ACTION_ICU_Score"]["input7"].checked == 1){score += 3;} if(document.forms["ACTION_ICU_Score"]["input8"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input9"].checked == 1){score += 1;} if(document.forms["ACTION_ICU_Score"]["input10"].checked == 1){score += 3;} if(document.forms["ACTION_ICU_Score"]["input11"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input12"].checked == 1){score += 2;} if(document.forms["ACTION_ICU_Score"]["input13"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input14"].checked == 1){score += 5;} if(document.forms["ACTION_ICU_Score"]["input15"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input16"].checked == 1){score += 1;} if(document.forms["ACTION_ICU_Score"]["input17"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input18"].checked == 1){score += 1;} if(document.forms["ACTION_ICU_Score"]["input19"].checked == 1){score += 0;} if(document.forms["ACTION_ICU_Score"]["input20"].checked == 1){score += 2;}


document.forms["ACTION_ICU_Score"]["result"].value = score; if(score <=4){document.forms["ACTION_ICU_Score"]["longanswer"].value = "Low probability of PE (~10%)";} if(score >= 5 && score <= 8){document.forms["PECalc"]["longanswer"].value = "Moderate probability of PE (~38%)";} if(score >= 9){document.forms["ACTION_ICU_Score"]["longanswer"].value = "High probability of PE (~81%)";} } </script> <form name="ACTION_ICU_Score">

<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

</tbody>
ACTION ICU score
Variable Score
Age < 70 years 0 <input type="checkbox" style="width: 24px; height: 24px;" name="input1" value="0" onchange="calcScore();" />
≥ 70 years 1 <input style="top: 4px; width: 24px; height: 24px;" name="input2" type="checkbox" value="1.0" onchange="calcScore();" />
Serum creatinine < 1.1 mg/dL 0 <input style="top: 4px; width: 24px; height: 24px;" name="input3" type="checkbox" value="0" onchange="calcScore();" />
≥ 1.1 mg/dL 1 <input style="top: 4px; width: 24px; height: 24px;" name="input4" type="checkbox" value="1.0" onchange="calcScore();" />
Heart rate < 85 bpm 0 <input style="top: 4px; width: 24px; height: 24px;" name="input5" type="checkbox" value="0" onchange="calcScore();" />
85-100 bpm 1 <input style="top: 4px; width: 24px; height: 24px;" name="input6" type="checkbox" value="1.0" onchange="calcScore();" />
≥ 100 bpm 3 <input style="top: 4px; width: 24px; height: 24px;" name="input7" type="checkbox" value="3.0" onchange="calcScore();" />
Systolic blood pressure ≥ 145 mmHg 0 <input style="top: 4px; width: 24px; height: 24px;" name="input8" type="checkbox" value="0" onchange="calcScore();" />
125-144 1 <input style="top: 4px; width: 24px; height: 24px;" name="input9" type="checkbox" value="1.0" onchange="calcScore();" />
< 125 3 <input style="top: 4px; width: 24px; height: 24px;" name="input10" type="checkbox" value="3.0" onchange="calcScore();" />
ACTION ICU Score: <input name="result" type="text" style="border: white"/>
Interpretation: <input name="longanswer" size="60" type="text" style="border: white"/>

</form>