Class ValidationSettings

java.lang.Object
ca.uhn.fhir.jpa.validation.ValidationSettings

public class ValidationSettings extends Object
  • Constructor Details

  • Method Details

    • getLocalReferenceValidationDefaultPolicy

      @Nonnull public org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy getLocalReferenceValidationDefaultPolicy()
      Supplies a default policy for validating local references. Default is IResourceValidator.ReferenceValidationPolicy.IGNORE.

      Note that this setting can have a measurable impact on validation performance, as it will cause reference targets to be resolved during validation. In other words, if a resource has a reference to (for example) "Patient/123", the resource with that ID will be loaded from the database during validation.

      Since:
      5.1.0
    • setLocalReferenceValidationDefaultPolicy

      public void setLocalReferenceValidationDefaultPolicy(@Nonnull org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy theLocalReferenceValidationDefaultPolicy)
      Supplies a default policy for validating local references. Default is IResourceValidator.ReferenceValidationPolicy.IGNORE.

      Note that this setting can have a measurable impact on validation performance, as it will cause reference targets to be resolved during validation. In other words, if a resource has a reference to (for example) "Patient/123", the resource with that ID will be loaded from the database during validation.

      Since:
      5.1.0