I am working on producing the DFT_P03 message using the Terser.  I might be 
interpreting the spec wrong but from what I gather you can have many FT1 
segments.  When I try to add a second one I get the:
Caused by: ca.uhn.hl7v2.HL7Exception: Can't create repetition #1 of Structure 
FT1 - this Structure is non-repeating

I would assume my syntax is incorrect.  Here is what I am using for the second 
segment:
terser.set(/.FT1(1)FT1-1, setId);

The first one works:
terser.set(/.FT1(0)FT1-1, setId);

What am I doing wrong?
thanks




_________________________________________________________________
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