Class XdsHl7v2Renderer

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.XdsHl7v2Renderer

public abstract class XdsHl7v2Renderer extends Object
A renderer of HL7 v2 elements which considers XDS-specific requirements regarding required and prohibited fields as prescribed in the ITI TF Volume 3 Chapter 4.
Author:
Dmytro Rud
  • Field Details

    • ENCODING_CHARACTERS

      public static final EncodingCharacters ENCODING_CHARACTERS
      Encoding characters for HL7 v2 messages.
    • ESCAPING

      public static final Escaping ESCAPING
  • Method Details

    • isEmpty

      public static boolean isEmpty(Hl7v2Based hl7v2based)
    • encode

      public static String encode(Hl7v2Based hl7v2based)
      Encodes the given HL7-based XDS model object using specific rules regarding required and prohibited HL7 fields.
      Parameters:
      hl7v2based - source HL7-based XDS object model to be rendered.
      Returns:
      String representation of the given HL7 v2 composite field.