Uses of Interface
org.hl7.fhir.r5.utils.validation.IResourceValidator
Package
Description
-
Uses of IResourceValidator in org.hl7.fhir.r5.context
Modifier and TypeMethodDescriptionSimpleWorkerContext.IValidatorFactory.makeValidator
(IWorkerContext ctxt) SimpleWorkerContext.IValidatorFactory.makeValidator
(IWorkerContext ctxts, XVerExtensionManager xverManager) IWorkerContext.newValidator()
Get a validator that can check whether a resource is validSimpleWorkerContext.newValidator()
-
Uses of IResourceValidator in org.hl7.fhir.r5.hapi.ctx
-
Uses of IResourceValidator in org.hl7.fhir.r5.utils.validation
Modifier and TypeMethodDescriptionIResourceValidator.setBestPracticeWarningLevel
(BestPracticeWarningLevel value) IResourceValidator.setExample
(boolean example) IResourceValidator.setFetcher
(IValidatorResourceFetcher value) IResourceValidator.setForPublication
(boolean forPublication) IResourceValidator.setJurisdiction
(Coding jurisdiction) IResourceValidator.setNoBindingMsgSuppressed
(boolean noBindingMsgSuppressed) IResourceValidator.setNoExtensibleWarnings
(boolean noExtensibleWarnings) IResourceValidator.setNoInvariantChecks
(boolean value) IResourceValidator.setNoTerminologyChecks
(boolean noTerminologyChecks) IResourceValidator.setTracker
(IValidationProfileUsageTracker value) IResourceValidator.setWantInvariantInMessage
(boolean wantInvariantInMessage) IResourceValidator.setWarnOnDraftOrExperimental
(boolean warnOnDraftOrExperimental) Modifier and TypeMethodDescriptionIValidatorResourceFetcher.fetch
(IResourceValidator validator, Object appContext, String url) IValidatorResourceFetcher.fetchCanonicalResource
(IResourceValidator validator, Object appContext, String url) this is used when the validator encounters a reference to a structure definition, value set or code system at some random URL reference while validating.IValidatorResourceFetcher.fetchCanonicalResourceVersions
(IResourceValidator validator, Object appContext, String url) boolean
IValidatorResourceFetcher.fetchesCanonicalResource
(IResourceValidator validator, String url) Whether to try calling fetchCanonicalResource for this reference (not whether it will succeed - just throw an exception from fetchCanonicalResource if it doesn't resolve.byte[]
IValidatorResourceFetcher.fetchRaw
(IResourceValidator validator, String url) IValidationPolicyAdvisor.getImpliedProfilesForResource
(IResourceValidator validator, Object appContext, String stackPath, ElementDefinition definition, StructureDefinition structure, Element resource, boolean valid, IMessagingServices msgServices, List<org.hl7.fhir.utilities.validation.ValidationMessage> messages) This is called after a resource has been validated against the base structure, but before it's validated against any profiles specified in .meta.profile or in the parameters.IValidationPolicyAdvisor.policyForCodedContent
(IResourceValidator validator, Object appContext, String stackPath, ElementDefinition definition, StructureDefinition structure, BindingKind kind, IValidationPolicyAdvisor.AdditionalBindingPurpose purpose, ValueSet valueSet, List<String> systems) Called before validating a concept in an instance against the terminology sub-system There's two reasons to use this policy advisor feature: - save time by not calling the terminology server for validation that don't bring value to the context calling the validation - suppressing known issues from being listed as a problem Note that the terminology subsystem has two parts: a mini-terminology server running inside the validator, and then calling out to an external terminology service (usually tx.fhir.org, though you run your own local copy of this - see https://confluence.hl7.org/display/FHIR/Running+your+own+copy+of+tx.fhir.org).IValidationPolicyAdvisor.policyForContained
(IResourceValidator validator, Object appContext, StructureDefinition structure, ElementDefinition element, String containerType, String containerId, Element.SpecialElement containingResourceType, String path, String url) //TODO pass through the actual containing Element as opposed to the type, idIValidationPolicyAdvisor.policyForElement
(IResourceValidator validator, Object appContext, StructureDefinition structure, ElementDefinition element, String path) IValidationPolicyAdvisor.policyForReference
(IResourceValidator validator, Object appContext, String path, String url) IValidationPolicyAdvisor.policyForResource
(IResourceValidator validator, Object appContext, StructureDefinition type, String path) boolean
IValidatorResourceFetcher.resolveURL
(IResourceValidator validator, Object appContext, String path, String url, String type, boolean canonical)