public void auditPortableMediaImport ( RFC3881EventOutcomeCodes eventOutcome , String submissionSetUniqueId , String patientId , List < CodedValueType > purposesOfUse ) { if ( ! isAuditorEnabled ( ) ) { return ; } ImportEvent importEvent = new ImportEvent ( false , eventOutcome , new IHETransactionEventTypeCodes . DistributeDocumentSetOnMedia ( ) , purposesOfUse ) ; importEvent . setAuditSourceId ( getAuditSourceId ( ) , getAuditEnterpriseSiteId ( ) ) ; importEvent . addDestinationActiveParticipant ( getSystemUserId ( ) , getSystemAltUserId ( ) , getSystemUserName ( ) , getSystemNetworkId ( ) , false ) ; if ( ! EventUtils . isEmptyOrNull ( patientId ) ) { importEvent . addPatientParticipantObject ( patientId ) ; } importEvent . addSubmissionSetParticipantObject ( submissionSetUniqueId ) ; audit ( importEvent ) ; }
Audits a PHI Import event for the IHE XDM Portable Media Importer actor and ITI - 32 Distribute Document Set on Media Transaction .