Oh, I see. This code must not be linked with a structures version later than 22. It works as long as I do not link hapi-structures-v25.

Thanks.

On 7/2/19 10:01 AM, Russell Bateman wrote:
Where can I get an updated version of /ExampleParseMessage.java/ that has no errors? In particular, using the latest (2.3) JARs for

    hapi-base
    hapi-structures-v25
    hapi-structures-v22

I get compilation errors trying for the following lines:

String msgType = msh.getMessageType().getMessageType().getValue();

PN patientName = adtMsg.getPID().getPatientName();

Thanks


_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to