示例#1
0
        private bool ShowPatientHistoryPage()
        {
            bool result = false;

            Common.PatientHistoryReview patientHistoryReview = new Common.PatientHistoryReview();

            if (patientHistoryReview.Run(this.m_AccessionOrder.SpecimenOrderCollection) == true)
            {
                Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus();
                executionStatus = patientHistoryReview.ExecutionStatus;

                PatientHistoryPage patientHistoryPage = new PatientHistoryPage(this.m_AccessionOrder, executionStatus.ExecutionMessages[0].Message);
                patientHistoryPage.Return += new PatientHistoryPage.ReturnEventHandler(PatientHistoryPage_Return);
                this.m_PageNavigator.Navigate(patientHistoryPage);
                result = true;
            }

            return(result);
        }
        private bool ShowPatientHistoryPage()
        {
            bool result = false;
            Common.PatientHistoryReview patientHistoryReview = new Common.PatientHistoryReview();

            if (patientHistoryReview.Run(this.m_AccessionOrder.SpecimenOrderCollection) == true)
            {
                Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus();
                executionStatus = patientHistoryReview.ExecutionStatus;

                PatientHistoryPage patientHistoryPage = new PatientHistoryPage(this.m_AccessionOrder, executionStatus.ExecutionMessages[0].Message);
                patientHistoryPage.Return += new PatientHistoryPage.ReturnEventHandler(PatientHistoryPage_Return);
                this.m_PageNavigator.Navigate(patientHistoryPage);
                result = true;
            }

            return result;
        }