You've found a bug that's recently been reported and fixed internally.
There is another workaround you can use, which is to set Framing="" (empty
string) instead of "None".
The change to fix it is filed under TAP907. It is not in any released build
yet.
If you want to fix it properly yourself in the meantime, the change is very
simple: add this case
"none":"x",
at the top of the Case statement in EnsLib.HL7.Parser.ApplyFraming()
Regards,
Ted Peck
----- Original Message -----
From: "Richard Pugmire" <
richard...@ghnt.nhs.uk>
To: "InterSystems: Ensemble in Healthcare"
<
Ensemble-in...@googlegroups.com>
Sent: Tuesday, November 10, 2009 10:22 AM
Subject: [InterSystems-EnsHlth] Problem with HL7 Message Framing
> Hi all,
>
> I have stumbled across a problem which I cannot seem to get to the
> bottom of. When setting up a Business Operation with a basic TCP or
> HTTP adapter and setting Framing to �None� the messages still get
> wrapped by an MLLP envelope.
>
> I have done a bit of a digging and made a class to override the class
> method �SendMessage� from EnsLib.HL7.Operation.HTTPOperation and found
> the following call:
>
> Set tSC=..OutputFramedToIOStream
> (tMetaIOStream,pMsgOut,..Separators,pExpectedSequenceNumber,
> 1,..IOLogEntry) Quit:$$$ISERR(tSC) tSC
>
> OutputFramedToIOStream has a 7th option which controls framing and by
> default is set to 1, but if I set this to 0 then I work around my
> problem and framing isn�t applied, so the problem must exist somewhere
> within this method (or deeper still) when handling the user specified
> value of �None�.
>
> Although I have a work around any help getting to the bottom of this
> would be appreciated.
>
> Thanks
>
> Richard Pugmire
> Gateshead Health NHS Foundation Trust
>
> --
> You received this message because you are subscribed to the Google Groups
> "InterSystems: Ensemble in Healthcare Community" group.
> To post to this group, send email to
>
Ensemble-in...@googlegroups.com
> To unsubscribe from this group, send email to
>
Ensemble-in-Healt...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
>