Uses of Interface
org.hl7.fhir.r5.utils.validation.IResourceValidator
-
Packages that use IResourceValidator Package Description org.hl7.fhir.r5.context org.hl7.fhir.r5.utils.validation -
-
Uses of IResourceValidator in org.hl7.fhir.r5.context
Methods in org.hl7.fhir.r5.context that return IResourceValidator Modifier and Type Method Description IResourceValidatorSimpleWorkerContext.IValidatorFactory. makeValidator(IWorkerContext ctxt)IResourceValidatorSimpleWorkerContext.IValidatorFactory. makeValidator(IWorkerContext ctxts, XVerExtensionManager xverManager)IResourceValidatorIWorkerContext. newValidator()Get a validator that can check whether a resource is validIResourceValidatorSimpleWorkerContext. newValidator() -
Uses of IResourceValidator in org.hl7.fhir.r5.utils.validation
Methods in org.hl7.fhir.r5.utils.validation that return IResourceValidator Modifier and Type Method Description IResourceValidatorIResourceValidator. setBestPracticeWarningLevel(BestPracticeWarningLevel value)IResourceValidatorIResourceValidator. setFetcher(IValidatorResourceFetcher value)IResourceValidatorIResourceValidator. setNoBindingMsgSuppressed(boolean noBindingMsgSuppressed)IResourceValidatorIResourceValidator. setNoExtensibleWarnings(boolean noExtensibleWarnings)IResourceValidatorIResourceValidator. setNoInvariantChecks(boolean value)IResourceValidatorIResourceValidator. setNoTerminologyChecks(boolean noTerminologyChecks)IResourceValidatorIResourceValidator. setPolicyAdvisor(IValidationPolicyAdvisor advisor)IResourceValidatorIResourceValidator. setTracker(IValidationProfileUsageTracker value)IResourceValidatorIResourceValidator. setWantInvariantInMessage(boolean wantInvariantInMessage)Methods in org.hl7.fhir.r5.utils.validation with parameters of type IResourceValidator Modifier and Type Method Description ElementIValidatorResourceFetcher. fetch(IResourceValidator validator, Object appContext, String url)CanonicalResourceIValidatorResourceFetcher. 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)CodedContentValidationPolicyIValidationPolicyAdvisor. 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).ContainedReferenceValidationPolicyIValidationPolicyAdvisor. 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, idReferenceValidationPolicyIValidationPolicyAdvisor. policyForReference(IResourceValidator validator, Object appContext, String path, String url)booleanIValidatorResourceFetcher. resolveURL(IResourceValidator validator, Object appContext, String path, String url, String type)
-