I am trying to understand how you traverse through a random message in a 
terser.  I guess I would look in the MSH to determine what Message type it is.  
But after that how do I actually iterate the message.  How do you tell how many 
repetitions are present of a group or field?  How do you tell if an optional 
group is present or not?

The only way I can think is just by testing for it and catching exceptions, but 
that is pretty ugly.  Essentially I am looking for a method like:
public boolean isPresent(String spec)

Does something like that exist?

thanks 
-Ryan

_________________________________________________________________
You keep typing, we keep giving. Download Messenger and join the i’m Initiative 
now.
http://im.live.com/messenger/im/home/?source=TAGLM
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to