From: Shrock, C. <Sh...@in...> - 2005-02-23 22:05:23
|
I see v2.3--good, I was seeing messages that said they were v2.2 but had some v2.3 components. I ended up having to extend the v2.2 model to include this "new" functionality. Off the top of my head, I would start looking at model/v23/message/ORM_O01 and model/v23/message/RDO_O01 classes and verify that the segments/groups that those classes load can match the message structure that you are receiving. Have you verified that is not related to the XML encoding by testing the messages with the included app/TestPanel class (it is the default class when you execute the hapi jar file)? -----Original Message----- From: Eric Freed [mailto:ef...@ne...] Sent: Wednesday, February 23, 2005 12:28 PM To: hl7...@li... Subject: [HAPI-devel] ORM 001 and XML Hi, I am having a problem that I think is related to a problem that has been brought up here a few times, but I am not sure of the answer. In the course of testing I tried to have a message go from regular encoding, to XML and then back. However, the final message is not the same as the first one: First message: ---------------------------------------------------------- MSH|^~\&|ADS|LL|PSCRIBE||200209181134||ORM^O01|2|P|2.3 PID|||263334||SMITH^JOHN||19471112|M|||ADDRESS^^CITY^ST||(914)633-7700|| PID|||263334|||||263334|123-45-6789 ORC|NW|LL02-194182||||||||||455^JONES^JOHN OBR||LL02-194182|(963)232-25AF|71020^CHEST PA LAT||20020920||||||||||455^JONES^JOHN|(914)632-9422 ---------------------------------------------------------- returned message: ---------------------------------------------------------- MSH|^~\&|ADS|LL|PSCRIBE||200209181134||ORM^O01|2|P|2.3 PID|||263334||SMITH^JOHN||19471112|M|||ADDRESS^^CITY^ST||(914)633-7700|| PID|||263334|||||263334|123-45-6789 ORC|NW|LL02-194182||||||||||455^JONES^JOHN ------------------------------------------------------------ The OBR segment is missing. When I look at the XML, it starts with <RDO_O01> I know the RDO^O01 and ORM^O01 issue has been brought up here, but I didn't see a solution and don't know if it would cause the problem above. Any advice? Thanks, -- Eric Freed IT Manager New Rochelle Radiology 914-633-7700 x339 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Hl7api-devel mailing list Hl7...@li... https://lists.sourceforge.net/lists/listinfo/hl7api-devel |