public AccessionOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                  YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder,
                                  PageNavigationModeEnum pageNavigationMode)
        {
            this.m_AccessionOrder     = accessionOrder;
            this.m_PageNavigationMode = pageNavigationMode;

            this.m_ClientOrder = clientOrder;

            if (YellowstonePathology.Business.User.SystemIdentity.Instance.User.IsUserInRole(Business.User.SystemUserRoleDescriptionEnum.Pathologist) == true)
            {
                this.m_PanelSetCollectionView = Business.PanelSet.Model.PanelSetCollection.GetPathologistPanelSets();
            }
            else
            {
                this.m_PanelSetCollectionView = Business.PanelSet.Model.PanelSetCollection.GetHistologyPanelSets();
            }

            this.m_FacilityCollection     = Business.Facility.Model.FacilityCollection.Instance;
            this.m_CaseTypeList           = new OrderPageCaseTypeList();
            this.m_OrderAsResearchTesting = false;

            InitializeComponent();

            this.SetButtonVisibility();
            DataContext = this;

            this.Loaded += new RoutedEventHandler(AccessionOrderPage_Loaded);
        }
        public AccessionOrderPage(ClientOrderReceivingHandler clientOrderReceivingHandler, PageNavigationModeEnum pageNavigationMode)
        {
            this.m_AccessionOrder     = clientOrderReceivingHandler.AccessionOrder;
            this.m_PageNavigationMode = pageNavigationMode;

            this.m_ClientOrder = clientOrderReceivingHandler.ClientOrder;

            this.m_PanelSetCollectionView = Business.PanelSet.Model.PanelSetCollection.GetHistologyPanelSets();
            this.m_FacilityCollection     = YellowstonePathology.Business.Facility.Model.FacilityCollection.GetAllFacilities();

            this.m_CaseTypeList = new OrderPageCaseTypeList();

            InitializeComponent();

            this.SetButtonVisibility();
            DataContext = this;

            this.Loaded += new RoutedEventHandler(AccessionOrderPage_Loaded);
        }