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;
        }
Ejemplo n.º 2
0
        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();
            YellowstonePathology.Business.Test.KRASStandardReflex.KRASStandardReflexTest krasStandardReflexTest = new YellowstonePathology.Business.Test.KRASStandardReflex.KRASStandardReflexTest();
            if (this.m_AccessionOrder.PanelSetOrderCollection.DoesPanelSetExist(krasStandardReflexTest.PanelSetId) == true)
            {
                result = true;
                string reportNo = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(krasStandardReflexTest.PanelSetId).ReportNo;
                YellowstonePathology.UI.Test.KRASStandardReflexResultPath resultPath = new YellowstonePathology.UI.Test.KRASStandardReflexResultPath(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 KRASStandardReflexResultPath.BackEventHandler(ResultPath_Back);
                resultPath.Start();
            }
            else 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);
        }
Ejemplo n.º 3
0
 private void HyperLinkComprehensiveColonCancerProfile_Click(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest comprehensiveColonCancerProfileTest = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest();
     if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(comprehensiveColonCancerProfileTest.PanelSetId) == false)
     {
         this.OrderTest(this, new CustomEventArgs.PanelSetReturnEventArgs(comprehensiveColonCancerProfileTest));
     }
 }
 private void HyperLinkComprehensiveColonCancerProfile_Click(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest comprehensiveColonCancerProfileTest = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest();
     if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(comprehensiveColonCancerProfileTest.PanelSetId) == false)
     {
         this.OrderTest(this, new CustomEventArgs.PanelSetReturnEventArgs(comprehensiveColonCancerProfileTest));
     }
 }
 private bool ShowComprehensiveColonCancerProfilePage()
 {
     bool result = false;
     YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest psComprehensiveColonCancerProfile = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest();
     if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(psComprehensiveColonCancerProfile.PanelSetId, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId, true) == true)
     {
         YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile comprehensiveColonCancerProfile = (YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(psComprehensiveColonCancerProfile.PanelSetId, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId, true);
         ComprehensiveColonCancerProfilePage comprehensiveColonCancerProfilePage = new ComprehensiveColonCancerProfilePage(comprehensiveColonCancerProfile, this.m_AccessionOrder, this.m_SystemIdentity, System.Windows.Visibility.Visible);
         comprehensiveColonCancerProfilePage.Next += new ComprehensiveColonCancerProfilePage.NextEventHandler(ComprehensiveColonCancerProfilePage_Next);
         comprehensiveColonCancerProfilePage.Back += new ComprehensiveColonCancerProfilePage.BackEventHandler(ComprehensiveColonCancerProfilePage_Back);
         this.m_PageNavigator.Navigate(comprehensiveColonCancerProfilePage);
         result = true;
     }
     return result;
 }
Ejemplo n.º 6
0
        private bool ShowComprehensiveColonCancerProfilePage()
        {
            bool result = false;

            YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest psComprehensiveColonCancerProfile = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest();
            if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(psComprehensiveColonCancerProfile.PanelSetId, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId, true) == true)
            {
                YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile comprehensiveColonCancerProfile = (YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(psComprehensiveColonCancerProfile.PanelSetId, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId, true);
                ComprehensiveColonCancerProfilePage comprehensiveColonCancerProfilePage = new ComprehensiveColonCancerProfilePage(comprehensiveColonCancerProfile, this.m_AccessionOrder, this.m_SystemIdentity, System.Windows.Visibility.Visible);
                comprehensiveColonCancerProfilePage.Next += new ComprehensiveColonCancerProfilePage.NextEventHandler(ComprehensiveColonCancerProfilePage_Next);
                comprehensiveColonCancerProfilePage.Back += new ComprehensiveColonCancerProfilePage.BackEventHandler(ComprehensiveColonCancerProfilePage_Back);
                this.m_PageNavigator.Navigate(comprehensiveColonCancerProfilePage);
                result = true;
            }
            return(result);
        }