In a HAPI client application, what HAPI class methods apply the character
encoding that system property "ca.uhn.hl7v2.llp.charset" determines? Does
HAPI apply the encoding when it populates messages? Does method
"Initiator.sendAndReceive(Message)" apply the encoding? Does a PipeParser
method app
By the way, to select character encoding "UTF-8", do I set system
property "ca.uhn.hl7v2.llp.charset"
to "UTF-8", "UTF_8", "UTF8", or other string?
Derek
--
This email or any attachments may contain confidential or legally
privileged information intended for the sole use of the addressees. Any
HI Ratha,
Do you just mean that you want to open up a normal TCP/MLLP port to receive
messages and send back responses? If so, there is an example of how to do
this here:
http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html
Cheers,
James
On Tue, Apr 30, 2013 at 2
Hi Derek,
The character encodings are only ever applied when the message is
transmitted over a network socket using a LowerLayerProtocol impementation
(either MLLP or HL7-over-HTTP). At all other times, HAPI uses Java Strings
to represent any textual data, which means that everything is in UTF-16.
I just verified that "-Dca.uhn.hl7v2.llp.charset=UTF-8" changes the HAPI
character encoding to UTF-8. I also verified that HAPI applies the
encoding when it sends the message via method
"Initiator.sendAndReceive(Message)".
However, since my application log still shows character 0xE9 (my previous
On Tue, Apr 30, 2013 at 2:57 PM, James Agnew wrote:
> The character encodings are only ever applied when the message is
> transmitted over a network socket using a LowerLayerProtocol impementation
> (either MLLP or HL7-over-HTTP). At all other times, HAPI uses Java Strings
> to represent any text
hi jmaes..
thanks for helping me out...Still i couldn't find the reason why this MSA
and MSH fields are swapped..
What im doing is;
- Sending a raw HL7 message to the server.
- Waiting for response from the backend application. (putting a
thread.sleep)
- Once received a response, im pu
HI james;
I thought to open serversocket to listen the incoming hl7 messages, than
going with a sample available hl7 server..But i think, hl7 itself has the
serversocket implementation in it. So,we dont need to add that again..
I might need to consider a producer/consumer pattern to listen the
resp
One of the most common problems I face with vendors who claim to follow the HL7
standard is their failure to escape the delimiters.
On a recent project I have implemented all the HL7 transforms in hapi, and
everything was looking good until it was noted that a description field could
have un-e
hi james;
I found the reason..My receiver application already sending an ack
response, what im doing is generating the ack message again from that ack
response:)..
Now sorted out... thanks fro your help.
regds
-ratha
On 1 May 2013 00:53, vijayaratha vijayasingam wrote:
> hi jmaes..
> thanks fo
10 matches
Mail list logo