Re: [HAPI-devel] Custom Messages

2015-12-18 Thread Davies, Brian
y(hl7VersionPackageNamesMap)); hapiContext.setValidationRuleBuilder(new NoValidationBuilder()); return hapiContext; } public static void main(String[] args) { try { new TestMessageCreation().testParseCustomRDS_R06Message ();

Re: [HAPI-devel] Custom Messages

2015-12-17 Thread Davies, Brian
your help. Brian Davies. From: Ian Vowles [mailto:[email protected]] Sent: Thursday, December 17, 2015 3:49 PM To: [email protected] Subject: Re: [HAPI-devel] Custom Messages If you arrange your custom classes in a package structure for the custom message (let'

Re: [HAPI-devel] Custom Messages

2015-12-17 Thread Ian Vowles
s posts you look to have been using vs 2.5, so you may not have to go to these lengths. Many thanks to Mike and Damian from our team who deep-dived the HAPI source to work out exactly how this functions. Hope this helps Ian From: Davies, Brian [mailto:[email protected]] Sent: Friday, 1

[HAPI-devel] Custom Messages

2015-12-17 Thread Davies, Brian
Hi All, I am aware that in order for custom messages to be loaded by a CustomModelFactory they need to be registered in the eventmap. However, I am only able to find the eventmap in ca.uhn.hl7v2.parser.eventmap with the associated 2.5.properties for version 2.5 say. Does it mean that I would ha