Widget:PE calculator: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
}
}
document.forms["PECalc"]["result"].value = score;
document.forms["PECalc"]["result"].value = score;
if(score < 2){document.forms["PECalc"]["longanswer"].value = "Low probability of PE; Consider checking [[Pulmonary embolism D-dimer|D-dimer]]";}
if(score < 2){document.forms["PECalc"]["longanswer"].value = "Low probability of PE; Consider checking D-dimer";}
if(score >= 2 && score <= 6){document.forms["PECalc"]["longanswer"].value = "Moderate probability of PE; Consider checking [[Pulmonary embolism D-dimer|D-dimer]]";}
if(score >= 2 && score <= 6){document.forms["PECalc"]["longanswer"].value = "Moderate probability of PE; Consider checking D-dimer";}
if(score > 6){document.forms["PECalc"]["longanswer"].value = "High probability of PE; Consider [[Pulmonary embolism CT|imaging]] of the pulmonary arteries";}
if(score > 6){document.forms["PECalc"]["longanswer"].value = "High probability of PE; Consider imaging of the pulmonary arteries";}
}
}
</script>
</script>
Line 41: Line 41:
</table>
</table>
Score: <input type="text" name="result" /><br />
Score: <input type="text" name="result" /><br />
<input type="text" size="35" name="longanswer" />
<input type="text" size="60" name="longanswer" />
</form>
</form>
</includeonly>
</includeonly>

Revision as of 18:09, 11 May 2012