public CaseDocumentCollection GetBillingDetailFiles(string reportNo) { CaseDocumentCollection caseDocumentCollection = new CaseDocumentCollection(); foreach (CaseDocument item in this) { if (item.FileName.ToUpper().Contains(".BILLINGDETAILS")) { caseDocumentCollection.Add(item); } } return(caseDocumentCollection); }
public CaseDocumentCollection GetRequisitions() { CaseDocumentCollection caseDocumentCollection = new CaseDocumentCollection(); foreach (CaseDocument item in this) { if (item.FileName.Contains("REQ") || this.FileIs1000s(item.FileName)) { caseDocumentCollection.Add(item); } } return(caseDocumentCollection); }
public CaseDocumentCollection GetPsaFiles(string reportNo, string masterAccessionNo) { CaseDocumentCollection caseDocumentCollection = new CaseDocumentCollection(); foreach (CaseDocument item in this) { if (item.FileName.ToUpper().Contains("REQ") || this.FileIs1000s(item.FileName) || item.FileName.ToUpper() == masterAccessionNo.ToUpper() + ".PATIENT.TIF" || item.FileName.ToUpper() == reportNo.ToUpper() + ".BILLINGDETAILS.XML" || item.FileName.ToUpper() == reportNo.ToUpper() + ".TIF") { caseDocumentCollection.Add(item); } } return(caseDocumentCollection); }