Uses of Class
ca.uhn.hl7v2.validation.builder.MessageRuleBuilder
Packages that use MessageRuleBuilder
-
Uses of MessageRuleBuilder in ca.uhn.hl7v2.validation.builder
Methods in ca.uhn.hl7v2.validation.builder that return MessageRuleBuilderModifier and TypeMethodDescriptionRuleTypeBuilder.MessageExpressionBuilder.all()AppliesMessageRules for all event types and trigger eventsRuleTypeBuilder.MessageExpressionBuilder.allOfEventType(String eventType) AppliesMessageRules for all trigger events of a given event typeMessageRuleBuilder.choiceElementsRespected()Builds aMessageRulethat enforces choice elements.MessageRuleBuilder.conformance()Builds aMessageRulethat evaluates the message against the Conformance Profile referred to in MSH-21.MessageRuleBuilder.conformance(String profileId) Builds aMessageRulethat evaluates the message against the Conformance Profile referred to by the profileId parameterMessageRuleBuilder.inspect(MessageVisitorFactory<? extends ValidatingMessageVisitor> visitorFactory) Builds aMessageRulethat runs aValidatingMessageVisitorover the message that collectsValidationExceptionsin a single pass.BuildsMessageRules for the specified event types and triggersMessageRuleBuilder.onlyAllowableSegmentsInSuperStructure()Builds aMessageRulethat disallows the existence of segments which are not alowed in a given message type when the message is an instance ofSuperStructure(e.g.MessageRuleBuilder.onlyKnownSegments()Builds aMessageRulethat disallows the existence ofGenericSegments, i.e.RuleTypeBuilder.MessageExpressionBuilder.rejectOtherThan(String... triggerEvents) Applies aMessageRulefor all event types and trigger events, checking whether the message is of the specified event type and trigger event(s)Builds aMessageRulethat extracts a primitive value using aTerserexpression and evaluates the specifiedPredicate.MessageRuleBuilder.wrongVersion()Builds aMessageRulethat disallows the selected HL7 version(s).