Widget:MVD: Difference between revisions
Jump to navigation
Jump to search
Gerald Chi (talk | contribs) mNo edit summary |
Gerald Chi (talk | contribs) 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 a multi-vessel disease";} | if(score == 0){document.forms["MVD"]["longanswer"].value = "No, the patient does not have a multi-vessel disease.";} | ||
if(score == 1){document.forms["MVD"]["longanswer"].value = "No, the patient has a one-vessel disease but not multi-vessel disease";} | if(score == 1){document.forms["MVD"]["longanswer"].value = "No, the patient has a one-vessel disease but not multi-vessel disease.";} | ||
if(score >= 2){document.forms["MVD"]["longanswer"].value = "Yes, the patient has a multi-vessel disease";} | if(score >= 2){document.forms["MVD"]["longanswer"].value = "Yes, the patient has a multi-vessel disease.";} | ||
} | } | ||
</script> | </script> |