Hi all,
​​
I am trying parse a HL7 REF I12 message with local customization(NZ). When
I tried using the GenericParser, I keep getting Validation exceptions.

For example for the segment below, I keep get the output
ca.uhn.hl7v2.validation.ValidationException:
Validation failed: Primitive value '(08)569-7555' requires to be empty or a
US phone number

PRD|PP|See T Tan^""^""^^""|""^^^^""^New Zealand||(08)569-7555||14134^NZMC

My question is:

   - Is there a way to avoid the validation by using the conformance class
   generator
   - Is it possible to create own validation classes using
   CustomModelClasses?


In either case, is there any example code for that or tutorial example
documentation?

-- 
Regards,
Chandan
Doctoral student,Robotics Research Group
University of Auckland, New Zealand
​
------------------------------------------------------------------------------
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to