public AuditCollection GetSuggestedTestAuditCollection() { AuditCollection result = new AuditCollection(); foreach (Audit audit in this) { if (audit.GetType() == typeof(LynchSyndromeAudit) || audit.GetType() == typeof(CCCPAudit) || audit.GetType() == typeof(BRAFMetastaticMelanomaAudit) || audit.GetType() == typeof(HPV1618ForSiteAudit) || audit.GetType() == typeof(KRASForMetastaticColorectalCancerAudit) || audit.GetType() == typeof(PNHOnBoneMarrowSpecimenAudit)) { result.Add(audit); } } return(result); }
public AuditCollection GetAuditMessageCollection() { AuditCollection result = new AuditCollection(); foreach (Audit audit in this) { if (audit.GetType() == typeof(AncillaryStudiesAreHandledAudit) || audit.GetType() == typeof(SurgicalCaseHasQuestionMarksAudit) || audit.GetType() == typeof(SigningUserIsAssignedUserAudit) || audit.GetType() == typeof(SvhCaseHasMRNAndAccountNoAudit) || audit.GetType() == typeof(CaseHasNotFoundClientAudit) || audit.GetType() == typeof(CaseHasNotFoundProviderAudit) || audit.GetType() == typeof(DistributionCanBeSetAudit) || audit.GetType() == typeof(CaseHasUnfinaledPeerReviewAudit) || audit.GetType() == typeof(GradedStainsAreHandledAudit) || audit.GetType() == typeof(IntraoperativeConsultationCorrelationAudit)) { result.Add(audit); } } return(result); }