Re: [HAPI-devel] HL7 validation with "Phone Number Home" failed

2010-07-26 Thread James Agnew
Hi Raphaƫlle, Basically, XTN-1 is withdrawn in HL7 2.6, and is not supposed to be used, so HAPI by default enforces a maximum length of 0 on it. The error message you get is a bit misleading I would admit, so in the next release I think we should do something to address that. The easiest way to

[HAPI-devel] HL7 validation with "Phone Number Home" failed

2010-07-26 Thread rmeyer.ext
Hi all, I'm trying to validate a HL7 message with Hapi, but I always get this error : ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value "999-": Maxumim size <= 0 characters: Segment: PID (rep 0) Field #13 My message contains a phone number in the field PID-13 (Phone Nu