コード例 #1
0
        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");
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 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);
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 public void ExecuteReportNoSearch(string reportNo)
 {
     YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway();
     this.m_Results = gateway.GetPathologistSearchListByReportNo(reportNo);
     this.NotifyPropertyChanged("Results");
 }
コード例 #6
0
 public void ExecutePatientIdSearch(string patientId)
 {
     YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway();
     this.m_Results = gateway.PathologistPatientIdSearch(patientId);
     this.NotifyPropertyChanged("Results");
 }
コード例 #7
0
 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");
 }
コード例 #8
0
 public void ExecuteMasterAccessionNoSearch(string masterAccessionNo)
 {
     YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway();
     this.m_Results = gateway.GetPathologistSearchListByMasterAccessionNoNo(masterAccessionNo);
     this.NotifyPropertyChanged("Results");
 }
コード例 #9
0
        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");
        }
コード例 #10
0
        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;
        }
コード例 #11
0
 public void ExecutePatientIdSearch(string patientId)
 {
     YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway();
     this.m_Results = gateway.PathologistPatientIdSearch(patientId);
     this.NotifyPropertyChanged("Results");
 }
コード例 #12
0
 public void ExecuteMasterAccessionNoSearch(string masterAccessionNo)
 {
     YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway();
     this.m_Results = gateway.GetPathologistSearchListByMasterAccessionNoNo(masterAccessionNo);
     this.NotifyPropertyChanged("Results");
 }
コード例 #13
0
 public void ExecuteReportNoSearch(string reportNo)
 {
     YellowstonePathology.Business.Gateway.SearchGateway gateway = new Gateway.SearchGateway();
     this.m_Results = gateway.GetPathologistSearchListByReportNo(reportNo);
     this.NotifyPropertyChanged("Results");
 }
コード例 #14
0
 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");
 }