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 ) ; }
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 .