Dear Hapi Developers, I am using Hapi 1.2 to create a batch file that conforms to HL7 v.2.3.1. I need to generate a batch file with FHS, BHS, BTS, and FTS segments. The messages between the BHS and BTS segments will be DFT^P03 messages.
The structure of the file looks like: FHS BHS DFT^P03 (one or more messages) BTS FTS The JavaDoc for the HL7 v.2.3.1 messages include Java class for FHS, FTS, BHS, and BTS. However their constructor requires additional parameters. I don't know how those parameter values could be obtained in Hapi. What's the best way to create those segments. In addition, I could create a single DFT^P03 message. What's the best way to create multiple of them? Are there any utility classes that will help write the file structure above to a file? Any help with example code would be much appreciated. Thanks in advance, Joseph ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel