public interface Rule<T> extends Serializable
A testable rule to which HL7 messages (at least certain specific message) should conform.
There are three kinds of rules:
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
apply(T value)
Applies to rule to an object to be checked
|
String |
getDescription()
Returns a text description of the rule.
|
String |
getSectionReference()
Returns a string indicating the section of the HL7 standard from which this rule
is derived (if applicable).
|
String getDescription()
String getSectionReference()
ValidationException[] apply(T value)
value
- object to be checkedCopyright © 2001–2017 University Health Network. All rights reserved.