Esempio n. 1
0
        public void DoPatientBirthdateSearch(object sender, EventArgs e)
        {
            SearchStringEventArgs args = (SearchStringEventArgs)e;
            DateTime birthdate;
            bool isValid = DateTime.TryParse(args.SearchString, out birthdate);
            if (isValid)
            {
                this.m_BillingAccessionCollection = this.m_BillingServiceProxy.GetBillingAccessionsByBirthdate(birthdate, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
                this.NotifyPropertyChanged("");

                //BillingBrowserPage billingBrowserPage = new BillingBrowserPage();
                //MainWindow mainWindow = (MainWindow)System.Windows.Application.Current.MainWindow;
                //mainWindow.MainFrame.NavigationService.Navigate(billingBrowserPage);
                //ApplicationNavigator.GoToPage(PageNavigationEnum.BillingBrowserPage);
            }
        }
Esempio n. 2
0
        public void DoPatientSsnSearch(object sender, EventArgs e)
        {
            SearchStringEventArgs args = (SearchStringEventArgs)e;
            this.m_BillingAccessionCollection = this.m_BillingServiceProxy.GetBillingAccessionsBySsn(args.SearchString, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
            this.NotifyPropertyChanged("");

            BillingBrowserPage billingBrowserPage = new BillingBrowserPage();
            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(billingBrowserPage);
            //ApplicationNavigator.GoToPage(PageNavigationEnum.BillingBrowserPage);
        }
Esempio n. 3
0
 public void GetYesterdaysBilling()
 {
     DateTime yesterday = DateTime.Today.AddDays(-1);
     if (yesterday.DayOfWeek == DayOfWeek.Sunday) yesterday = yesterday.AddDays(-2);
     if (yesterday.DayOfWeek == DayOfWeek.Saturday) yesterday = yesterday.AddDays(-1);
     this.m_BillingAccessionCollection = this.m_BillingServiceProxy.GetBillingAccessionsByPostDate(yesterday, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
     this.NotifyPropertyChanged("");
 }
Esempio n. 4
0
 public void DoLastNameSearch(string lastName)
 {
     this.m_BillingAccessionCollection = this.m_BillingServiceProxy.GetBillingAccessionsByLastName(lastName, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
 }
Esempio n. 5
0
 public void GetTodaysBilling()
 {
     this.m_BillingAccessionCollection = this.m_BillingServiceProxy.GetBillingAccessionsByPostDate(DateTime.Today, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
     this.NotifyPropertyChanged("");
 }