Re: [HAPI-devel] HL7 message validation : location of the error in the message

2011-04-05 Thread VIOT Yves
Hi Raphaëlle, Maybe i'm wrong, but i'd say: the first (rep 0) Regards Yves Le 05/04/2011 17:46, [email protected] a écrit : Hi all, When the validation of an HL7 message (with Hapi DefaultValidation) fails, how can I know where (in what segment of the message) is the error? Her

[HAPI-devel] HL7 message validation : location of the error in the message

2011-04-05 Thread rmeyer.ext
Hi all, When the validation of an HL7 message (with Hapi DefaultValidation) fails, how can I know where (in what segment of the message) is the error? Here is an example of the exception that is thrown by Hapi: "ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value "R": Matches

[HAPI-devel] V2:XML Message generation

2011-04-05 Thread Sam Wilder
Hello, I am fairly new to HAPI and getting introduced to it. I would like to know if it is possible to work via HAPI with the V2: XML message, that is generate and parse those. is there a sample on how to do a parsing of say a pipes and hat message and output a XML version of the same message. Th