Hi there,
I have recently started using HAPI and am impressed by the amount of function
in the toolkit. I have been struggling for about a week with the correct way
to override the validation and am hoping that someone on this list can help me.
I have a segment that fails validation for an XTN type (as I am out of the US),
I would like to keep validation on but change the validation for this segment.
I realize that I can turn off validation for the message but am curious as to
the best way to approach this problem.
I have tried the HAPI by example method of extending the
DefaultValidationBuilder and overriding the configure method, however the first
call to super overrides the rule that I have provided to the method. I have
also seen an example of extending the ValidationContextImpl
(http://osdir.com/ml/medical.hl7/2008-07/msg00003.html), but this appears to be
an older approach to the problem.
I would appreciate any help that can be provided to point me in the right
direction.
Andrew
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel