public override void Render()
        {
            this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\InvasiveBreastPanel.xml";
            this.OpenTemplate();
            this.SetDemographicsV2();
            this.SetReportDistribution();

            YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanel invasiveBreastPanel = (YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanel)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(125);
            YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanelResult invasiveBreastPanelResult = new Test.InvasiveBreastPanel.InvasiveBreastPanelResult(this.m_AccessionOrder);

            this.ReplaceText("specimen_description", invasiveBreastPanelResult.SpecimenOrder.GetSpecimenDescriptionString());
            if (invasiveBreastPanelResult.HasSurgical == true)
            {
                this.SetXMLNodeParagraphData("surgical_diagnosis", invasiveBreastPanelResult.SurgicalSpecimen.Diagnosis);
            }
            else this.DeleteRow("surgical_diagnosis");

            this.ReplaceText("her2_result", invasiveBreastPanelResult.HER2ResultString);
            this.ReplaceText("er_result", invasiveBreastPanelResult.ERResultString);
            this.ReplaceText("pr_result", invasiveBreastPanelResult.PRResultString);

            this.ReplaceText("report_date", BaseData.GetShortDateString(invasiveBreastPanel.FinalDate));
            this.ReplaceText("pathologist_signature", invasiveBreastPanel.Signature);

            this.SaveReport();
        }
Пример #2
0
        public override void Render()
        {
            this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\InvasiveBreastPanel.xml";
            this.OpenTemplate();
            this.SetDemographicsV2();
            this.SetReportDistribution();

            YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanel       invasiveBreastPanel       = (YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanel) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(125);
            YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanelResult invasiveBreastPanelResult = new Test.InvasiveBreastPanel.InvasiveBreastPanelResult(this.m_AccessionOrder);

            this.ReplaceText("specimen_description", invasiveBreastPanelResult.SpecimenOrder.GetSpecimenDescriptionString());
            if (invasiveBreastPanelResult.HasSurgical == true)
            {
                this.SetXMLNodeParagraphData("surgical_diagnosis", invasiveBreastPanelResult.SurgicalSpecimen.Diagnosis);
            }
            else
            {
                this.DeleteRow("surgical_diagnosis");
            }

            this.ReplaceText("her2_result", invasiveBreastPanelResult.HER2ResultString);
            this.ReplaceText("er_result", invasiveBreastPanelResult.ERResultString);
            this.ReplaceText("pr_result", invasiveBreastPanelResult.PRResultString);

            this.ReplaceText("report_date", BaseData.GetShortDateString(invasiveBreastPanel.FinalDate));
            this.ReplaceText("pathologist_signature", invasiveBreastPanel.Signature);

            this.SaveReport();
        }