I'm perfectly aware of the need to include multiple structure libraries and
I can also see the extra management it produces/need to provide generic
code. However, the generateACK seems to be spec'ed that way and in that
scope, it cannot be an error, but rather a 'feature request'.
2012/1/16 christ
But I agree in that it would be very useful if the implementation was
changed as already proposed.
2012/1/16 christian ohr
>
> The problem in this case is that you are required to include the 2.4
> structures libraries into your classpath. And, if you don't know the
> version(s) of the received
The problem in this case is that you are required to include the 2.4
structures libraries into your classpath. And, if you don't know the
version(s) of the received messages in advance (and that's one good reason
to use the CanonicalModelClassfactory 2.6) you would be required to include
all struc
Where is the problem? If you look at
http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html#generateACK%28%29,
you will see that the following is stated:
The ACK generated will be of the same version as the value of MSH-12 in
this message (as opposed to the version of the messa
The bug Id is 3471571.
On Jan 9, 2012, at 4:42 PM, James Agnew wrote:
> Hi Rahul,
>
> Looks like you have uncovered a bug in HAPI. I tried it locally and I see the
> same thing as you: Basically, the "generateACK()" method is not actually
> honoring your ModelClassFactory, so it's trying to in
Hi Rahul,
Looks like you have uncovered a bug in HAPI. I tried it locally and I see
the same thing as you: Basically, the "generateACK()" method is not
actually honoring your ModelClassFactory, so it's trying to instantiate the
2.4 version of the structure.
The easiest workaround is probably to c
Yes I have only the 2.6 structures in my classpath. And Canonical should look
for 2.6 classes, however the stack trace says it's looking for 2.4 classes.
Everything is fine until I try to create the ACK. So I've used some duct tape
to get over the problem like this:
MSH requestMsh = message.
Rahul,
Do you have structure classes in your path?
CMCF will look for 2.6 structure.
Thanks.
Regards
-Niranjan.
From: Rahul Somasunderam [mailto:r...@certifydatasystems.com]
Sent: Monday, January 09, 2012 10:36 AM
To: hl7api-devel@lists.sourceforge.net
Subject: [HAPI-devel] generateACK and Can
8 matches
Mail list logo