Interface ValidatorFhir
- All Known Implementing Classes:
DummyValidator,MultiProfileValidator,NonProfiledValidator,ProfiledValidator,ReferenzValidator
public interface ValidatorFhir
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.context.FhirContextGet theFhirContextused by this validatordefault booleanPerform a validation on the given content and extract the overall result from theValidationResultca.uhn.fhir.validation.ValidationResultPerform a validation on the given string content
-
Method Details
-
getContext
ca.uhn.fhir.context.FhirContext getContext()Get theFhirContextused by this validator- Returns:
- the
FhirContextused for validation
-
validate
Perform a validation on the given string content- Parameters:
content- to be validated- Returns:
- the
ValidationResult
-
isValid
Perform a validation on the given content and extract the overall result from theValidationResult- Parameters:
content- to be validated- Returns:
- true if the
ValidationResultwas successful or false otherwise
-