Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BizTalk 2010 - HL7 ORU^R01 messsage, Mapping multiple OBR/OBXs

106 views
Skip to first unread message

Mac Malik

unread,
Feb 28, 2013, 8:31:04 PM2/28/13
to
Hi everyone,

My team and I are trying to use BizTalk 2010 to translate an XML of test results to HL7 v2.5.1. ORU^R01 message type.

We are facing problems in looping the multiple OBRs and OBXs values.

An HL7 message should look like this:

MSH...
PID...
NK1...
ORC...
OBR|1|..
OBX|1|..
OBX|2|..
OBR|2|..
OBX|1|..
OBX|2|.. etc. to N value

The problem we are facing is that when we pass our XML and do the mapping, the output gives the OBRs in a grouping and then the OBXs in another grouping. Its not maintaining the parent/child relationship between OBRs and OBXs.

How can we do this? How can we get the mapping looping properly that after an OBR, its OBX values come in and then the next OBR and its corresponding OBX values.
0 new messages