Thanks for the files this definitely helps.
> Date: Wed, 28 Nov 2007 08:41:00 +0100
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: [HAPI-devel] batching/validation
>
> Hi Ryan,
>
> > It appears as if there is no batch support in hapi. Or am I missing this?
> > If this is the case, what are people commonly doing to handle batch
> files?
>
> > You mean if there's more than one message in a file?
> > I have a ReadMessage() function that pulls one message at a time out of =
> > the file and returns an array of strings. I just read segments until I =
> > reach the end of the file or I hit an MSH header.
> > Tony
>
> I do use the HL7Reader.getMessage method in a standard way. This
> HL7Reader interface is provided by HAPI with only one implementation (at
> least in my version): MinLLPReader, to be used with IP sockets. Based on
> this, I've added two others:
> - NullLLPReader: to be used when no LLP is needed for example with files
> or JMS messages;
> - BatchLLPReader: to be used with batch files, where messages are
> separated by a linefeed (\n) character.
> Of course, there is similar classes for writers (see attached).
>
> I hope this could help.
> Fred.
>
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel