Пример #1
0
        private bool ShowAmendmentPage()
        {
            bool result = false;

            if (this.SurgicalAmendmentExistsForThisSummary() == true)
            {
                result = true;
                YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder     surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
                YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendments        = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(surgicalTestOrder.ReportNo);
                YellowstonePathology.Business.Amendment.Model.Amendment           amendment         = amendments.GetAmendmentForReferenceReportNo(this.m_TestOrder.ReportNo);
                AmendmentPage amendmentPage = new AmendmentPage(this.m_AccessionOrder, amendment, this.m_SystemIdentity);
                amendmentPage.Back   += AmendmentPage_Back;
                amendmentPage.Finish += AmendmentPage_Finish;
                this.m_PageNavigator.Navigate(amendmentPage);
            }
            return(result);
        }
Пример #2
0
 private bool ShowAmendmentPage()
 {
     bool result = false;
     if (this.m_AccessionOrder.PanelSetOrderCollection.HasSurgical() == true)
     {
         YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
         if (surgicalTestOrder.AmendmentCollection.HasAmendmentForReferenceReportNo(this.m_PanelSetOrder.ReportNo) == true)
         {
             result = true;
             YellowstonePathology.Business.Amendment.Model.Amendment amendment = surgicalTestOrder.AmendmentCollection.GetAmendmentForReferenceReportNo(this.m_PanelSetOrder.ReportNo);
             AmendmentPage amendmentPage = new AmendmentPage(this.m_AccessionOrder, amendment, this.m_SystemIdentity);
             amendmentPage.Back += AmendmentPage_Back;
             amendmentPage.Finish += AmendmentPage_Finish;
             this.m_PageNavigator.Navigate(amendmentPage);
         }
     }
     return result;
 }
Пример #3
0
        private bool ShowAmendmentPage()
        {
            bool result = false;

            if (this.m_AccessionOrder.PanelSetOrderCollection.HasSurgical() == true)
            {
                if (this.m_PanelSetOrder.Result != YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationResultEnum.Equivocal.ToString())
                {
                    YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder     surgicalTestOrder   = this.m_AccessionOrder.PanelSetOrderCollection.GetSurgical();
                    YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection = this.m_AccessionOrder.AmendmentCollection.GetAmendmentsForReport(surgicalTestOrder.ReportNo);
                    if (amendmentCollection.HasAmendmentForReferenceReportNo(this.m_PanelSetOrder.ReportNo) == true)
                    {
                        result = true;
                        YellowstonePathology.Business.Amendment.Model.Amendment amendment = amendmentCollection.GetAmendmentForReferenceReportNo(this.m_PanelSetOrder.ReportNo);
                        AmendmentPage amendmentPage = new AmendmentPage(this.m_AccessionOrder, amendment, this.m_SystemIdentity);
                        amendmentPage.Back   += AmendmentPage_Back;
                        amendmentPage.Finish += AmendmentPage_Finish;
                        this.m_PageNavigator.Navigate(amendmentPage);
                    }
                }
            }
            return(result);
        }