示例#1
0
 public void SetFillByPatientName(YellowstonePathology.Business.PatientName patientName)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(patientName.LastName);
     this.m_Parameters.Add(patientName.FirstName);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPatientName;
 }
示例#2
0
 public void SetFillByPanelSetId(int panelSetId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(panelSetId);
     this.m_Parameters.Add(DateTime.Today.AddMonths(-3));
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPanelSetId;
 }
示例#3
0
 public SearchEngine()
 {
     m_Parameters              = new List <object>();
     m_SearchFillEnum          = YellowstonePathology.Business.Search.ReportSearchFillEnum.None;
     this.m_ReportSearchList   = new YellowstonePathology.Business.Search.ReportSearchList();
     this.m_AutomatedOrderList = new YellowstonePathology.Business.AutomatedOrderList();
 }
示例#4
0
 public void SetFillByAccessionDate(DateTime accessionDate, string originatingLocation)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(accessionDate);
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByAccessionDate;
 }
示例#5
0
 public SearchEngine()
 {
     m_Parameters = new List<object>();
     m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.None;
     this.m_ReportSearchList = new YellowstonePathology.Business.Search.ReportSearchList();
     this.m_AutomatedOrderList = new YellowstonePathology.Business.AutomatedOrderList();
 }
示例#6
0
 public void SetFillByAccessionDate(DateTime accessionDate, int batchTypeId, string facilityId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(accessionDate);
     this.m_Parameters.Add(batchTypeId);
     this.m_Parameters.Add(facilityId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByAccessionDate;
 }
示例#7
0
 public void SetFillByAccessionDateRange(DateTime startDate, DateTime endDate, int batchTypeId, string originatingLocation)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(startDate);
     this.m_Parameters.Add(endDate);
     this.m_Parameters.Add(batchTypeId);
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRangeBatchLocation;
 }
示例#8
0
        public void SetFillByYesterday(int panelSetId)
        {
            DateTime startDate = DateTime.Today.AddDays(-1);
            DateTime endDate   = DateTime.Today.AddDays(-1);

            this.m_Parameters.Clear();
            this.m_Parameters.Add(startDate);
            this.m_Parameters.Add(endDate);
            this.m_Parameters.Add(panelSetId);
            this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRange;
        }
示例#9
0
        public void SetFillByLastMonth(int panelSetId)
        {
            DateTime startDate = DateTime.Parse(DateTime.Today.AddMonths(-1).Month.ToString() + "/1/" + DateTime.Today.Year.ToString());
            DateTime endDate   = startDate.AddDays(DateTime.DaysInMonth(startDate.Year, startDate.Month) - 1);

            this.m_Parameters.Clear();
            this.m_Parameters.Add(startDate);
            this.m_Parameters.Add(endDate);
            this.m_Parameters.Add(panelSetId);
            this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRange;
        }
示例#10
0
        public void SetFillByToday(int panelSetId, string originatingLocation)
        {
            DateTime startDate = DateTime.Today;
            DateTime endDate   = DateTime.Today;

            this.m_Parameters.Clear();
            this.m_Parameters.Add(startDate);
            this.m_Parameters.Add(endDate);
            this.m_Parameters.Add(panelSetId);
            this.m_Parameters.Add(originatingLocation);
            this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRangeLocation;
        }
示例#11
0
        public void SetFillByThisMonth(int panelSetId)
        {
            DateTime startDate = DateTime.Today;

            startDate = startDate.AddDays(-startDate.Day + 1);
            DateTime endDate = startDate.AddMonths(1);

            endDate = endDate.AddDays(-1);
            this.m_Parameters.Clear();
            this.m_Parameters.Add(startDate);
            this.m_Parameters.Add(endDate);
            this.m_Parameters.Add(panelSetId);
            this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRange;
        }
示例#12
0
 public void SetFillByNotAudited(string caseType)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(caseType);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotAudited;
 }
示例#13
0
 public void SetFillByUnBatchedBatchTypeId(int batchTypeId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(batchTypeId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByUnBatchedBatchTypeId;
 }
示例#14
0
 public void SetFillByToday(int panelSetId, string originatingLocation)
 {
     DateTime startDate = DateTime.Today;
     DateTime endDate = DateTime.Today;
     this.m_Parameters.Clear();
     this.m_Parameters.Add(startDate);
     this.m_Parameters.Add(endDate);
     this.m_Parameters.Add(panelSetId);
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRangeLocation;
 }
示例#15
0
 public void SetFillByNotFinal(string originatingLocation)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotFinalLoacation;
 }
示例#16
0
 public void SetFillByBatchId(int panelOrderBatchId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(panelOrderBatchId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByBatchId;
 }
示例#17
0
 public void SetFillByBatchId(int panelOrderBatchId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(panelOrderBatchId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByBatchId;
 }
示例#18
0
 public void SetFillByPatientId(string patientId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(patientId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPatientId;
 }
示例#19
0
 public void SetFillByReportNo(string reportNo)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(reportNo);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByReportNo;
 }
示例#20
0
 public void SetFillByInHouseMolecularPending()
 {
     this.m_Parameters.Clear();
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByInHouseMolecularPending;
 }
示例#21
0
 public void SetFillByPatientId(string patientId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(patientId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPatientId;
 }
示例#22
0
 public void SetFillByNotAudited(string caseType)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(caseType);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotAudited;
 }
示例#23
0
 public void SetFillByMasterAccessionNo(string masterAccessionNo)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(masterAccessionNo);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByMasterAccessionNo;
 }
示例#24
0
 public void SetFillByInHouseMolecularPending()
 {
     this.m_Parameters.Clear();
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByInHouseMolecularPending;
 }
示例#25
0
 public void SetFillByNotFinal(int panelId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(panelId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotFinalPanelId;
 }
示例#26
0
 public void SetFillByYesterday(int panelSetId)
 {
     DateTime startDate = DateTime.Today.AddDays(-1);
     DateTime endDate = DateTime.Today.AddDays(-1);
     this.m_Parameters.Clear();
     this.m_Parameters.Add(startDate);
     this.m_Parameters.Add(endDate);
     this.m_Parameters.Add(panelSetId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRange;
 }
示例#27
0
 public void SetFillByPanelSetId(int panelSetId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(panelSetId);
     this.m_Parameters.Add(DateTime.Today.AddMonths(-3));
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPanelSetId;
 }
示例#28
0
 public void SetFillByNotFinal(string originatingLocation)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotFinalLoacation;
 }
示例#29
0
 public void SetFillByPatientName(YellowstonePathology.Business.PatientName patientName)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(patientName.LastName);
     this.m_Parameters.Add(patientName.FirstName);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPatientName;
 }
示例#30
0
 public void SetFillByUnBatchedBatchTypeId(int batchTypeId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(batchTypeId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByUnBatchedBatchTypeId;
 }
示例#31
0
 public void SetFillByThisMonth(int panelSetId)
 {
     DateTime startDate = DateTime.Today;
     startDate = startDate.AddDays(-startDate.Day + 1);
     DateTime endDate = startDate.AddMonths(1);
     endDate = endDate.AddDays(-1);
     this.m_Parameters.Clear();
     this.m_Parameters.Add(startDate);
     this.m_Parameters.Add(endDate);
     this.m_Parameters.Add(panelSetId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRange;
 }
示例#32
0
 public void SetFillByAccessionDate(DateTime accessionDate, string originatingLocation)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(accessionDate);
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByAccessionDate;
 }
示例#33
0
 public void SetFillByNotVerified(int panelSetId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(panelSetId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotVerified;
 }
示例#34
0
 public void SetFillByAccessionDateRange(DateTime startDate, DateTime endDate, int batchTypeId, string originatingLocation)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(startDate);
     this.m_Parameters.Add(endDate);
     this.m_Parameters.Add(batchTypeId);
     this.m_Parameters.Add(originatingLocation);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRangeBatchLocation;
 }
示例#35
0
 public void SetFillByLastMonth(int panelSetId)
 {
     DateTime startDate = DateTime.Parse(DateTime.Today.AddMonths(-1).Month.ToString() + "/1/" + DateTime.Today.Year.ToString());
     DateTime endDate = startDate.AddDays(DateTime.DaysInMonth(startDate.Year, startDate.Month) - 1);
     this.m_Parameters.Clear();
     this.m_Parameters.Add(startDate);
     this.m_Parameters.Add(endDate);
     this.m_Parameters.Add(panelSetId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByDateRange;
 }
示例#36
0
 public void SetFillByAccessionDate(DateTime accessionDate, int batchTypeId, string facilityId)
 {
     this.m_Parameters.Clear();
     this.m_Parameters.Add(accessionDate);
     this.m_Parameters.Add(batchTypeId);
     this.m_Parameters.Add(facilityId);
     this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByAccessionDate;
 }