Raphaelle,

 

Hapi looks at the OBX-2 and tries to fit the OBX-5 data into the datatype
chosen by OBX-2.

I believe you have NM in the OBX-2.


I don’t think the HL7 spec / Hapi support Scientific numerals.

 

R,

rahul

 

From: [email protected] [mailto:[email protected]] 
Sent: Tuesday, October 12, 2010 8:40 AM
To: [email protected]
Subject: [HAPI-devel] Hapi validation : OBX-5 pattern

 

Hi all !

 

I'm trying to use Hapi default validation to validate an ORU message
containing value "0E+0" in a OBX-5 field, and I got the error : "Failed
validation rule for value "0E+0": Matches the regular expression
(\+|\-)?\d*\.?". However, the OBX-5 field is supposed to contain the data
type 'varies'. 

Have I misunderstood something about OBX-5 data type ? Where does the
regular expression come from ?

 

Regards,

 

Raphaëlle

 

 

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to