Hi Epic, If you want the group to repeat, that's possible with the terser. Something like that
terser.set("/FINANCIAL(0)/FT1-1", setId); terser.set("/FINANCIAL(1)/FT1-1", setId); Leo-61 wrote: > > Hello Epic! I think segment FT1 is not repeteable in FINANCIAL group, you > cant add second repetition using terer neither manualli using get(FT1,2). > > > > On Nov 21, 2007 8:00 PM, epic winter <[EMAIL PROTECTED]> wrote: > >> 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. Join >> in!<http://im.live.com/messenger/im/home/?source=CRM_WL_joinnow> >> >> ------------------------------------------------------------------------- >> 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 >> Hl7api-devel@lists.sourceforge.net >> 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 > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > -- View this message in context: http://www.nabble.com/terser---syntax-tf4852218.html#a13908451 Sent from the hl7api-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel