public void auditPortableMediaCreate ( RFC3881EventOutcomeCodes eventOutcome , String submissionSetUniqueId , String patientId , List < CodedValueType > purposesOfUse ) { if ( ! isAuditorEnabled ( ) ) { return ; } ExportEvent exportEvent = new ExportEvent ( true , eventOutcome , new IHETransactionEventTypeCodes . DistributeDocumentSetOnMedia ( ) , purposesOfUse ) ; exportEvent . setAuditSourceId ( getAuditSourceId ( ) , getAuditEnterpriseSiteId ( ) ) ; exportEvent . addSourceActiveParticipant ( getSystemUserId ( ) , getSystemAltUserId ( ) , getSystemUserName ( ) , getSystemNetworkId ( ) , true ) ; if ( ! EventUtils . isEmptyOrNull ( patientId ) ) { exportEvent . addPatientParticipantObject ( patientId ) ; } exportEvent . addSubmissionSetParticipantObject ( submissionSetUniqueId ) ; audit ( exportEvent ) ; }
Audits a PHI Export event for the IHE XDM Portable Media Creator actor ITI - 32 Distribute Document Set on Media transaction .