code: protected EventIdentificationType setEventIdentification(
              RFC3881EventOutcomeCodes outcome,
              RFC3881EventActionCodes action,
              CodedValueType id, CodedValueType[] type,
              List<CodedValueType> purposesOfUse) {
          EventIdentificationType eventBlock = new EventIdentificationType();
  
          eventBlock.setEventID(id);
          eventBlock.setEventDateTime(TimestampUtils.getRFC3881Timestamp(eventDateTime));
          if (!EventUtils.isEmptyOrNull(action)) {
              eventBlock.setEventActionCode(action.getCode());
          }
          if (!EventUtils.isEmptyOrNull(outcome)) {
              eventBlock.setEventOutcomeIndicator(outcome.getCode());
          }
          if (!EventUtils.isEmptyOrNull(type, true)) {
              eventBlock.getEventTypeCode().addAll(Arrays.asList(type));
          }
          eventBlock.setPurposesOfUse(purposesOfUse);
  
          getAuditMessage().setEventIdentification(eventBlock);
  
          return eventBlock;
      }
docs: Create and set an Event Identification block for this audit event message
  
  @param outcome The Event Outcome Indicator
  @param action The Event Action Code
  @param id The Event ID
  @param type The Event Type Code
  @return The Event Identification block created