Class HL7v2Message

java.lang.Object
org.apache.beam.sdk.io.gcp.healthcare.HL7v2Message

public class HL7v2Message extends Object
The type HL7v2 message to wrap the Message model.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromModel

      public static HL7v2Message fromModel(Message msg)
      From model Message to hl7v2 message.
      Parameters:
      msg - the model msg
      Returns:
      the hl7v2 message
    • toModel

      public Message toModel()
      To model message.
      Returns:
      the message
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getMessageType

      public String getMessageType()
      Gets message type.
      Returns:
      the message type
    • getSendTime

      public String getSendTime()
      Gets send time.
      Returns:
      the send time
    • getCreateTime

      public String getCreateTime()
      Gets create time.
      Returns:
      the create time
    • getData

      public String getData()
      Gets data.
      Returns:
      the data
    • getSendFacility

      public String getSendFacility()
      Gets send facility.
      Returns:
      the send facility
    • getSchematizedData

      public String getSchematizedData()
      Gets schematized data.
      Returns:
      the schematized data
    • setSchematizedData

      public void setSchematizedData(String schematizedData)
    • getLabels

      public Map<String,String> getLabels()
      Gets labels.
      Returns:
      the labels
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object