Hi All
Initial, I would like to thank James and all the other guys behind the HAPI
framework - that's solid work, guys, solid work! It has made my life a h**l
lot easier.
However I would like to get some input/solutions/suggestions to the
following problem:
I'm about to write an HL7 application that has to support incoming messages
encoded in various different formats, e.g. an ADT_A04 being encoded in UT8
(MSH-18) and the same kind of message encoded in, lets say ISO-8859-1. As
far as I can see, using the SimpleServer, this is not possible, as the
SimpleServer is using LowerLayerProtocol which is using MinLLPReader which
uses the static CHARSET_KEY for decoding which means that all received
messages will be decoded with the same encoding, even though they are
encoded differently. So what is the solution to this?
To manually convert all fields that I'm reading from the message dependant
of what is stated in the MSH-18 for each message?
--
Med venlig hilsen / Kind regards
Jens Kristian Villadsen
cand.polyt
Systemudvikler / System developer
Cetrea A/S, Denmark
phone : +45 38 40 05 81
address: Brendstrupgårdsvej 21F, DK-8200 Aarhus N.
e-mail : j...@cetrea.com
w^3 : http://www.cetrea.com/
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel