public PantherPreviouslyRunReport(YellowstonePathology.Business.Test.PantherOrderList pantherOrderList)
 {
     this.m_PantherOrderListItemQueue = new Queue <YellowstonePathology.Business.Test.PantherOrderListItem>();
     foreach (YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem in pantherOrderList)
     {
         this.m_PantherOrderListItemQueue.Enqueue(pantherOrderListItem);
     }
 }
示例#2
0
        public PantherOrdersDialog()
        {
            this.m_PantherAliquotList          = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAliquoted();
            this.m_PantherHPVOrderList         = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedHPV();
            this.m_PantherNGCTOrderList        = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedNGCT();
            this.m_PantherHPV1618OrderList     = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedHPV1618();
            this.m_PantherTrichomonasOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedTrichomonas();
            this.m_PantherWHPOrderList         = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotFinalWHP();

            InitializeComponent();
            this.DataContext = this;

            this.Closing += PantherOrdersDialog_Closing;
        }
        public PantherOrdersDialog()
        {
            this.m_PantherAliquotList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAliquoted();
            this.m_PantherHPVOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedHPV();
            this.m_PantherNGCTOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedNGCT();
            this.m_PantherHPV1618OrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedHPV1618();
            this.m_PantherTrichomonasOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedTrichomonas();
            this.m_PantherWHPOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotFinalWHP();

            InitializeComponent();
            this.DataContext = this;

            this.Closing += PantherOrdersDialog_Closing;
        }
示例#4
0
        private void ComboBoxListTypeWHP_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (this.IsLoaded == true)
            {
                switch (this.ComboBoxListTypeWHP.SelectedIndex)
                {
                case 0:
                    this.m_PantherWHPOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotFinalWHP();
                    break;

                case 1:
                    this.m_PantherWHPOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersFinalWHP();
                    break;
                }
                this.NotifyPropertyChanged("PantherWHPOrderList");
            }
        }
示例#5
0
        private void ButtonFinalizeWHP_Click(object sender, RoutedEventArgs e)
        {
            if (this.ComboBoxListTypeWHP.SelectedIndex == 0)
            {
                foreach (YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem in this.ListViewWHPOrders.SelectedItems)
                {
                    YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this);
                    this.FinalWHPCase(accessionOrder, pantherOrderListItem.ReportNo);
                    YellowstonePathology.Business.Persistence.DocumentGateway.Instance.Push(accessionOrder, this);
                }

                this.m_PantherWHPOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotFinalWHP();
                this.NotifyPropertyChanged("PantherWHPOrderList");
            }
            else
            {
                MessageBox.Show("Select WHP cases not final", "Already Final");
            }
        }
 private void ComboBoxListType_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if(this.IsLoaded == true)
     {
         switch (this.ComboBoxListType.SelectedIndex)
         {
             case 0:
                 this.m_PantherHPVOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotAcceptedHPV();
                 break;
             case 1:
                 this.m_PantherHPVOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotFinalHPV();
                 break;
             case 2:
                 this.m_PantherHPVOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersFinalHPV();
                 break;
         }
         this.NotifyPropertyChanged("PantherHPVOrderList");
     }
 }
        private void ButtonFinalizeWHP_Click(object sender, RoutedEventArgs e)
        {
            if(this.ComboBoxListTypeWHP.SelectedIndex == 0)
            {
                foreach(YellowstonePathology.Business.Test.PantherOrderListItem pantherOrderListItem in this.ListViewWHPOrders.SelectedItems)
                {
                    YellowstonePathology.Business.Test.AccessionOrder accessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(pantherOrderListItem.MasterAccessionNo, this);
                    this.FinalWHPCase(accessionOrder, pantherOrderListItem.ReportNo);
                    YellowstonePathology.Business.Persistence.DocumentGateway.Instance.Push(accessionOrder, this);
                }

                this.m_PantherWHPOrderList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPantherOrdersNotFinalWHP();
                this.NotifyPropertyChanged("PantherWHPOrderList");
            }
            else
            {
                MessageBox.Show("Select WHP cases not final", "Already Final");
            }
        }