From: <Bry...@uh...> - 2003-04-04 16:04:19
|
Just a couple of related notes ... 1) If you don't have the database, you can still do this but the procedure is different. You have to write the Z-segment class manually, write a modified message class that references it, and "register" these as described in the JavaDocs for ca.uhn.hl7v2.parser.Parser.packageList(). 2) I'm working on automatic handling of Z-segments, and plan to have it ready for version 0.4 (which should be out within a month). The basic idea is that any unexpected segment that is encountered during parsing will be added to the message structure on the fly, and if the segment type isn't recognized (e.g. because it is a Z-segment) then the segment structure will also be built on the fly (out of Varies types, unless the message is XML encoded so that the datatype is declared). Bryan -----Original Message----- From: Shi...@tr... [mailto:Shi...@tr...] Sent: April 4, 2003 9:21 AM To: hl7...@li... Subject: [HAPI-devel] adding Z segments Alex, We have customized our message adding Z segment etc. It is a multi-step process. First you have to modify the access database for the HL7 messages. Once you have done that then you need to recompile the entire library. Beware that you want to use the latest version of the HAPI code from the CVS not the download from the site. Shin. This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization. |