Hi,
 
Does someone know if it is possible with Hapi to check the content of HL7 
message fields ? I know that the default validator checks if required fields 
are filled, and that it has some patterns to validate that the fields format is 
correct. But I would like to check soem other things, such as :
- the unicity of OBX-1 in the message (for example the first OBX segment has 
"1" in its OBX-1 field, the second has "2", etc)
- the coherence of  hierarchical identity in OBX-4 ("1.0.0.1", then "1.0.0.2", 
etc)
- checking if a CWE-2 subfield  is part of the coding system defined in CWE-3 
subfield.
 
I guess I'm not the first person trying to do this, so I wonder if something 
already exists for this type of validation.
 
Thanks for your help.
 
Raphaƫlle
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to