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 = " | if(score < 2){document.forms["PECalc"]["longanswer"].value = "Low probability of PE; Consider checking [[Pulmonary embolism D-dimer|D-dimer]]";} | ||
if(score >= 2 && score <= 6){document.forms["PECalc"]["longanswer"].value = " | if(score >= 2 && score <= 6){document.forms["PECalc"]["longanswer"].value = "Moderate probability of PE; Consider checking [[Pulmonary embolism D-dimer|D-dimer]]";} | ||
if(score > 6){document.forms["PECalc"]["longanswer"].value = " | if(score > 6){document.forms["PECalc"]["longanswer"].value = "High probability of PE; Consider [[Pulmonary embolism CT|imaging]] of the pulmonary arteries";} | ||
} | } | ||
</script> | </script> |