public PDL1ResultPath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, System.Windows.Window window) : base(pageNavigator, window) { this.m_AccessionOrder = accessionOrder; this.m_PanelSetOrder = (YellowstonePathology.Business.Test.PDL1.PDL1TestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo); }
public PDL1ResultPath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, System.Windows.Window window) : base(pageNavigator, window) { this.m_AccessionOrder = accessionOrder; this.m_PanelSetOrder = (YellowstonePathology.Business.Test.PDL1.PDL1TestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo); }
public PDL1ResultPage(YellowstonePathology.Business.Test.PDL1.PDL1TestOrder testOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_PanelSetOrder = testOrder; this.m_AccessionOrder = accessionOrder; this.m_SystemIdentity = systemIdentity; this.m_PageHeaderText = this.m_PanelSetOrder.PanelSetName + " Result For: " + this.m_AccessionOrder.PatientDisplayName; YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId); this.m_OrderedOnDescription = specimenOrder.Description; this.m_ResultCollection = new YellowstonePathology.Business.Test.PDL1.PDL1ResultCollection(); InitializeComponent(); DataContext = this; Loaded += PDL1ResultPage_Loaded; }
public EGFRToALKReflexAnalysisPDL1Result(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisResult egfrMutationAnalysisResult, YellowstonePathology.Business.Test.EGFRToALKReflexAnalysis.EGFRToALKReflexAnalysisTestOrder egfrToALKReflexAnalysisTestOrder) : base(accessionOrder, 215) { if (egfrToALKReflexAnalysisTestOrder.QNSForPDL1 == true) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.QNS; } else { if (egfrMutationAnalysisResult != null) { YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult egfrMutationAnalysisDetectedResult = new EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult(); if (egfrMutationAnalysisResult.ResultCode == egfrMutationAnalysisDetectedResult.ResultCode) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.NotIndicated; } else { if (this.m_Ordered == false) { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.OrderRequired; } if (this.m_Final == true) { YellowstonePathology.Business.Test.PDL1.PDL1ResultCollection pdl1ResultCollection = new PDL1.PDL1ResultCollection(); YellowstonePathology.Business.Test.PDL1.PDL1TestOrder pdl1TestOrder = (YellowstonePathology.Business.Test.PDL1.PDL1TestOrder) this.m_PanelSetOrder; this.m_ResultAbbreviation = pdl1ResultCollection.GetByResultCode(pdl1TestOrder.ResultCode).ResultAbbreviation; } } } else { this.m_Status = EGFRToALKReflexAnalysisElementStatusEnum.Pending; } } }
public override void Render() { this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\EGFRToALKReflexAnalysis.4.xml"; this.OpenTemplate(); this.SetDemographicsV2(); this.SetReportDistribution(); YellowstonePathology.Business.Test.EGFRToALKReflexAnalysis.EGFRToALKReflexAnalysisTestOrder egfrToALKReflexAnalysisTestOrder = (YellowstonePathology.Business.Test.EGFRToALKReflexAnalysis.EGFRToALKReflexAnalysisTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(124); base.ReplaceText("report_title", egfrToALKReflexAnalysisTestOrder.PanelSetName); YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisTestOrder egfrMutationAnalysisTestOrder = (YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(60); base.ReplaceText("egfr_result", egfrMutationAnalysisTestOrder.Result); base.SetXMLNodeParagraphData("egfr_comment", egfrMutationAnalysisTestOrder.Comment); YellowstonePathology.Business.Test.EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult egfrMutationAnalysisDetectedResult = new EGFRMutationAnalysis.EGFRMutationAnalysisDetectedResult(); if (egfrMutationAnalysisTestOrder.ResultCode == egfrMutationAnalysisDetectedResult.ResultCode) { base.ReplaceText("alk_result", "Not Indicated"); base.ReplaceText("ros1_result", "Not Indicated"); base.ReplaceText("pdl1_result", "Not Indicated"); } if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(131) == true) { YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrder alkForNSCLCByFISHTestOrder = (YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(131); base.ReplaceText("alk_result", alkForNSCLCByFISHTestOrder.Result); } else if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(68) == true) { YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrderReportedSeparately alkForNSCLCByFISHTestOrderReportedSeparately = new YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrderReportedSeparately(); base.ReplaceText("alk_result", alkForNSCLCByFISHTestOrderReportedSeparately.Result); } else if (egfrToALKReflexAnalysisTestOrder.QNSForALK == true) { base.ReplaceText("alk_result", "Quantity not sufficient to perform ALK"); } else { base.ReplaceText("alk_result", "ALK not performed"); } if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(204) == true) { YellowstonePathology.Business.Test.ROS1ByFISH.ROS1ByFISHTestOrder ros1ByFISHTestOrder = (YellowstonePathology.Business.Test.ROS1ByFISH.ROS1ByFISHTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(204); base.ReplaceText("ros1_result", ros1ByFISHTestOrder.Result); } if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(215) == true) { YellowstonePathology.Business.Test.PDL1.PDL1TestOrder pdl1TestOrder = (YellowstonePathology.Business.Test.PDL1.PDL1TestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(215); base.ReplaceText("pdl1_result", pdl1TestOrder.Result); } if (egfrToALKReflexAnalysisTestOrder.QNSForPDL1 == true) { base.ReplaceText("pdl1_result", "Quantity not sufficient to perform PDL-1"); } base.SetXMLNodeParagraphData("report_interpretation", egfrToALKReflexAnalysisTestOrder.Interpretation); this.ReplaceText("report_date", BaseData.GetShortDateString(egfrToALKReflexAnalysisTestOrder.FinalDate)); this.ReplaceText("pathologist_signature", egfrToALKReflexAnalysisTestOrder.Signature); this.SetXMLNodeParagraphData("report_method", egfrToALKReflexAnalysisTestOrder.Method); this.SetXMLNodeParagraphData("report_references", egfrToALKReflexAnalysisTestOrder.References); YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(egfrToALKReflexAnalysisTestOrder.OrderedOnId); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(egfrToALKReflexAnalysisTestOrder.OrderedOn, egfrMutationAnalysisTestOrder.OrderedOnId); string specimenDescription = specimenOrder.Description + ", Block " + aliquotOrder.Label; this.ReplaceText("specimen_description", specimenDescription); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.SetXmlNodeData("date_time_collected", collectionDateTimeString); this.ReplaceText("tumor_nuclei_percentage", egfrToALKReflexAnalysisTestOrder.TumorNucleiPercentage); this.SaveReport(); }