I'm working on an HL7 application taking ideas from Roger Searjeant's helpful example (
http://sites.google.com/site/rogersearjeant/healthcare-and-hl7/hapi-ack-nak-message-helper). That uses HAPI 0.5.1. I've been trying to get my stuff working with version 0.6, but I'm having a problem with one line in the example code:
String ackClassName = SourceGenerator.getVersionPackageName(version) + "message.ACK";
This uses ca.uhn.hl7v2.sourcegen.SourceGenerator, but HAPI 0.6 doesn't have a v2 SourceGenerator class, only a v3 one which lacks this method. Is there a workaround for this?