Originally posted by Hyo-Chan Lee
I have the inbound lab HL7 messages with ORM^O01 and ORU^R01 both message types in same thread.
If the message type is ORU^R01 then i want to copy a field OBR-7 to OBR-27.
I set ORU message in XLT and when I receive the type ORM, there is an error from the testing tool, MESSAGE 1
[0:TEST] [mid:0x1528a9c] The # 1 segment encountered 'OBR' is out of order for message type 'ORM_O01'. Segment ignored.
0(0).MSH(0) : >|^~&|XXXXXXX||||20130122090300||ORM^O01|193021487|P|2.3<
Anyone can help me for how can I set a Variant and a message in XLT inorder to handle both message types?
Thanks,
Hyo-Chan