Interface ValidatorFhir

All Known Implementing Classes:
DummyValidator, MultiProfileValidator, NonProfiledValidator, ProfiledValidator, ReferenzValidator

public interface ValidatorFhir
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uhn.fhir.context.FhirContext
    Get the FhirContext used by this validator
    default boolean
    isValid(String content)
    Perform a validation on the given content and extract the overall result from the ValidationResult
    ca.uhn.fhir.validation.ValidationResult
    validate(String content)
    Perform a validation on the given string content
  • Method Details

    • getContext

      ca.uhn.fhir.context.FhirContext getContext()
      Get the FhirContext used by this validator
      Returns:
      the FhirContext used for validation
    • validate

      ca.uhn.fhir.validation.ValidationResult validate(String content)
      Perform a validation on the given string content
      Parameters:
      content - to be validated
      Returns:
      the ValidationResult
    • isValid

      default boolean isValid(String content)
      Perform a validation on the given content and extract the overall result from the ValidationResult
      Parameters:
      content - to be validated
      Returns:
      true if the ValidationResult was successful or false otherwise