public class ConformanceProfileRule extends Object implements MessageRule
ConformanceProfileRules.| Constructor and Description |
|---|
ConformanceProfileRule()
Creates an instance that tests messages against whatever profiles they declare in
MSH-21.
|
ConformanceProfileRule(String theProfileID) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a text description of the rule.
|
String |
getSectionReference()
A string indicating the section of the HL7 standard from which this rule
is derived (if applicable).
|
ValidationException[] |
test(Message msg)
Tests the given (fully populated) message against the criteria
defined by this rule class.
|
public ConformanceProfileRule()
public ConformanceProfileRule(String theProfileID)
theProfileID - the ID of a constant profile against which to test all messages
(instead of the profiles they declare in MSH-21)public ValidationException[] test(Message msg)
MessageRuletest in interface MessageRuleMessageRule.test(ca.uhn.hl7v2.model.Message)public String getDescription()
RulegetDescription in interface RuleRule.getDescription()public String getSectionReference()
RulegetSectionReference in interface RuleRule.getSectionReference()Copyright © 2001-2012 University Health Network. All Rights Reserved.