| Steve Buttitta 2005-06-17, 5:51 pm |
| I am creating an HL7 message from an XML feed. I have mapped the fields
accross from the source XML to the target HL7. In the source message, there
are times when not all fields are supplied (some are blank). When this
happens, BizTalk is putting in trailing delimeters. How do I get rid of the
trailing delimeters (aside from creating a party and telling it to allow
them, my trading partner doesn't support this).
Example:
BizTalk creates this (notice the extra ^ after first name)
PID|||1000123456|123456|LASTNAME^FIRSTNA
ME^||19460120|F|||1234 N
MAPLE^^CHICAGO^IL^60639||773-555-1234|||M||1234567|123456789
What I want BizTalk to create (no trailing ^ after first name)
PID|||1000123456|123456|LASTNAME^FIRSTNA
ME||19460120|F|||1234 N
MAPLE^^CHICAGO^IL^60639||773-555-1234|||M||1234567|123456789
The reason the BizTalk is putting the extra carat in is that I have a middle
initial mapped to that location.
Thanks in advance,
Steve Buttitta
|