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;


document.forms["MVD"]["result"].value = score;
if(score == 0){document.forms["MVD"]["longanswer"].value = "The patient does not have a multivessel disease.";}
if(score == 0){document.forms["MVD"]["longanswer"].value ="The patient does not have a multivessel disease.";}
if(score == 1){document.forms["MVD"]["longanswer"].value = "The patient has a one-vessel disease but not multivessel disease.";}
if(score == 1){document.forms["MVD"]["longanswer"].value ="The patient has a one-vessel disease but not multivessel disease.";}
if(score >= 2){document.forms["MVD"]["longanswer"].value = "The patient has a multivessel disease.";}
if(score >= 2){document.forms["MVD"]["longanswer"].value ="The patient has a multivessel disease.";}
}
}
</script>
</script>

Revision as of 21:30, 1 April 2019