Widget:MVD: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 44: Line 44:
var score = LMCA_Score_Final + RCA_Score_Final + LAD_Score_Final + CX_Score_Final + 0;
var score = LMCA_Score_Final + RCA_Score_Final + LAD_Score_Final + CX_Score_Final + 0;


if(score == 0){document.forms["MVD"]["longanswer"].value = "No, the patient does not have multi-vessel disease.";}
if(score == 0){document.forms["MVD"]["longanswer"].value = "No, the patient does not have multivessel disease.";}
if(score == 1){document.forms["MVD"]["longanswer"].value = "No, the patient has single-vessel disease but not multi-vessel disease.";}
if(score == 1){document.forms["MVD"]["longanswer"].value = "No, the patient has single-vessel disease but not multivessel disease.";}
if(score >= 2){document.forms["MVD"]["longanswer"].value = "Yes, the patient has multi-vessel disease.";}
if(score >= 2){document.forms["MVD"]["longanswer"].value = "Yes, the patient has multivessel disease.";}
}
}
</script>
</script>

Revision as of 23:33, 3 April 2019