public void ExecuteGenericSearch() { string dateLimit = string.Empty; bool final = true; if (this.m_FinalDateValue.Contains("Not")) { final = false; } if (this.m_FinalDateValue.Contains("30")) { dateLimit = "30"; } if (this.m_FinalDateValue.Contains("7")) { dateLimit = "7"; } if (this.m_FinalDateValue.Contains("Yesterday")) { dateLimit = "Yesterday"; } if (this.m_FinalDateValue.Contains("Today")) { dateLimit = "Today"; } YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.PathologistGenericSearch(this.m_SelectedCaseType, this.m_SelectedPathologistId, final, dateLimit); this.NotifyPropertyChanged("Results"); }
public YellowstonePathology.Business.Search.PathologistSearchResult ExecuteAliquotOrderIdSearch(string slideOrderId, int panelSetId) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); YellowstonePathology.Business.Search.PathologistSearchResult pathologistSearchResult = gateway.PathologistAliquotOrderIdSearch(slideOrderId, panelSetId); if (this.m_Results.ReportNoExists(pathologistSearchResult.ReportNo) == false) { this.m_Results.Add(pathologistSearchResult); } this.NotifyPropertyChanged("Results"); return(pathologistSearchResult); }
public YellowstonePathology.Business.Search.PathologistSearchResultCollection ExecuteSlideOrderIdSearch(string slideOrderId) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); YellowstonePathology.Business.Search.PathologistSearchResultCollection pathologistSearchResultCollection = gateway.PathologistSlideOrderIdSearch(slideOrderId); foreach (YellowstonePathology.Business.Search.PathologistSearchResult psr in pathologistSearchResultCollection) { if (this.m_Results.ReportNoExists(psr.ReportNo) == false) { this.m_Results.Add(psr); } } this.NotifyPropertyChanged("Results"); return(pathologistSearchResultCollection); }
public YellowstonePathology.Business.Search.PathologistSearchResultCollection ExecuteSlideOrderIdSearch(string slideOrderId) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); YellowstonePathology.Business.Search.PathologistSearchResultCollection pathologistSearchResultCollection = gateway.PathologistSlideOrderIdSearch(slideOrderId); foreach (YellowstonePathology.Business.Search.PathologistSearchResult psr in pathologistSearchResultCollection) { if (this.m_Results.ReportNoExists(psr.ReportNo) == false) { this.m_Results.Add(psr); } } this.NotifyPropertyChanged("Results"); return pathologistSearchResultCollection; }
public void ExecuteReportNoSearch(string reportNo) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.GetPathologistSearchListByReportNo(reportNo); this.NotifyPropertyChanged("Results"); }
public void ExecutePatientIdSearch(string patientId) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.PathologistPatientIdSearch(patientId); this.NotifyPropertyChanged("Results"); }
public void ExecuteNameSearch(string firstName, string lastName) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.PathologistNameSearch(lastName, firstName); this.NotifyPropertyChanged("Results"); }
public void ExecuteMasterAccessionNoSearch(string masterAccessionNo) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.GetPathologistSearchListByMasterAccessionNoNo(masterAccessionNo); this.NotifyPropertyChanged("Results"); }
public void ExecuteGenericSearch() { string dateLimit = string.Empty; bool final = true; if (this.m_FinalDateValue.Contains("Not")) { final = false; } if(this.m_FinalDateValue.Contains("30")) { dateLimit = "30"; } if (this.m_FinalDateValue.Contains("7")) { dateLimit = "7"; } if (this.m_FinalDateValue.Contains("Yesterday")) { dateLimit = "Yesterday"; } if (this.m_FinalDateValue.Contains("Today")) { dateLimit = "Today"; } YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.PathologistGenericSearch(this.m_SelectedCaseType, this.m_SelectedPathologistId, final, dateLimit); this.NotifyPropertyChanged("Results"); }
public YellowstonePathology.Business.Search.PathologistSearchResult ExecuteAliquotOrderIdSearch(string slideOrderId, int panelSetId) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); YellowstonePathology.Business.Search.PathologistSearchResult pathologistSearchResult = gateway.PathologistAliquotOrderIdSearch(slideOrderId, panelSetId); if (this.m_Results.ReportNoExists(pathologistSearchResult.ReportNo) == false) { this.m_Results.Add(pathologistSearchResult); } this.NotifyPropertyChanged("Results"); return pathologistSearchResult; }
public void ExecutePatientIdSearch(string patientId) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.PathologistPatientIdSearch(patientId); this.NotifyPropertyChanged("Results"); }
public void ExecuteMasterAccessionNoSearch(string masterAccessionNo) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.GetPathologistSearchListByMasterAccessionNoNo(masterAccessionNo); this.NotifyPropertyChanged("Results"); }
public void ExecuteReportNoSearch(string reportNo) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.GetPathologistSearchListByReportNo(reportNo); this.NotifyPropertyChanged("Results"); }
public void ExecuteNameSearch(string firstName, string lastName) { YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway(); this.m_Results = gateway.PathologistNameSearch(lastName, firstName); this.NotifyPropertyChanged("Results"); }