Class WrapperFactory
java.lang.Object
ca.cdr.api.pub.hl7v2.common.abstraction.WrapperFactory
Wraps a HL7 V2 message to an abstraction with relevant segments and groups
-
Method Summary
Modifier and TypeMethodDescriptionstatic IEventMessage
asEventMessage
(ca.uhn.hl7v2.model.AbstractMessage theMessage) static IOrderMessage
asOrderMessage
(ca.uhn.hl7v2.model.AbstractMessage theMessage) static IPatientMessage
asPatientMessage
(ca.uhn.hl7v2.model.AbstractMessage theMessage) static IVisitMessage
asVisitMessage
(ca.uhn.hl7v2.model.AbstractMessage theMessage)
-
Method Details
-
asEventMessage
-
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
-