Re: [HAPI-devel] does hapi check that a segment i spresent in a message in mandatory

2008-12-01 Thread Bryan Tripp
HAPI doesn't test for valid structure by default. The thorough way to do it is to use conformance profiles (see http://www.hl7.org/Special/committees/ictc/index.cfm), and a ca.uhn.hl7v2.validation.impl.ConformanceProfileRule. If that's too much trouble, you can write a simpler ca.uhn.hl7v2.validati

[HAPI-devel] does hapi check that a segment i spresent in a message in mandatory

2008-11-28 Thread Fabio Daprile
Hello, i received this message from a remote system: MSH|^~\&|G2|Insiel|RIS|Syncromed|20070702090200+||ADT^A08^ADT_A01|G207003114850300|P|2.5||8859/1 PID|||9056752||RUBINI^RENATO||1943102000+|M|||VIA DELLE BORRE 26^^036017^^41052~VIA DELLE BORRE 26^^036017^^41052^^M|