We tried using generic classes for our Z-segment (ZLR, "Z segment for Lab Reporting") for version 2.3 ORU^R01, but ultimately found it simpler to just build a new segment class out of the available field classes, using other segment sources (it's open source!) as models.
Attached is the source for the ZLR segment class we built (See attached file: ZLR.java) And the source for the ca.uhn.hl7v2.model.v23.group .ORU_R01_ORDER_OBSERVATION class, modified from the original generated code to include our ZLR segment: (See attached file: ORU_R01_ORDER_OBSERVATION.java) We have been using this satisfactorily for 8 years. Charles Fisher Division of Epidemiology New York State Dept. of Health 518-474-2735 Çelebi, Ismet <icel...@joho.de> To 2011_03_22 11:30 <hl7api-devel@lists.sourceforge.net AM > cc Subject [HAPI-devel] ZBE-Segment Hi Folks, In our ADT-Messages there is a segment called ZBE. I can not use this segment via HAPI. Is there a way to include this into HAPI or how am I going to implement this into HAPI? ZBE|5007|20110316124300||UPDATE Definition of this ZBE segment is: Type Length Name EI 250 TransferID TS 250 Start of Transfer TS 250 End of Transfer ST 250 Action code ZBE Cheers, Ismet St. Josefs-Hospital Wiesbaden GmbH, Beethovenstrasse 20, 65189 Wiesba den Telefon 0611/177-0, Telefax 0611/177-1185, E-Mail: i...@joho.de Geschaeftsfuehrer: Karl-Josef Schmidt, stellv. Geschaeftsfuehrer: Pete r Pfaffenberger Registergericht: AG Wiesbaden, HR B 21935 ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.
<<inline: graycol.gif>>
<<inline: pic19631.gif>>
<<inline: ecblank.gif>>
ZLR.java
Description: Binary data
ORU_R01_ORDER_OBSERVATION.java
Description: Binary data
------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel