Class ErrorMessageFilter

java.lang.Object
de.gematik.bbriccs.fhir.validation.support.ErrorMessageFilter
All Implemented Interfaces:
ca.uhn.fhir.validation.IValidatorModule

public class ErrorMessageFilter extends Object implements ca.uhn.fhir.validation.IValidatorModule
This module filters error messages which we know of and which are required to be ignored due to e.g., inconsistencies within the profiles.

Note: It might be necessary to review the list of DEFAULT_IGNORED_MESSAGES regularly and check if we can achieve an empty list someday in the future.

  • Constructor Details

    • ErrorMessageFilter

      public ErrorMessageFilter(@Nullable List<String> ignoreMessages)
  • Method Details

    • validateResource

      public void validateResource(ca.uhn.fhir.validation.IValidationContext<org.hl7.fhir.instance.model.api.IBaseResource> iValidationContext)
      Specified by:
      validateResource in interface ca.uhn.fhir.validation.IValidatorModule