ca.uhn.hl7v2.conf.check
Interface Validator
- All Known Implementing Classes:
- DefaultValidator
public interface Validator
Validates messages against message profiles.
- Author:
- Bryan Tripp
validate
HL7Exception[] validate(Message message,
StaticDef profile)
throws ProfileException,
HL7Exception
- Validates the given message against the given static definition from
a conformance profile. Conformance profiles are XML representations of
domain-specific constraints on a message (see HL7 2.5 section 2.12).
- Returns:
- a list of exceptions representing points of non-conformance (may not be a complete list)
- Throws:
ProfileException
- if a problem is encountered that interferes with evaluation
HL7Exception
Copyright © 2001-2011 University Health Network. All Rights Reserved.