[HAPI-devel] Help

2007-04-23 Thread SLC_Utes
I'm trying to evaluate the HAPI API for a project that I"m currently working on. I'm having difficulty understanding how to get the information out of the ca.uhn.hl7v2.model.Message object. It's resulting class is a ca.uhn.hl7v2.model.v231.message.ORU_R01 here is a code exerpt ... --

[HAPI-devel] How to use BHS/BTS?

2007-04-23 Thread biliboc
Hi All, Has anyone worked with/know to work with batches and encapsulate multiple MSH between BHS/BTS? Can I get see an example? Thanks, Constantin -- View this message in context: http://www.nabble.com/How-to-use-BHS-BTS--tf3593826.html#a10041134 Sent from the hl7api-devel mailing list archi

[HAPI-devel] PipeParser encoding corrupted?

2007-04-23 Thread biliboc
Dear All, Have you ever faced this strange behaviour? Here is a piece of code: ca.uhn.hl7v2.model.Message msg = wrappIDXChargeBatch(...);//filling a ca.uhn.hl7v2.model.v24.message.DFT_P03 message 1. The code: XMLParser xmlParser = new DefaultXMLParser(); System.out.println( xm

[HAPI-devel] Newbie Q: how to access elements of a 2.3.1 message

2007-04-23 Thread Chad Smith
Anyone, I have the following message structure ... --- MSH|^~\&||LABONE||DDU5|20060901064300||ORU^R01|H|P|2.3.1 PID|1|161543|26319083|14568-1|ARMSTRONG^GARY||19470718|M||^|^^^UT^|| | PV1|1||131313^ROBERTS OBR|1|16

[HAPI-devel] Problem with demo app

2007-04-23 Thread Ian Link
I am new to using HAPI so thought I would start with trying out the SendAndReceiveAMessage and ExampleReceiverApplication and getting those to work. I copied the two files into a new project in eclipse and add the hapi jar to the build path. When i try to execute the main method i get the follow

[HAPI-devel] Building an SPQ_Q08 message help needed

2007-04-23 Thread wwester
I am trying to build an SPQ_Q08 message to send to a third party data repository for return of data to be displayed in my web application. I am stumped on how to correctly build the Input Parameters List field of the SPQ segment. Since the data type defined for this field is QIP and I have to p