Class TerserMessageRule
java.lang.Object
ca.uhn.hl7v2.validation.impl.RuleSupport<Message>
ca.uhn.hl7v2.validation.impl.AbstractMessageRule
ca.uhn.hl7v2.validation.builder.PredicateMessageRule
ca.uhn.hl7v2.validation.builder.support.TerserMessageRule
- All Implemented Interfaces:
PredicateRuleSupport<Message>,MessageRule,Rule<Message>,Serializable
Validation rule for checking values extracted by a
Terser.- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTerserMessageRule(String terserExpression, Predicate predicate) Creates a new instance of a terser message rule -
Method Summary
Methods inherited from class ca.uhn.hl7v2.validation.builder.PredicateMessageRule
apply, getPredicateMethods inherited from class ca.uhn.hl7v2.validation.impl.AbstractMessageRule
testMethods inherited from class ca.uhn.hl7v2.validation.impl.RuleSupport
failed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.validation.Rule
getDescription, getSectionReference
-
Constructor Details
-
TerserMessageRule
Creates a new instance of a terser message rule- Parameters:
terserExpression- terser string like "PID-3-1"predicate- predicate used for the test
-