Class FhirAuditEventsToOCELLogService
- java.lang.Object
-
- science.aist.fhirauditeventtoocel.FhirAuditEventsToOCELLogService
-
public class FhirAuditEventsToOCELLogService extends Object
-
-
Constructor Summary
Constructors Constructor Description FhirAuditEventsToOCELLogService()
Configures the transformers and renderers
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convertFhirAuditEventsToOCELLog(InputStream auditBundleInputStream, OutputStream logOutputStream)
Loads an audit bundle from an input stream and output the resulting ocel log into a given output streamscience.aist.ocel.model.LogType
convertFhirAuditEventsToOCELLog(Collection<org.hl7.fhir.r5.model.AuditEvent> auditEvents)
-
-
-
Method Detail
-
convertFhirAuditEventsToOCELLog
public science.aist.ocel.model.LogType convertFhirAuditEventsToOCELLog(Collection<org.hl7.fhir.r5.model.AuditEvent> auditEvents)
- Parameters:
auditEvents
- the collection of audit events- Returns:
- the resulting ocel log
-
convertFhirAuditEventsToOCELLog
public void convertFhirAuditEventsToOCELLog(InputStream auditBundleInputStream, OutputStream logOutputStream)
Loads an audit bundle from an input stream and output the resulting ocel 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
-
-