Re: [HAPI-devel] ZDS

2009-12-09 Thread robyplm
It seems to me that the code I inserted in my last post is coherent with what you are suggesting, isn't it? Anyway, thank you so muck Nico, your post has helped me in solving a big problem! Kind regards. Roberto. -- View this message in context: http://old.nabble.com/ZDS-tp26708625p26710985.htm

Re: [HAPI-devel] ZDS

2009-12-09 Thread robyplm
Hi again, it works with the following code: ORM_O01 or = new ORM_O01(); ORM_O01_ORDER order = or.getORDER(); order.getMessage().addNonstandardSegment("ZDS"); Terser t = new Terser(or); t.set("ZDS-1-1","1223"); t.set("ZDS-2-1","RIS71"); Thank you again for your suggestion! Roberto. -- View this

Re: [HAPI-devel] ZDS

2009-12-09 Thread robyplm
Hi Nico, thank you so much for your kind and interesting answer. Excuse me, what you mean for "getORCOBRRQDRQ1ODSODTRXONTEDG1RXRRXCNTEOBXNTECTIBLG"? I'm using a ORM_O01 object to send a orm^O01 message. How can I use the Terser utility class to add the ZDS section? Thank you!! Roberto. nicovn

[HAPI-devel] ZDS

2009-12-09 Thread robyplm
Hi everybody, I'm using Hapi platform to send hl7 messages toa hl7 server. I need to populate the ZDS segment with the study_iuid, and the AET. How can I do that? I've parsed a hl7 message with a ZDS section; I see that ZDS is included in a RDO_O01_COMPONENT. How can I add to it? >From the docu