Class ValidationMessageSuppressingInterceptor

    • Method Detail

      • addMessageSuppressionPatterns

        public ValidationMessageSuppressingInterceptor addMessageSuppressionPatterns​(String... thePatterns)
        Supplies one or more patterns to suppress. Any validation messages (of any severity) will be suppressed if they match this pattern. Patterns are in Java Regular Expression format (as defined by the Pattern class) and are treated as partial maches. They are also case insensitive.

        For example, a pattern of loinc.*1234 would suppress the following message:
        The LOINC code 1234 is not valid

      • addMessageSuppressionPatterns

        public ValidationMessageSuppressingInterceptor addMessageSuppressionPatterns​(List<String> thePatterns)
        Supplies one or more patterns to suppress. Any validation messages (of any severity) will be suppressed if they match this pattern. Patterns are in Java Regular Expression format (as defined by the Pattern class) and are treated as partial maches. They are also case insensitive.

        For example, a pattern of loinc.*1234 would suppress the following message:
        The LOINC code 1234 is not valid

      • handle

        public ca.uhn.fhir.validation.ValidationResult handle​(ca.uhn.fhir.validation.ValidationResult theResult)