Class BalpXmlSerializationStrategy

java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.support.audit.marshal.BalpXmlSerializationStrategy
All Implemented Interfaces:
SerializationStrategy
Direct Known Subclasses:
FhirAuditXmlEvent

public class BalpXmlSerializationStrategy extends Object
Since:
4.1
Author:
Christian Ohr
  • Constructor Details

    • BalpXmlSerializationStrategy

      public BalpXmlSerializationStrategy()
    • BalpXmlSerializationStrategy

      public BalpXmlSerializationStrategy(FhirContext fhirContext)
  • Method Details

    • getParser

      protected IParser getParser(FhirContext fhirContext)
    • marshal

      public void marshal(AuditMessage auditMessage, Writer writer, boolean pretty) throws IOException
      Specified by:
      marshal in interface SerializationStrategy
      Throws:
      IOException
    • translate

      public org.hl7.fhir.r4.model.AuditEvent translate(AuditMessage auditMessage)
    • participantObjectIdentificationToEntity

      protected org.hl7.fhir.r4.model.AuditEvent.AuditEventEntityComponent participantObjectIdentificationToEntity(ParticipantObjectIdentificationType poit)
    • auditSourceIdentificationToEventSource

      protected org.hl7.fhir.r4.model.AuditEvent.AuditEventSourceComponent auditSourceIdentificationToEventSource(AuditSourceIdentificationType asit)
    • activeParticipantToAgent

      protected org.hl7.fhir.r4.model.AuditEvent.AuditEventAgentComponent activeParticipantToAgent(ActiveParticipantType ap)
    • auditEventNetworkType

      protected org.hl7.fhir.r4.model.AuditEvent.AuditEventAgentNetworkType auditEventNetworkType(NetworkAccessPointTypeCode naptc)
    • getAuditEventOutcome

      protected org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome getAuditEventOutcome(EventOutcomeIndicator eventOutcomeIndicator)
    • getAuditEventAction

      protected org.hl7.fhir.r4.model.AuditEvent.AuditEventAction getAuditEventAction(EventActionCode eventActionCode)
    • codeToCoding

      protected <T, V> org.hl7.fhir.r4.model.Coding codeToCoding(String codeSystem, T code, Function<T,V> valueSupplier)
    • codedValueTypeToCoding

      protected org.hl7.fhir.r4.model.Coding codedValueTypeToCoding(CodedValueType cvt)
    • codedValueTypeToCoding

      protected org.hl7.fhir.r4.model.Coding codedValueTypeToCoding(CodedValueType cvt, String codeSystem)
    • codedValueTypeToCodeableConcept

      protected org.hl7.fhir.r4.model.CodeableConcept codedValueTypeToCodeableConcept(CodedValueType cvt)
    • codedValueTypeToCodeableConcept

      protected org.hl7.fhir.r4.model.CodeableConcept codedValueTypeToCodeableConcept(CodedValueType cvt, String codeSystem)
    • systemAndCodeToCodeableConcept

      protected org.hl7.fhir.r4.model.CodeableConcept systemAndCodeToCodeableConcept(String codeSystem, String code, String displayName)