Class 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
    Modifier and Type
    Class
    Description
    static class 
     

    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.GroupConceptProperty, 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

    Fields
    Modifier and Type
    Field
    Description
    static final ca.uhn.fhir.context.support.ValueSetExpansionOptions
     

    Fields inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport

    myCtx

    Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport

    TYPE_CODING, TYPE_GROUP, TYPE_STRING, URL_PREFIX_VALUE_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap)
    Constructor with default timeouts
    CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, boolean theIsEnabledValidationForCodingsLogicalAnd)
     
    CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, CachingValidationSupport.CacheTimeouts theCacheTimeouts)
     
    CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, CachingValidationSupport.CacheTimeouts theCacheTimeouts, boolean theIsEnabledValidationForCodingsLogicalAnd)
    Constructor with configurable timeouts
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome
    expandValueSet(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>
     
    <T extends org.hl7.fhir.instance.model.api.IBaseResource>
    List<T>
     
    byte[]
    fetchBinary(String theBinaryKey)
     
    org.hl7.fhir.instance.model.api.IBaseResource
     
    <T extends org.hl7.fhir.instance.model.api.IBaseResource>
    T
    fetchResource(Class<T> theClass, String theUri)
     
    org.hl7.fhir.instance.model.api.IBaseResource
     
    org.hl7.fhir.instance.model.api.IBaseResource
     
    void
     
    boolean
    isCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem)
     
    boolean
     
    ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
    lookupCode(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.LookupCodeRequest theLookupCodeRequest)
     
    ca.uhn.fhir.context.support.TranslateConceptResults
    translateConcept(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest)
     
    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)
     
    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, org.hl7.fhir.instance.model.api.IBaseResource theValueSet)
     

    Methods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupportWrapper

    generateSnapshot, isValueSetSupported

    Methods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport

    getFhirContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ca.uhn.fhir.context.support.IValidationSupport

    expandValueSet, generateSnapshot, getFhirContext, getName, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode
  • Field Details

    • EMPTY_EXPANSION_OPTIONS

      public static final ca.uhn.fhir.context.support.ValueSetExpansionOptions EMPTY_EXPANSION_OPTIONS
  • Constructor Details

    • CachingValidationSupport

      public CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap)
      Constructor with default timeouts
      Parameters:
      theWrap - The validation support module to wrap
    • CachingValidationSupport

      public CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, boolean theIsEnabledValidationForCodingsLogicalAnd)
    • CachingValidationSupport

      public CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, CachingValidationSupport.CacheTimeouts theCacheTimeouts)
    • CachingValidationSupport

      public CachingValidationSupport(ca.uhn.fhir.context.support.IValidationSupport theWrap, CachingValidationSupport.CacheTimeouts theCacheTimeouts, boolean theIsEnabledValidationForCodingsLogicalAnd)
      Constructor with configurable timeouts
      Parameters:
      theWrap - The validation support module to wrap
      theCacheTimeouts - The timeouts to use
  • Method Details