Class WrapperFactory

java.lang.Object
ca.cdr.api.pub.hl7v2.common.abstraction.WrapperFactory

public class WrapperFactory extends Object
Wraps a HL7 V2 message to an abstraction with relevant segments and groups
  • Method Details

    • asEventMessage

      public static IEventMessage asEventMessage(ca.uhn.hl7v2.model.AbstractMessage theMessage)
    • asOrderMessage

      public static IOrderMessage asOrderMessage(ca.uhn.hl7v2.model.AbstractMessage theMessage) throws ca.uhn.hl7v2.HL7Exception
      Throws:
      ca.uhn.hl7v2.HL7Exception
    • asPatientMessage

      public static IPatientMessage asPatientMessage(ca.uhn.hl7v2.model.AbstractMessage theMessage) throws ca.uhn.hl7v2.HL7Exception
      Throws:
      ca.uhn.hl7v2.HL7Exception
    • asVisitMessage

      public static IVisitMessage asVisitMessage(ca.uhn.hl7v2.model.AbstractMessage theMessage) throws ca.uhn.hl7v2.HL7Exception
      Throws:
      ca.uhn.hl7v2.HL7Exception