Thanks a lot Christian, really appreciated.
From: Christian Ohr [mailto:christian@gmail.com]
Sent: Monday, November 16, 2015 8:23 AM
To: Davies, Brian
Cc: hl7api-devel@lists.sourceforge.net
Subject: Re: [HAPI-devel] ClassCastException when casting down
In your case, nothing tells HAPI to
In your case, nothing tells HAPI to instantiate a "PFM" message when it
comes across a message with MFN^M01 in the MSH-9 field.
This is the task of the so-called event map. It's a file located in the
ca.uhn.hl7v2.parser.eventmap package and called .properties (i.e.
in your case "2.5.properties").
Related to the previous issue, I get an exception when casting down to my
object which extends the MFN_M01 message. I am extending MFN_M01 because this
is specified in the message type field, so I'm unable to avoid it. I am using
the v25 libraries and JDK1.7
Exception in thread "main" java.lang
3 matches
Mail list logo