Uses of Interface
org.hl7.fhir.r5.utils.validation.IResourceValidator
Packages that use IResourceValidator
Package
Description
-
Uses of IResourceValidator in org.hl7.fhir.r5.context
Methods in org.hl7.fhir.r5.context that return IResourceValidatorModifier 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
Methods in org.hl7.fhir.r5.hapi.ctx that return IResourceValidator -
Uses of IResourceValidator in org.hl7.fhir.r5.utils.validation
Methods in org.hl7.fhir.r5.utils.validation that return IResourceValidatorModifier and TypeMethodDescriptionIResourceValidator.setBestPracticeWarningLevel(BestPracticeWarningLevel value) IResourceValidator.setFetcher(IValidatorResourceFetcher value) IResourceValidator.setNoBindingMsgSuppressed(boolean noBindingMsgSuppressed) IResourceValidator.setNoExtensibleWarnings(boolean noExtensibleWarnings) IResourceValidator.setNoInvariantChecks(boolean value) IResourceValidator.setNoTerminologyChecks(boolean noTerminologyChecks) IResourceValidator.setPolicyAdvisor(IValidationPolicyAdvisor advisor) IResourceValidator.setTracker(IValidationProfileUsageTracker value) IResourceValidator.setWantInvariantInMessage(boolean wantInvariantInMessage) Methods in org.hl7.fhir.r5.utils.validation with parameters of type IResourceValidatorModifier and TypeMethodDescriptionIValidatorResourceFetcher.fetch(IResourceValidator validator, Object appContext, String url) IValidatorResourceFetcher.fetchCanonicalResource(IResourceValidator validator, 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.booleanIValidatorResourceFetcher.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.policyForCodedContent(IResourceValidator validator, Object appContext, String stackPath, ElementDefinition definition, StructureDefinition structure, BindingKind kind, 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, String containerType, String containerId, Element.SpecialElement containingResourceType, String path, String url) //TODO pass through the actual containing Element as opposed to the type, idIValidationPolicyAdvisor.policyForReference(IResourceValidator validator, Object appContext, String path, String url) booleanIValidatorResourceFetcher.resolveURL(IResourceValidator validator, Object appContext, String path, String url, String type)