private void BillingPage_ShowPatientDetailPage(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.m_AccessionOrder.SvhMedicalRecord) == false) { YellowstonePathology.Business.Patient.Model.SVHBillingDataCollection svhBillingDataCollection = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetSVHBillingDataCollection(this.m_AccessionOrder.SvhMedicalRecord); if (svhBillingDataCollection.Count > 0) { YellowstonePathology.Business.Patient.Model.SVHBillingData svhBillingDate = svhBillingDataCollection.GetMostRecent(); YellowstonePathology.UI.Billing.PatientDetailPage patientDetailPage = new PatientDetailPage(svhBillingDate); patientDetailPage.Back += new Billing.PatientDetailPage.BackEventHandler(PatientDetailPage_Back); patientDetailPage.Next += new Billing.PatientDetailPage.NextEventHandler(PatientDetailPage_Next); if (this.m_BillingWindowPrimary.PageNavigator.HasDualMonitors() == false) { this.m_BillingWindowSecondary = new BillingWindowSecondary(); this.m_BillingWindowSecondary.Show(); } this.m_BillingWindowSecondary.PageNavigator.Navigate(patientDetailPage); } else { System.Windows.MessageBox.Show("No additional data to show."); } } else { System.Windows.MessageBox.Show("The Medical Record Number is blank. No additional data to show."); } }
private void BillingPage_ShowADTPage(object sender, EventArgs e) { YellowstonePathology.UI.Billing.ADTPage adtPage = new ADTPage(this.m_AccessionOrder); if (this.m_BillingWindowPrimary.PageNavigator.HasDualMonitors() == false) { this.m_BillingWindowSecondary = new BillingWindowSecondary(); this.m_BillingWindowSecondary.Show(); } this.m_BillingWindowSecondary.PageNavigator.Navigate(adtPage); }
public void Start(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { if (this.m_ReportSearchList.CurrentReportSearchItem != null) { this.m_BillingWindowPrimary = new BillingWindowPrimary(); this.m_Writer = this.m_BillingWindowPrimary; this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(accessionOrder.MasterAccessionNo, this.m_Writer); this.m_BillingWindowPrimary.Show(); if (this.m_BillingWindowPrimary.PageNavigator.HasDualMonitors() == true) { this.m_BillingWindowSecondary = new BillingWindowSecondary(); this.m_BillingWindowPrimary.PageNavigator.ShowSecondMonitorWindow(this.m_BillingWindowSecondary); } this.ShowBillingPage(this.m_AccessionOrder); } }
public void Start(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { if (this.m_ReportSearchList.CurrentReportSearchItem != null) { this.m_BillingWindowPrimary = new BillingWindowPrimary(); this.m_Writer = this.m_BillingWindowPrimary; this.m_AccessionOrder = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullAccessionOrder(accessionOrder.MasterAccessionNo, this.m_Writer); this.m_BillingWindowPrimary.Show(); if (this.m_BillingWindowPrimary.PageNavigator.HasDualMonitors() == true) { this.m_BillingWindowSecondary = new BillingWindowSecondary(); this.m_BillingWindowPrimary.PageNavigator.ShowSecondMonitorWindow(this.m_BillingWindowSecondary); } this.ShowBillingPage(this.m_AccessionOrder); } }
private void BillingPage_ShowPatientDetailPage(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.m_AccessionOrder.SvhMedicalRecord) == false) { YellowstonePathology.Business.Patient.Model.SVHBillingDataCollection svhBillingDataCollection = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetSVHBillingDataCollection(this.m_AccessionOrder.SvhMedicalRecord); if (svhBillingDataCollection.Count > 0) { YellowstonePathology.Business.Patient.Model.SVHBillingData svhBillingDate = svhBillingDataCollection.GetMostRecent(); YellowstonePathology.UI.Billing.PatientDetailPage patientDetailPage = new PatientDetailPage(svhBillingDate); patientDetailPage.Back += new Billing.PatientDetailPage.BackEventHandler(PatientDetailPage_Back); patientDetailPage.Next += new Billing.PatientDetailPage.NextEventHandler(PatientDetailPage_Next); if (this.m_BillingWindowPrimary.PageNavigator.HasDualMonitors() == false) { this.m_BillingWindowSecondary = new BillingWindowSecondary(); this.m_BillingWindowSecondary.Show(); } this.m_BillingWindowSecondary.PageNavigator.Navigate(patientDetailPage); } else { System.Windows.MessageBox.Show("No additional data to show."); } } else { System.Windows.MessageBox.Show("The Medical Record Number is blank. No additional data to show."); } }