diff --git a/frontend/src/components/immunohistochemistry/ImmunohistochemistryCaseView.js b/frontend/src/components/immunohistochemistry/ImmunohistochemistryCaseView.js index e259a36f94..488cc35401 100644 --- a/frontend/src/components/immunohistochemistry/ImmunohistochemistryCaseView.js +++ b/frontend/src/components/immunohistochemistry/ImmunohistochemistryCaseView.js @@ -125,6 +125,12 @@ function ImmunohistochemistryCaseView() { herScore: "", diagnosis: "", molecularSubType: "", + conclusion : "", + ihcScore: "", + ihcRatio: "", + averageChrom: "", + averageHer2: "", + numberOfcancerNuclei: "", toggled : false }, }); @@ -427,7 +433,7 @@ function ImmunohistochemistryCaseView() { }} /> - +
           
@@ -477,9 +483,160 @@ function ImmunohistochemistryCaseView() { ); case "DUAL_IN_SITU_HYBRIDISATION": - return <>; + return <> + + + + + Number of Cancer nuclei + + + { + var params = { ...reportParams }; + if (!params[index]) { + params[index] = {}; + } + params[index].numberOfcancerNuclei = e.target.value; + setReportParams(params); + }} + /> + + +
           
+
+ + Average HER2 per nucleus + + + { + var params = { ...reportParams }; + if (!params[index]) { + params[index] = {}; + } + params[index].averageHer2 = e.target.value; + var her2 = e.target.value; + var chrom = params[index].averageChrom; + if(chrom){ + var ratio = her2/chrom ; + params[index].ihcRatio = ratio; + if (ratio >= 2.0) { + params[index].ihcScore = "AMPLIFICATION" + }else{ + params[index].ihcScore = "NO_AMPLIFICATION" + } + } + setReportParams(params); + }} + /> + + +
           
+
+ + Average Chromozome 17 Sinals per nucleus + + + { + var params = { ...reportParams }; + if (!params[index]) { + params[index] = {}; + } + params[index].averageChrom = e.target.value; + var her2 = params[index].averageHer2 + var chrom = e.target.value; + if(her2){ + var ratio = her2/chrom ; + params[index].ihcRatio = ratio; + if (ratio >= 2.0) { + params[index].ihcScore = "AMPLIFICATION" + }else{ + params[index].ihcScore = "NO_AMPLIFICATION" + } + } + setReportParams(params); + }} + /> + + +
           
+
+ + Ratio of Her2/neu Signals to Chromozome 17 + + + + + + +
           
+
+ + IHC (Cerb2 Scoer) + + + + + +
+
+ + + ; case "IMMUNOHISTOCHEMISTRY": - return <>; + return <> + + + + Conlusion + + +