code: 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);
  	}
docs: Audits a PHI Export event for the IHE XDM Portable Media Creator actor,
  ITI-32 Distribute Document Set on Media transaction.
  
  @param eventOutcome The event outcome indicator
  @param submissionSetUniqueId The Unique ID of the Submission Set exported
  @param patientId The ID of the Patient to which the Submission Set pertains