Class CachingValidationSupport
java.lang.Object
org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
org.hl7.fhir.common.hapi.validation.support.BaseValidationSupportWrapper
org.hl7.fhir.common.hapi.validation.support.CachingValidationSupport
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport
public class CachingValidationSupport
extends BaseValidationSupportWrapper
implements ca.uhn.fhir.context.support.IValidationSupport
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ca.uhn.fhir.context.support.IValidationSupport
ca.uhn.fhir.context.support.IValidationSupport.BaseConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult, ca.uhn.fhir.context.support.IValidationSupport.CodingConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.ConceptDesignation, ca.uhn.fhir.context.support.IValidationSupport.IssueSeverity, ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult, ca.uhn.fhir.context.support.IValidationSupport.StringConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest, ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.context.support.ValueSetExpansionOptionsFields inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
myCtxFields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET -
Constructor Summary
ConstructorsConstructorDescriptionCachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap) Constuctor with default timeoutsCachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, CachingValidationSupport.CacheTimeouts theCacheTimeouts) Constructor with configurable timeouts -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcomeexpandValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand) List<org.hl7.fhir.instance.model.api.IBaseResource><T extends org.hl7.fhir.instance.model.api.IBaseResource>
List<T><T extends org.hl7.fhir.instance.model.api.IBaseResource>
List<T>org.hl7.fhir.instance.model.api.IBaseResourcefetchCodeSystem(String theSystem) <T extends org.hl7.fhir.instance.model.api.IBaseResource>
TfetchResource(Class<T> theClass, String theUri) org.hl7.fhir.instance.model.api.IBaseResourcefetchStructureDefinition(String theUrl) org.hl7.fhir.instance.model.api.IBaseResourcefetchValueSet(String theUri) voidbooleanisCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem) ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResultlookupCode(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem, String theCode, String theDisplayLanguage) ca.uhn.fhir.context.support.TranslateConceptResultstranslateConcept(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest) ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResultvalidateCode(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, String theValueSetUrl) ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResultvalidateCodeInValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ConceptValidationOptions theValidationOptions, String theCodeSystem, String theCode, String theDisplay, org.hl7.fhir.instance.model.api.IBaseResource theValueSet) Methods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupportWrapper
generateSnapshot, isValueSetSupportedMethods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
getFhirContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.context.support.IValidationSupport
expandValueSet, generateSnapshot, getFhirContext, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode
-
Field Details
-
EMPTY_EXPANSION_OPTIONS
-
-
Constructor Details
-
CachingValidationSupport
Constuctor with default timeouts- Parameters:
theWrap- The validation support module to wrap
-
CachingValidationSupport
public CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, CachingValidationSupport.CacheTimeouts theCacheTimeouts) Constructor with configurable timeouts- Parameters:
theWrap- The validation support module to wraptheCacheTimeouts- The timeouts to use
-
-
Method Details
-
fetchAllConformanceResources
- Specified by:
fetchAllConformanceResourcesin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchAllConformanceResourcesin classBaseValidationSupportWrapper
-
fetchAllStructureDefinitions
public <T extends org.hl7.fhir.instance.model.api.IBaseResource> List<T> fetchAllStructureDefinitions()- Specified by:
fetchAllStructureDefinitionsin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchAllStructureDefinitionsin classBaseValidationSupportWrapper
-
fetchAllNonBaseStructureDefinitions
public <T extends org.hl7.fhir.instance.model.api.IBaseResource> List<T> fetchAllNonBaseStructureDefinitions()- Specified by:
fetchAllNonBaseStructureDefinitionsin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchAllNonBaseStructureDefinitionsin classBaseValidationSupportWrapper
-
fetchCodeSystem
- Specified by:
fetchCodeSystemin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchCodeSystemin classBaseValidationSupportWrapper
-
fetchValueSet
- Specified by:
fetchValueSetin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchValueSetin classBaseValidationSupportWrapper
-
fetchStructureDefinition
- Specified by:
fetchStructureDefinitionin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchStructureDefinitionin classBaseValidationSupportWrapper
-
fetchResource
public <T extends org.hl7.fhir.instance.model.api.IBaseResource> T fetchResource(@Nullable Class<T> theClass, String theUri) - Specified by:
fetchResourcein interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
fetchResourcein classBaseValidationSupportWrapper
-
isCodeSystemSupported
public boolean isCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem) - Specified by:
isCodeSystemSupportedin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
isCodeSystemSupportedin classBaseValidationSupportWrapper
-
expandValueSet
public ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome expandValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, @Nonnull org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand) - Specified by:
expandValueSetin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
expandValueSetin classBaseValidationSupportWrapper
-
validateCode
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode(@Nonnull ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, @Nonnull ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, String theValueSetUrl) - Specified by:
validateCodein interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
validateCodein classBaseValidationSupportWrapper
-
lookupCode
public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem, String theCode, String theDisplayLanguage) - Specified by:
lookupCodein interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
lookupCodein classBaseValidationSupportWrapper
-
validateCodeInValueSet
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCodeInValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ConceptValidationOptions theValidationOptions, String theCodeSystem, String theCode, String theDisplay, @Nonnull org.hl7.fhir.instance.model.api.IBaseResource theValueSet) - Specified by:
validateCodeInValueSetin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
validateCodeInValueSetin classBaseValidationSupportWrapper
-
translateConcept
public ca.uhn.fhir.context.support.TranslateConceptResults translateConcept(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest) - Specified by:
translateConceptin interfaceca.uhn.fhir.context.support.IValidationSupport- Overrides:
translateConceptin classBaseValidationSupportWrapper
-
invalidateCaches
- Specified by:
invalidateCachesin interfaceca.uhn.fhir.context.support.IValidationSupport
-