Re: [HAPI-devel] Why is PID hidden in ORU_R01_PATIENT?

2009-06-22 Thread fabio daprile
Hello, which version of HL7 are u using? Anyway, if you use the 2.5 PID is child of PATIENT_RESULT.PATIENT, and not directly on the same level as MSH. Also in HL7. It was the same in the 2.4, 2.3.1. In the 2.3 it was child of RESPONSE.PATIENT. Greetings, Fabio On Fri, 19 Jun 2009 13:54:43 -0700

Re: [HAPI-devel] Callback

2009-06-22 Thread Asanka Abeysinghe
Hi, Any one has a workaround for the following scenario. Thx - Asanka Asanka Abeysinghe wrote: Hi James, Basically I want to get the output stream from the server socket and pass it to another process to construct the ack and response. So basically the callback will not return an Messag

Re: [HAPI-devel] Why is PID hidden in ORU_R01_PATIENT?

2009-06-22 Thread deg2cents
I think that your response refers to how HAPI expresses the HL7. My question is more "Why does the HAPI schema not reflect the layout of the HL7 EDI segments?" For example in HL7 multiple ORU^R01 requires multiple MSH, but HAPI collects these into a single MSH. The positioning of the PID is also d

Re: [HAPI-devel] Why is PID hidden in ORU_R01_PATIENT?

2009-06-22 Thread Patrick J Kobly
PID shows up beneath PATIENT_RESULT.PATIENT because HAPI follows the rules for XML Encoding described in the normative "HL7 Version 2: XML Encoding Syntax" specification.  Section 2.4.1 describes how groups of segments are represented and observes that "There was no explicit way to express thes

[HAPI-devel] How can i get response message which sent to client ?

2009-06-22 Thread Yu Gu
Hi, i use HL7Server ,it can receive a message from client and send a response message to client. How can i get the response message which has been sent to client from HL7Server ? or what has been sent at server ? i can get the response message from client by using method "sendAndReceive",but i w