From: <mg...@mc...> - 2004-05-10 01:52:48
|
Folks, Sorry to be a nuisance, but I have most of this working now, except for one little thing... I am trying to create an ORU_R01 message to contain a pathology report. After I am done adding the segments I call PipeParser.encode() to get the encoded message. For some reason, the returned string contains only the last segment added to the message (properly encoded). It seems likely that I've done something stupid, but I can't see what it is. Just to be clear, since there are several versions of encode(), this is what I have: ORU_R01 oru=new ORU_R01(); //add segments PipeParser parser=new PipeParser(); String msg=parser.encode(oru); I am using version 0.4.1 of HAPI. I am using version 1.5.0 beta of java, and it may be that this has created a problem, since I've noticed that some code that worked properly under 1.4.2 requires minor modification under 1.5.0 (OTOH some things that were irretrievably broken under 1.4.2 work under 1.5.0, which is why I'm using it.) Thanks very much, Matthew Fleming, MD Laboratory of Dermatopathology Dept. of Dermatology Medical College of Wisconsin Milwaukee, WI mg...@mc... |