Package science.aist.fhirauditeventtoxes
Class FhirAuditEventsToXESLogService
- java.lang.Object
-
- science.aist.fhirauditeventtoxes.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 Summary
Constructors Constructor Description FhirAuditEventsToXESLogService()
Initializes the transformers and renderersFhirAuditEventsToXESLogService(String traceConceptNameResolverPath, String eventConceptNameResolverPath)
FhirAuditEventsToXESLogService(Function<org.hl7.fhir.r5.model.AuditEvent,String> traceConceptNameResolver, Function<org.hl7.fhir.r5.model.AuditEvent,String> eventConceptNameResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 streamscience.aist.xes.model.LogType
convertFhirAuditEventsToXESLog(AuditEventBundle bundle)
-
-
-
Method Detail
-
convertFhirAuditEventsToXESLog
public science.aist.xes.model.LogType convertFhirAuditEventsToXESLog(AuditEventBundle bundle)
- 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 logslogOutputStream
- and output stream where the resulting log should be written to
-
-