Hi Ryan,
You're right ...
I have already extended the Terser class with methods to determine if
a field/component is empty or null.
As soon as it's complete I can send it to you.
Best Regards
Nico
At 27/11/2007, epic winter wrote:
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=CRM_WL_joinnow>Join in!
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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