Re: [HAPI-devel] DefaultValidation is US-centric

2014-05-07 Thread Christian Ohr
HL7 cannot deny its U.S roots... Fortunately, there's DefaultValidationWithoutTN in the same package that omits the validation rules for U.S. phone number schemes. You can also inherit from DefaultValidationWithoutTNBuilder and add your own/UK-specific rules. See e.g. http://hl7api.sourceforge.net

[HAPI-devel] DefaultValidation is US-centric

2014-05-07 Thread Oliver Wilkie
The DefaultValidation ca.uhn.hl7v2.validation.impl.DefaultValidation seems to be US-centric. For instance, it complains about non-US telephone numbers. I’m writing code for the NHS in the UK. Is there an existing Validator out there that is more UK/NHS-friendly? I very much doubt I am the fir