Hi,
  I am developing a HL7 client application that will just receive hl7
message getting from hl7 server. Problem is given below,

1 public Message processMessage(Message theIn) throws ApplicationException,
HL7Exception {

2          encodedMessage = new PipeParser().encode(theIn);
3            System.out.println(encodedMessage);

4            ADT_A01 objADT_01=(ADT_A01) theIn;

5          ACK retVal;
6          try {
              // This method takes in the MSH segment of an incoming
message, and generates an
              // appropriate ACK
7              retVal = (ACK)DefaultApplication.makeACK(msh);
8          } catch (Exception e) {
9              throw new HL7Exception(e);
10          }

11          return retVal;
12      }


Encoded message is showing fine but my program just stopped on the line
number 4 and not going to the next line. I just wanted to populate objADT_01
object and want to extract segment information. I can't understand why.
Please help me.

Thanks & Regards,
subhajit bhadury.
------------------------------------------------------------------------------
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to