Hi all, 

I am newbie. I have a wierd issue. I am using HAPI 0.5.1 version. 

I have a hl7 message template where in VALUE_TO_REPLACE field is changed
each time but rest of the fields are constant (Please see the hl7 message
example below). 

VALUE_TO_REPLACE is replaced by the same length of chars each time
programatically and validated using ca.uhn.hl7v2.parser.PipeParser.parse
method. 

Issue - The validation of only a particular hl7 message is always failing at
ca.uhn.hl7v2.parser.PipeParser.parse method. I am not sure as which fields
of the hl7 message is causing the validation error. 

Your input/pointers is highly appreciated. Thanks in advance for your
valuable time and interest. 

The hl7 msg: 

MSH^~|\&^XXX^XXX^XY^XYZ^20000220122222.582-0200~D^^QBP~Z99~QRY_Q01^1111188888888^T^2.4
 
QPD^ZZ^^ZZ^VALUE_TO_REPLACE^20000101^20100101^ 
RCP^I^100~RD^B 

The exception: 

ca.uhn.hl7v2.model.DataTypeException: Failed validation rule: Matches the
regular expression (\+|\-)?\d*\.?\d*

-- 
View this message in context: 
http://www.nabble.com/wierd-regex-validation-error-tp25066122p25066122.html
Sent from the hl7api-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to