private bool ShowReflexTestPage() { bool result = false; YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeEvaluationTest panelSetLse = new YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeEvaluationTest(); YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest panelSetcccp = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest(); if (this.m_AccessionOrder.PanelSetOrderCollection.DoesPanelSetExist(panelSetLse.PanelSetId) == true) { result = true; string reportNo = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetLse.PanelSetId).ReportNo; YellowstonePathology.UI.Test.LynchSyndromeEvaluationResultPath resultPath = new YellowstonePathology.UI.Test.LynchSyndromeEvaluationResultPath(reportNo, this.m_AccessionOrder, this.m_PageNavigator, this.m_Window, System.Windows.Visibility.Visible); resultPath.Finish += new Test.ResultPath.FinishEventHandler(ResultPath_Finish); resultPath.Back += new LynchSyndromeEvaluationResultPath.BackEventHandler(ResultPath_Back); resultPath.Start(); } else if (this.m_AccessionOrder.PanelSetOrderCollection.DoesPanelSetExist(panelSetcccp.PanelSetId) == true) { result = true; string reportNo = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetcccp.PanelSetId).ReportNo; YellowstonePathology.UI.Test.ComprehensiveColonCancerProfilePath resultPath = new YellowstonePathology.UI.Test.ComprehensiveColonCancerProfilePath(reportNo, this.m_AccessionOrder, this.m_PageNavigator, this.m_Window, System.Windows.Visibility.Collapsed); resultPath.Finish += new Test.ResultPath.FinishEventHandler(ResultPath_Finish); resultPath.Back += new ComprehensiveColonCancerProfilePath.BackEventHandler(ResultPath_Back); resultPath.Start(); } return result; }
private bool ShowReflexTestPage() { bool result = false; YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeEvaluationTest panelSetLse = new YellowstonePathology.Business.Test.LynchSyndrome.LynchSyndromeEvaluationTest(); YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest panelSetcccp = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest(); if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(panelSetLse.PanelSetId, this.m_KRASStandardReflexTestOrder.OrderedOnId, true) == true) { result = true; string reportNo = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetLse.PanelSetId, this.m_KRASStandardReflexTestOrder.OrderedOnId, true).ReportNo; YellowstonePathology.UI.Test.LynchSyndromeEvaluationResultPath resultPath = new YellowstonePathology.UI.Test.LynchSyndromeEvaluationResultPath(reportNo, this.m_AccessionOrder, this.m_PageNavigator, this.m_Window, System.Windows.Visibility.Visible); resultPath.Finish += new Test.ResultPath.FinishEventHandler(ResultPath_Finish); resultPath.Back += new LynchSyndromeEvaluationResultPath.BackEventHandler(ResultPath_Back); resultPath.Start(); } else if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(panelSetcccp.PanelSetId, this.m_KRASStandardReflexTestOrder.OrderedOnId, true) == true) { result = true; string reportNo = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelSetcccp.PanelSetId, this.m_KRASStandardReflexTestOrder.OrderedOnId, true).ReportNo; YellowstonePathology.UI.Test.ComprehensiveColonCancerProfilePath resultPath = new YellowstonePathology.UI.Test.ComprehensiveColonCancerProfilePath(reportNo, this.m_AccessionOrder, this.m_PageNavigator, this.m_Window, System.Windows.Visibility.Collapsed); resultPath.Finish += new Test.ResultPath.FinishEventHandler(ResultPath_Finish); resultPath.Back += new ComprehensiveColonCancerProfilePath.BackEventHandler(ResultPath_Back); resultPath.Start(); } return(result); }