Package | Description |
---|---|
ca.uhn.hl7v2.validation.builder |
Modifier and Type | Method and Description |
---|---|
MessageRuleBuilder |
RuleTypeBuilder.MessageExpressionBuilder.all()
Applies
MessageRule s for all event types and trigger events |
MessageRuleBuilder |
RuleTypeBuilder.MessageExpressionBuilder.allOfEventType(String eventType)
Applies
MessageRule s for all trigger events of a given event type |
MessageRuleBuilder |
MessageRuleBuilder.choiceElementsRespected()
Builds a
MessageRule that enforces choice elements. |
MessageRuleBuilder |
MessageRuleBuilder.conformance()
Builds a
MessageRule that evaluates the message against the Conformance Profile
referred to in MSH-21. |
MessageRuleBuilder |
MessageRuleBuilder.conformance(String profileId)
Builds a
MessageRule that evaluates the message against the Conformance Profile
referred to by the profileId parameter |
MessageRuleBuilder |
MessageRuleBuilder.inspect(MessageVisitorFactory<? extends ValidatingMessageVisitor> visitorFactory)
Builds a
MessageRule that runs a
ValidatingMessageVisitor
over the message that collects ValidationExceptions
in a single pass. |
MessageRuleBuilder |
RuleTypeBuilder.message(String eventType,
String... triggerEvents)
Builds
MessageRule s for the specified event types and triggers |
MessageRuleBuilder |
MessageRuleBuilder.onlyAllowableSegmentsInSuperStructure()
Builds a
MessageRule that disallows the existence of segments which
are not alowed in a given message type when the message is an instance
of SuperStructure (e.g. |
MessageRuleBuilder |
MessageRuleBuilder.onlyKnownSegments()
Builds a
MessageRule that disallows the existence of GenericSegment s, i.e. |
MessageRuleBuilder |
RuleTypeBuilder.MessageExpressionBuilder.rejectOtherThan(String... triggerEvents)
Applies a
MessageRule for all event types and trigger events, checking
whether the message is of the specified event type and trigger event(s) |
MessageRuleBuilder |
MessageRuleBuilder.terser(String spec,
Predicate predicate)
Builds a
MessageRule that extracts a primitive value using a Terser
expression and evaluates the specified Predicate . |
MessageRuleBuilder |
MessageRuleBuilder.wrongVersion()
Builds a
MessageRule that disallows the selected HL7 version(s). |
Copyright © 2001–2017 University Health Network. All rights reserved.