From: Scott A. <sa...@bj...> - 2006-03-22 15:34:17
|
I'm having a problem when trying to process NK1 segments off of an ADT A31 message. Looking at the message, there are clearly no NK1 segments in it (it has an MSH, EVN, PID, PD1, and GT1). However, calling getNKReps() on the message returns a value of 1. Is this a bug in HAPI 0.5beta? If not, what does getNK1Reps() actually do? And is there anyway to get the number of NK1 segments in the message? At the moment, I have to just try to access the NK1 segments and catch ArrayIndexOutOfBoundsException. Thanks, Scott Arnold Analyst |