public class FhirInstanceValidator extends Object implements IValidatorModule
| Constructor and Description |
|---|
FhirInstanceValidator()
Constructor
Uses
DefaultProfileValidationSupport for validation support |
FhirInstanceValidator(IValidationSupport theValidationSupport)
Constructor which uses the given validation support
|
| Modifier and Type | Method and Description |
|---|---|
IResourceValidator.BestPracticeWarningLevel |
getBestPracticeWarningLevel()
Returns the "best practice" warning level (default is
IResourceValidator.BestPracticeWarningLevel.Hint). |
IValidationSupport |
getValidationSupport()
Returns the
validation support in use by this
validator. |
void |
setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel theBestPracticeWarningLevel)
Sets the "best practice warning level".
|
void |
setValidationSupport(IValidationSupport theValidationSupport)
Sets the
validation support in use by this
validator. |
void |
validateBundle(IValidationContext<Bundle> theCtx) |
void |
validateResource(IValidationContext<IBaseResource> theCtx) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateBundle, validateResourcepublic FhirInstanceValidator()
DefaultProfileValidationSupport for validation supportpublic FhirInstanceValidator(IValidationSupport theValidationSupport)
theValidationSupport - The validation supportpublic IResourceValidator.BestPracticeWarningLevel getBestPracticeWarningLevel()
IResourceValidator.BestPracticeWarningLevel.Hint).
The FHIR Instance Validator has a number of checks for best practices in
terms of FHIR usage. If this setting is set to
IResourceValidator.BestPracticeWarningLevel.Error, any resource data which does not
meet these best practices will be reported at the ERROR level. If this
setting is set to IResourceValidator.BestPracticeWarningLevel.Ignore, best practice
guielines will be ignored.
#setBestPracticeWarningLevel(BestPracticeWarningLevel)}public IValidationSupport getValidationSupport()
validation support in use by this
validator. Default is an instance of
DefaultProfileValidationSupport if the no-arguments constructor for
this object was used.public void setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel theBestPracticeWarningLevel)
The FHIR Instance Validator has a number of checks for best practices in
terms of FHIR usage. If this setting is set to
IResourceValidator.BestPracticeWarningLevel.Error, any resource data which does not
meet these best practices will be reported at the ERROR level. If this
setting is set to IResourceValidator.BestPracticeWarningLevel.Ignore, best practice
guielines will be ignored.
theBestPracticeWarningLevel - The level, must not be nullpublic void setValidationSupport(IValidationSupport theValidationSupport)
validation support in use by this
validator. Default is an instance of
DefaultProfileValidationSupport if the no-arguments constructor for
this object was used.public void validateBundle(IValidationContext<Bundle> theCtx)
validateBundle in interface IValidatorModulepublic void validateResource(IValidationContext<IBaseResource> theCtx)
validateResource in interface IValidatorModuleCopyright © 2014–2015 University Health Network. All rights reserved.