From: Matias K. <ma...@et...> - 2004-05-21 14:32:16
|
Hello, I've just started testing HAPI v0.4.1. I'm trying to parse an incoming ADT message. Does anyone know if there is a way I can make an ADTProcessor class that is HL7 version independent? I want this class to be able to parse a specific message type (i.e. ADT_A04) regardless of whether the message is v2.3.1, v2.4, or another? Do I have to import ca.uhn.hl7v2.model.v231.message.*, ca.uhn.hl7v2.model.v24.message.*, etc., check the version of the incoming message, and then use the version specific model classes? Is there a better way? Thanks, Matias ============ Matias Klein Ethidium Health Systems 3993 Huntingdon Pike - Suite 108 Huntingdon Valley, PA 19006-1927 USA Office: (215)938-8630 Fax: (866)583-8018 http://www.ethidium.com |