Re: [HAPI-devel] How can i know the status of the HL7Server ("Not Connected " or "Connected")?

2009-06-30 Thread Yu Gu
Hi James, Thank you for your reply! :-D By the way, what method should I call to get the response message in HL7Server class? In other words, how can I get the response message which send to client ? I have gone over the Hapi source code,but I can't find such method. Should I use myContext(Proces

Re: [HAPI-devel] Hapi Version 0.5.1 Source Code

2009-06-30 Thread Yu Gu
Hi,Caleb You can download the Hapi 0.5.1 source code at SourceForge: http://sourceforge.net/project/showfiles.php?group_id=38899&package_id=31129 Also, you can know more about Hapi at http://hl7api.sourceforge.net/index.html Best regards, Yu - Just Do It ! -- View this message in context:

[HAPI-devel] Hapi Version 0.5.1 Source Code

2009-06-30 Thread Caleb Powell
Hi, we are new to the Hapi project and wanted to download the source code for version 0.5.1 from the public repository. We want to have the source code for debugging purposes, and to get a better idea of how to generate custom messages. We couldn't find a clearly marked branch or version for

Re: [HAPI-devel] HL7 V2.5: ADT^A01 unable to retrieve multiple IN1 segment values

2009-06-30 Thread James Agnew
Hi Murali, That's strange! Which version of the HAPI library are you using? I'm trying it here, and the following code seems to work for both v2.2 and v2.5 messages: ADT_A01 adt_a01 = new ADT_A01(); IN1 rep1 = adt_a01.getINSURANCE(0).getIN1(); IN1 rep2 = adt_a01.getINSURAN

Re: [HAPI-devel] How can i know the status of the HL7Server ("Not Connected " or "Connected")?

2009-06-30 Thread James Agnew
Hi Yu, HL7Server could probably use a convenience method to deduce this, but you can determine whether there are any active connections to it by calling: server.getProcessors().length > 0 Cheers, James On Mon, Jun 29, 2009 at 11:25 PM, Yu Gu wrote: > > Hi, everyone. Does HAPI provide any metho