public ICD9BillingCodeCollection GetReportCollection(string reportNo) { ICD9BillingCodeCollection result = new ICD9BillingCodeCollection(); foreach (ICD9BillingCode icd9BillingCode in this) { if (icd9BillingCode.ReportNo == reportNo) { result.Add(icd9BillingCode); } } return(result); }
public ICD9BillingCodeCollection GetSurgicalSpecimenCollection(string surgicalSpecimenId) { ICD9BillingCodeCollection result = new ICD9BillingCodeCollection(); foreach (ICD9BillingCode icd9BillingCode in this) { if (icd9BillingCode.SurgicalSpecimenId == surgicalSpecimenId) { result.Add(icd9BillingCode); } } return(result); }