BizTalk Server Applications Integration - Remove trailing delimeters from HL7 message

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > June 2005 > Remove trailing delimeters from HL7 message





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Remove trailing delimeters from HL7 message
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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com