Re: [HAPI-devel] How to parse NK1 segment in HL7 v2.1

2016-05-16 Thread Dayu Han
Hello In processing HL7 ADT message v2.1, I use the following code to parse NK1 segment: Structure[] nk1Segments = message.getAll("NK1”); However, this returns no element. My question is how to get ALL NK1 segments directly ? Thanks Dayu -- Dayu Han Software Developer Strata Health Solutions

Re: [HAPI-devel] How to parse NK1 segment in HL7 v2.1

2016-05-16 Thread Ian Vowles
I adjusted an earlier message example I had played with to try out the message.getall() that you are using. See below. It looked to work ok, so I’m not able to offer much more. You may note that I went through a parse step on a message string first, before trying to use getAll. I presume you h