code: public void auditRetrieveDocumentSetEvent(RFC3881EventOutcomeCodes eventOutcome, 
  			String repositoryEndpointUri,
              String userName,
  			String[] documentUniqueIds, String repositoryUniqueId, String homeCommunityId, 
  			String patientId,
              List<CodedValueType> purposesOfUse,
  			List<CodedValueType> userRoles)
  	{
  		if (!isAuditorEnabled()) {
  			return;
  		}
  		
  		String[] repositoryUniqueIds = null;
          String[] homeCommunityIds = null;
  		if (!EventUtils.isEmptyOrNull(documentUniqueIds)) {
              repositoryUniqueIds = new String[documentUniqueIds.length];
              Arrays.fill(repositoryUniqueIds, repositoryUniqueId);
              homeCommunityIds = new String[documentUniqueIds.length];
              Arrays.fill(homeCommunityIds, homeCommunityId);
  		}
  		
  		auditRetrieveDocumentSetEvent(eventOutcome, repositoryEndpointUri,
                  userName,
                  documentUniqueIds, repositoryUniqueIds, homeCommunityIds, patientId, purposesOfUse, userRoles);
  	}
docs: Audits an ITI-43 Retrieve Document Set event for XDS.b Document Consumer actors.
  Sends audit messages for situations when exactly one repository and zero or one community are specified in the transaction.
  
  @param eventOutcome The event outcome indicator
  @param repositoryEndpointUri The Web service endpoint URI for the document repository
  @param documentUniqueIds The list of Document Entry UniqueId(s) for the document(s) retrieved
  @param repositoryUniqueId The XDS.b RepositoryUniqueId value for the repository
  @param homeCommunityId The XCA Home Community Id used in the transaction
  @param patientId The patient ID the document(s) relate to (if known)
  @param purposesOfUse purpose of use codes (may be taken from XUA token)
  @param userRoles roles of the human user (may be taken from XUA token)