private HtmlNode GetTable1Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); UIUtils.AddColumnRowToTable(table, "Total Patients with Scores From Report Period", all.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)low / (double)all, 0); UIUtils.AddColumnRowToTable(table, "0-4% Patients", low.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)mid / (double)all, 0); UIUtils.AddColumnRowToTable(table, "5-9%", mid.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)high / (double)all, 0); UIUtils.AddColumnRowToTable(table, "10% or Greater", high.ToString("#,###,###"), percent.ToString() + "%"); return(table); }
private HtmlNode GetTable1Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); UIUtils.AddColumnRowToTable(table, "Total Number of Patients", highrisk.denominator.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)high_risk_prevelance / (double)highrisk.denominator, 0); UIUtils.AddColumnRowToTable(table, "All High Lynch Syndrome Risk Patients Seen", high_risk_prevelance.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)high_risk_incidence / (double)highrisk.denominator, 0); UIUtils.AddColumnRowToTable(table, "New High Lynch Syndrome Risk", high_risk_incidence.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)high_risk_seenInRC / (double)highrisk.denominator, 0); UIUtils.AddColumnRowToTable(table, "High Lynch Syndrome Seen In Cancer Genetics", high_risk_seenInRC.ToString("#,###,###"), percent.ToString() + "%"); return(table); }
private HtmlNode GetTable1Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); UIUtils.AddColumnRowToTable(table, "Total Patients", frequency.Count.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)total_bc / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Total Breast Cancer Patients", total_bc.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)uni_bc / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Unilateral Breast Cancer", uni_bc.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)bil_bc / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Bilateral Breast Cancer", bil_bc.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)oc / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Ovarian Cancer", oc.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)oc_uni / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Ovarian w/ Unilateral Breast", oc_uni.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)oc_bil / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Ovarian w/ Bilateral Breast", oc_bil.ToString("#,###,###"), percent.ToString() + "%"); return(table); }
private HtmlNode GetTable2Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); UIUtils.AddColumnRowToTable(table, "Total Patients with Scores", all.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)passed / (double)all, 0); UIUtils.AddColumnRowToTable(table, "At or Above Threshold", passed.ToString("#,###,###"), percent.ToString() + "%"); return(table); }
private HtmlNode GetTable2Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); UIUtils.AddColumnRowToTable(table, "Total Patients with Scores From Report Period", all.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)passed / (double)all, 0); UIUtils.AddColumnRowToTable(table, "Total Patients At or Above Threshold", passed.ToString("#,###,###"), percent.ToString() + "%"); UIUtils.AddColumnRowToTable(table, "BRCAPRO", brcaproCount.ToString("#,###,###"), brcaproPercent); UIUtils.AddColumnRowToTable(table, "Myriad", clausCount.ToString("#,###,###"), clausPercent); UIUtils.AddColumnRowToTable(table, "TC6", tc6Count.ToString("#,###,###"), tc6Percent); UIUtils.AddColumnRowToTable(table, "TC7", tc7Count.ToString("#,###,###"), tc7Percent); return(table); }
private HtmlNode GetTable1Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); int total = (colorectal + endouterine + both); UIUtils.AddColumnRowToTable(table, "Total Lynch Cancer Patients", total.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)colorectal / (double)total, 0); UIUtils.AddColumnRowToTable(table, "Colorectal Cancer", colorectal.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)endouterine / (double)total, 0); UIUtils.AddColumnRowToTable(table, "Endometrial/Uterine Cancer", endouterine.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)both / (double)total, 0); UIUtils.AddColumnRowToTable(table, "Both", both.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)hr / (double)total, 0); UIUtils.AddColumnRowToTable(table, "Early Age of Dx", hr.ToString("#,###,###"), percent.ToString() + "%"); return(table); }
private HtmlNode GetTable2Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); UIUtils.AddColumnRowToTable(table, "Total Number of Patients", moderaterisk.denominator.ToString("#,###,###"), ""); int percent = (int)Math.Round(100 * (double)moderate_risk_prevelance / (double)moderaterisk.denominator, 0); UIUtils.AddColumnRowToTable(table, "All Moderate Lifetime Risk Breast Cancer", moderate_risk_prevelance.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)moderate_risk_incidence / (double)moderaterisk.denominator, 0); UIUtils.AddColumnRowToTable(table, "New Moderate Lifetime Risk Breast Cancer", moderate_risk_incidence.ToString("#,###,###"), percent.ToString() + "%"); return(table); }
private HtmlNode GetTable2Node(HtmlNode node) { HtmlNode table = UIUtils.CreateReportTableNode(node); int percent = (int)Math.Round(100 * (double)hr_bc / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Early Dx Breast Cancer", hr_bc.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)hr_oc / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Ovarian Cancer", hr_oc.ToString("#,###,###"), percent.ToString() + "%"); percent = (int)Math.Round(100 * (double)hr_both / (double)frequency.Count, 0); UIUtils.AddColumnRowToTable(table, "Ovarian or Early Breast", hr_both.ToString("#,###,###"), percent.ToString() + "%"); return(table); }