Class FhirAuditEventsToXESLogService


  • public class FhirAuditEventsToXESLogService
    extends Object

    Service which composes the transformers and renderer and allows to create the resulting xes log

    Since:
    1.0
    Author:
    Andreas Pointner
    • Constructor Detail

      • FhirAuditEventsToXESLogService

        public FhirAuditEventsToXESLogService()
        Initializes the transformers and renderers
      • FhirAuditEventsToXESLogService

        public FhirAuditEventsToXESLogService​(String traceConceptNameResolverPath,
                                              String eventConceptNameResolverPath)
      • FhirAuditEventsToXESLogService

        public FhirAuditEventsToXESLogService​(Function<org.hl7.fhir.r5.model.AuditEvent,​String> traceConceptNameResolver,
                                              Function<org.hl7.fhir.r5.model.AuditEvent,​String> eventConceptNameResolver)
    • Method Detail

      • convertFhirAuditEventsToXESLog

        public science.aist.xes.model.LogType convertFhirAuditEventsToXESLog​(AuditEventBundle bundle)
        Use the transformer to transform from a Collection of AuditEvents into a LogType
        Parameters:
        bundle - the collection of audit events
        Returns:
        the resulting xes log
      • convertFhirAuditEventsToXESLog

        public void convertFhirAuditEventsToXESLog​(InputStream auditBundleInputStream,
                                                   String planDefinition,
                                                   OutputStream logOutputStream)
        Loads an audit bundle from an input stream and output the resulting xes log into a given output stream
        Parameters:
        auditBundleInputStream - an input stream to a bundle of audit logs
        logOutputStream - and output stream where the resulting log should be written to