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 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.ValueSetExpansionOutcome
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
myCtx
-
-
Constructor Summary
Constructors Constructor Description CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.hl7.fhir.instance.model.api.IBaseResource>fetchAllConformanceResources()<T extends org.hl7.fhir.instance.model.api.IBaseResource>
List<T>fetchAllStructureDefinitions()<T extends org.hl7.fhir.instance.model.api.IBaseResource>
TfetchResource(Class<T> theClass, String theUri)voidinvalidateCaches()booleanisCodeSystemSupported(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)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
expandValueSet, fetchCodeSystem, fetchStructureDefinition, fetchValueSet, generateSnapshot, isValueSetSupported
-
Methods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
getFhirContext
-
-
-
-
Constructor Detail
-
CachingValidationSupport
public CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap)
-
-
Method Detail
-
fetchAllConformanceResources
public List<org.hl7.fhir.instance.model.api.IBaseResource> 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
-
fetchResource
public <T extends org.hl7.fhir.instance.model.api.IBaseResource> T fetchResource(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
-
validateCode
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, 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)
- 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
-
invalidateCaches
public void invalidateCaches()
- Specified by:
invalidateCachesin interfaceca.uhn.fhir.context.support.IValidationSupport
-
-