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; }
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; }
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(); }
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; }
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(); }
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; }
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; }
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; }
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; }
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; }
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; }
public void SetFillByNotAudited(string caseType) { this.m_Parameters.Clear(); this.m_Parameters.Add(caseType); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotAudited; }
public void SetFillByUnBatchedBatchTypeId(int batchTypeId) { this.m_Parameters.Clear(); this.m_Parameters.Add(batchTypeId); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByUnBatchedBatchTypeId; }
public void SetFillByNotFinal(string originatingLocation) { this.m_Parameters.Clear(); this.m_Parameters.Add(originatingLocation); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotFinalLoacation; }
public void SetFillByBatchId(int panelOrderBatchId) { this.m_Parameters.Clear(); this.m_Parameters.Add(panelOrderBatchId); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByBatchId; }
public void SetFillByPatientId(string patientId) { this.m_Parameters.Clear(); this.m_Parameters.Add(patientId); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByPatientId; }
public void SetFillByReportNo(string reportNo) { this.m_Parameters.Clear(); this.m_Parameters.Add(reportNo); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByReportNo; }
public void SetFillByInHouseMolecularPending() { this.m_Parameters.Clear(); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByInHouseMolecularPending; }
public void SetFillByMasterAccessionNo(string masterAccessionNo) { this.m_Parameters.Clear(); this.m_Parameters.Add(masterAccessionNo); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByMasterAccessionNo; }
public void SetFillByNotFinal(int panelId) { this.m_Parameters.Clear(); this.m_Parameters.Add(panelId); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotFinalPanelId; }
public void SetFillByNotVerified(int panelSetId) { this.m_Parameters.Clear(); this.m_Parameters.Add(panelSetId); this.m_SearchFillEnum = YellowstonePathology.Business.Search.ReportSearchFillEnum.ByNotVerified; }