From: Sara F. <sar...@gm...> - 2014-06-19 12:08:37
|
Hi all, I am working on sending hl7 message to gazelle simulator using PAM structure. I am using this <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> sample to send hl7 message. However this example is creating an example server to send the message, but I need to send this to the PAM simulator <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. How can I configure details of the simulator instead of the example server. I have changed the port number and IP address. But in the below lines I need to change the receiving application to PAMSimulator <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. Could someone guide me how I can do this? Application handler = new ExampleReceiverApplication(); > server.registerApplication("ADT", "A05", handler); Thanks & Regards Sara Fatima |