Widget:PE calculator: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) 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 | 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 | 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 | if(score > 6){document.forms["PECalc"]["longanswer"].value = "High probability of PE: Consider imaging of the pulmonary arteries";} | ||
} | } | ||
</script> | </script> |