Hello,
Thank you Ronald, actually I don't know much about HL7 just we need to send
some data to a PACS-RIS system. They given me some samples and they said
this is HL7 and all examples have following seperators...
Cheers,
Atilla
On 9/20/07, Life is hard, and then you die <[EMAIL PROTECTED]> wrote:
>
> On Mon, Sep 17, 2007 at 05:27:54PM +0300, atilla acar wrote:
> >
> > I am newbie to hapi and terser stuff,
> > I should create such a message with hapi, it is just an example message
> to
> > explain my situation;
> >
> > PID|||2006000022||TERZİ^BELGİN^^^^|^FADİME|||||
> >
> > as you see from my example message, we have some following ||||||
> delimiters
> > that means I should send last char as null
> > I tried
> > terser.set("/.PID-15-1", "\0");
> > and
> > terser.set("/.PID-15-1", "");
> >
> > both of them didn't work :(, how can I set the last char to null any
> idea?
>
> Why are you trying to insert a \0 here? Trailing empty fields are
> always optional, i.e. you can send either
>
> PID|||2006000022||TERZİ^BELGİN^^^^|^FADİME|||||
>
> or
>
> PID|||2006000022||TERZİ^BELGİN^^^^|^FADİME
>
> or even
>
>
> PID|||2006000022||TERZİ^BELGİN^^^^|^FADİME||||||||||||||||||||||||||||||||
>
> and they all mean exactly the same thing. So you don't need to worry
> about them at all and can just let HAPI assemble the segment as it
> wishes.
>
>
> Cheers,
>
> Ronald
>
>
-------------------------------------------------------------------------
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