Mapping HL7 while preserving the order

I am having a bit of trouble trying to map hl7 v2.3 to v2.3.1

The input structure is:

MSH
PID
NTE
PV1
ORC
OBR
NTE
OBX
NTE
ORC
OBR
NTE
OBX
NTE

The ouput structure that was returns:

MSH
PID
ZPD
ZNT
ORC
ORC
OBR
OBR
ZBR
ZBR
ZNT
OBX
OBX
ZBX
ZNT

The structure i want v2.3.1 to be is:

MSH
PID
ZPD
ZNT
PV1
ORC
OBR
ZBR
NTE
OBX
ZBX
NTE
ORC
OBR
ZBR
NTE
OBX
ZBX
NTE

Whenever i set PreserveSequenceOrder = Yes

The output structure is not even recognizable

any hints?

October 28th, 2013 10:01pm

yeah i tried those suggestions and it does not work

i am working with biztalk 2013

is the only way to map hl7 through custom xslt?

October 29th, 2013 7:07pm

Hi,

It is one of known issue and as you said xslt does help in this case (Even I had faced this issue and solved it using xslt).

Free Windows Admin Tool Kit Click here and download it now
October 30th, 2013 9:52pm

do you have an example you can demonstrate?
November 1st, 2013 10:07pm

Create a BizTalk Map with multiple sheets

1. As MSH, PID, NTE, PV1 is not repeatable segments, you can directly map. No xslt needed

2. From ORC, you have to write a custom XSLT with For-each loop 

<xsl:for-each select="ORC_CommonOrder">

Create a nodes appropriately. Inside <ORC> again, OBX is repeating segment so another foreach loop is required to map correctly.

Thanks,

Lakshmi

Free Windows Admin Tool Kit Click here and download it now
January 26th, 2015 10:55pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics