Class FhirAuditEventsToOCELLogService


  • public class FhirAuditEventsToOCELLogService
    extends Object
    • Constructor Detail

      • FhirAuditEventsToOCELLogService

        public FhirAuditEventsToOCELLogService()
        Configures the transformers and renderers
    • Method Detail

      • convertFhirAuditEventsToOCELLog

        public science.aist.ocel.model.LogType convertFhirAuditEventsToOCELLog​(Collection<org.hl7.fhir.r5.model.AuditEvent> auditEvents)
        Use the transformer to transform from a Collection of AuditEvents into a LogType
        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 logs
        logOutputStream - and output stream where the resulting log should be written to