private void ButtonShowHPV1618Result_Click(object sender, RoutedEventArgs e) { if (this.ListViewPantherHPV1618Orders.SelectedItem != null) { YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem = (YellowstonePathology.Business.Test.PantherOrderListItem) this.ListViewPantherHPV1618Orders.SelectedItem; YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this); this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); this.m_LoginPageWindow.Show(); Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(pantherOrderListItem.ReportNo); if (panelSetOrder.PanelSetId == 62) { YellowstonePathology.UI.Test.HPV1618ResultPath hpv1618ResultPath = new Test.HPV1618ResultPath(pantherOrderListItem.ReportNo, accessionOrder, this.m_LoginPageWindow.PageNavigator, this); hpv1618ResultPath.Finish += HPV1618ResultPath_Finish; hpv1618ResultPath.Start(); } else if (panelSetOrder.PanelSetId == 269) { YellowstonePathology.UI.Test.HPV1618SolidTumorResultPath hpv1618SolidTumorPath = new Test.HPV1618SolidTumorResultPath(pantherOrderListItem.ReportNo, accessionOrder, this.m_LoginPageWindow.PageNavigator, this); hpv1618SolidTumorPath.Finish += Hpv1618SolidTumorPath_Finish; hpv1618SolidTumorPath.Start(); } } }
private void MenuItemViewResultPage_Click(object sender, RoutedEventArgs e) { if (this.ListViewPanelSetOrders.SelectedItem != null) { Business.Test.PanelSetOrder panelSetOrder = (Business.Test.PanelSetOrder) this.ListViewPanelSetOrders.SelectedItem; Business.PanelSet.Model.PanelSet panelSet = Business.PanelSet.Model.PanelSetCollection.GetAll().GetPanelSet(panelSetOrder.PanelSetId); if (panelSet.ResultDocumentSource == Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase) { YellowstonePathology.Business.User.SystemIdentity systemIdentity = Business.User.SystemIdentity.Instance; YellowstonePathology.UI.Test.ResultPathFactory resultPathFactory = new Test.ResultPathFactory(); resultPathFactory.Finished += new Test.ResultPathFactory.FinishedEventHandler(ResultPathFactory_Finished); this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); bool started = resultPathFactory.Start(panelSetOrder, this.m_AccessionOrder, this.m_LoginPageWindow.PageNavigator, this.m_LoginPageWindow, System.Windows.Visibility.Collapsed); if (started == true) { this.m_LoginPageWindow.ShowDialog(); } else { MessageBox.Show("The result for this case is not available in this view."); } } else { MessageBox.Show("The result for this case is not available in this view."); } } else { MessageBox.Show("Select a case."); } }
public AccessionOrderPath(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder, PageNavigationModeEnum pageNavigationMode) { this.m_AccessionOrder = accessionOrder; this.m_ClientOrder = clientOrder; this.m_LoginPageWindow = new LoginPageWindow(); this.m_PageNavigator = this.m_LoginPageWindow.PageNavigator; this.m_PageNavigationMode = pageNavigationMode; }
private void ButtonShowNGCTResult_Click(object sender, RoutedEventArgs e) { if (this.ListViewPantherNGCTOrders.SelectedItem != null) { YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem = (YellowstonePathology.Business.Test.PantherOrderListItem) this.ListViewPantherNGCTOrders.SelectedItem; this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this.m_LoginPageWindow); this.m_LoginPageWindow.Show(); YellowstonePathology.UI.Test.NGCTResultPath ngctResultPath = new Test.NGCTResultPath(pantherOrderListItem.ReportNo, accessionOrder, this.m_LoginPageWindow.PageNavigator, this.m_LoginPageWindow); ngctResultPath.Finish += NGCTResultPath_Finish; ngctResultPath.Start(); } }
private void ButtonShowWHPResult_Click(object sender, RoutedEventArgs e) { if (this.ListViewWHPOrders.SelectedItem != null) { YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem = (YellowstonePathology.Business.Test.PantherOrderListItem) this.ListViewWHPOrders.SelectedItem; this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this.m_LoginPageWindow); YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullClientOrder(accessionOrder.ClientOrderId, this.m_LoginPageWindow); this.m_LoginPageWindow.Show(); Login.WomensHealthProfilePath womensHealthProfilePath = new Login.WomensHealthProfilePath(accessionOrder, clientOrder, this.m_LoginPageWindow.PageNavigator, this, Visibility.Hidden); womensHealthProfilePath.Finish += WHPResultPath_Finish; womensHealthProfilePath.Start(); } }
private void ListViewTaskOrders_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (this.ListViewTaskOrders.SelectedItem != null) { YellowstonePathology.Business.Task.Model.TaskOrderView selectedTaskOrderView = (YellowstonePathology.Business.Task.Model.TaskOrderView) this.ListViewTaskOrders.SelectedItem; YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(selectedTaskOrderView.TaskOrder.MasterAccessionNo, this.m_Writer); YellowstonePathology.Business.Task.Model.TaskOrder taskOrder = accessionOrder.TaskOrderCollection.GetTaskOrder(selectedTaskOrderView.TaskOrder.TaskOrderId); this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); YellowstonePathology.UI.Login.Receiving.TaskOrderPath taskOrderPath = new Login.Receiving.TaskOrderPath(accessionOrder, taskOrder, this.m_LoginPageWindow.PageNavigator, PageNavigationModeEnum.Standalone); taskOrderPath.Close += new Login.Receiving.TaskOrderPath.CloseEventHandler(TaskOrderPath_Close); taskOrderPath.Start(); this.m_LoginPageWindow.ShowDialog(); YellowstonePathology.Business.Persistence.DocumentGateway.Instance.Push(accessionOrder, this.m_Writer); } }
private void MenuItemCPTCodes_Click(object sender, RoutedEventArgs e) { if (this.ListViewPanelSetOrders.SelectedItem != null) { Business.Test.PanelSetOrder panelSetOrder = (Business.Test.PanelSetOrder) this.ListViewPanelSetOrders.SelectedItem; Business.PanelSet.Model.PanelSet panelSet = Business.PanelSet.Model.PanelSetCollection.GetAll().GetPanelSet(panelSetOrder.PanelSetId); if (panelSet is YellowstonePathology.Business.PanelSet.Model.FISHTest) { this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); Billing.AddFISHCPTCodePage addCPTCodePage = new Billing.AddFISHCPTCodePage(panelSetOrder.ReportNo, this.m_AccessionOrder); addCPTCodePage.Next += ResultPathFactory_Finished; this.m_LoginPageWindow.PageNavigator.Navigate(addCPTCodePage); this.m_LoginPageWindow.ShowDialog(); } else { MessageBox.Show("The selected Test is not a FISH test."); } } }
private void ButtonShowWHPResult_Click(object sender, RoutedEventArgs e) { if (this.ListViewWHPOrders.SelectedItem != null) { YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem = (YellowstonePathology.Business.Test.PantherOrderListItem)this.ListViewWHPOrders.SelectedItem; this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this.m_LoginPageWindow); YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullClientOrder(accessionOrder.ClientOrderId, this.m_LoginPageWindow); this.m_LoginPageWindow.Show(); Login.WomensHealthProfilePath womensHealthProfilePath = new Login.WomensHealthProfilePath(accessionOrder, clientOrder, this.m_LoginPageWindow.PageNavigator, this, Visibility.Hidden); womensHealthProfilePath.Finish += WHPResultPath_Finish; womensHealthProfilePath.Start(); } }
private void ButtonShowNGCTResult_Click(object sender, RoutedEventArgs e) { if (this.ListViewPantherNGCTOrders.SelectedItem != null) { YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem = (YellowstonePathology.Business.Test.PantherOrderListItem)this.ListViewPantherNGCTOrders.SelectedItem; this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this.m_LoginPageWindow); this.m_LoginPageWindow.Show(); YellowstonePathology.UI.Test.NGCTResultPath ngctResultPath = new Test.NGCTResultPath(pantherOrderListItem.ReportNo, accessionOrder, this.m_LoginPageWindow.PageNavigator, this.m_LoginPageWindow); ngctResultPath.Finish += NGCTResultPath_Finish; ngctResultPath.Start(); } }
private void ListViewTaskOrders_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (this.ListViewTaskOrders.SelectedItem != null) { YellowstonePathology.Business.Task.Model.TaskOrder selectedTaskOrder = (YellowstonePathology.Business.Task.Model.TaskOrder)this.ListViewTaskOrders.SelectedItem; YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(selectedTaskOrder.MasterAccessionNo, this.m_Writer); YellowstonePathology.Business.Task.Model.TaskOrder taskOrder = accessionOrder.TaskOrderCollection.GetTaskOrder(selectedTaskOrder.TaskOrderId); this.m_LoginPageWindow = new Login.Receiving.LoginPageWindow(); YellowstonePathology.UI.Login.Receiving.TaskOrderPath taskOrderPath = new Login.Receiving.TaskOrderPath(accessionOrder, taskOrder, this.m_LoginPageWindow.PageNavigator, PageNavigationModeEnum.Standalone); taskOrderPath.Close += new Login.Receiving.TaskOrderPath.CloseEventHandler(TaskOrderPath_Close); taskOrderPath.Start(); this.m_LoginPageWindow.ShowDialog(); YellowstonePathology.Business.Persistence.DocumentGateway.Instance.Push(accessionOrder, this.m_Writer); } }