Class ValidationMessageSuppressingInterceptor

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.validation.ValidationMessageSuppressingInterceptor

  • Constructor Details

  • Method Details

    • addMessageSuppressionPatterns

      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

      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)