From: Bryan T. <bp...@gm...> - 2005-07-13 17:51:23
|
Hi Jim,=20 Does the interface engine give you a specific error message?=20 There shouldn't be a trailing delimiter (see section 2.6.1 ... the wording in v2.5 is "if not last ( field ) print field_separator") Bryan=20 On 7/13/05, Jim Krygowski <ji...@ho...> wrote: > I just started working with an HL7 interface that requires pipe-delimited > style messages. I'm using HAPI to generate the messages being sent and f= or > some reason, the receiving gateway doesn't like what it's getting. >=20 > HAPI is generating a MSH segment with delimiters for MSH.1 thru MSH.12 wi= th > a cr/lf immediately following. It looks perfectly valid, but the interfa= ce > chokes on it. I have to add the MSH.13 pipe delimiter after the MSH.12 > content in order for the message to be accepted. This is the same for an= y > message that doesn't have a value in the last possible field of a segment= . >=20 > This is what HAPI produces: > MSH|^~\&| |State Laboratory > Institute^22D0650270^CLIA|ELRMADPH|MA|20050713113529||ORU^R01|20050713113= 52900000|P|2.3.1<hex > 0D0A> >=20 > This is what the interface likes: > MSH|^~\&| |State Laboratory > Institute^22D0650270^CLIA|ELRMADPH|MA|20050713113529||ORU^R01|20050713113= 52900000|P|2.3.1|<hex > 0D0A> >=20 > I've been delving into the HL7 specification docs on HL7.org but they're = not > terribly helpful. I've got some pull with the interface vendor so if > they've done it wrong, we can have them change it. >=20 > So, does anyone know which way is the right way?? Is HAPI failing to put = a > trailing delimiter in some cases? >=20 > thanks in advance. >=20 > Jim >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happen= ing > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by H= P, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > |