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; Consider checking | 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 | 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 | 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=" | <input type="text" size="60" name="longanswer" /> | ||
</form> | </form> | ||
</includeonly> | </includeonly> |