Class ValidationSupportWithCache

java.lang.Object
dev.dsf.fhir.service.ValidationSupportWithCache
All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport, EventHandler

public class ValidationSupportWithCache extends Object implements ca.uhn.fhir.context.support.IValidationSupport, EventHandler
  • 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 interface ca.uhn.fhir.context.support.IValidationSupport

    URL_PREFIX_VALUE_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValidationSupportWithCache(ca.uhn.fhir.context.FhirContext context, ca.uhn.fhir.context.support.IValidationSupport delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome
    expandValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, 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>
     
    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
     
    org.hl7.fhir.instance.model.api.IBaseResource
    generateSnapshot(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, org.hl7.fhir.instance.model.api.IBaseResource theInput, String theUrl, String theWebUrl, String theProfileName)
     
    ca.uhn.fhir.context.FhirContext
     
    void
     
    void
     
    boolean
    isCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
     
    boolean
    isValueSetSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
     
    ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
    lookupCode(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String theSystem, String theCode)
     
    populateCache(List<org.hl7.fhir.instance.model.api.IBaseResource> cacheValues)
     
    ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult
    validateCode(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, 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 theRootValidationSupport, ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, org.hl7.fhir.instance.model.api.IBaseResource theValueSet)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface dev.dsf.fhir.event.EventHandler

    handleEvents
  • Constructor Details

    • ValidationSupportWithCache

      public ValidationSupportWithCache(ca.uhn.fhir.context.FhirContext context, ca.uhn.fhir.context.support.IValidationSupport delegate)
  • Method Details

    • populateCache

      public ValidationSupportWithCache populateCache(List<org.hl7.fhir.instance.model.api.IBaseResource> cacheValues)
    • getFhirContext

      public ca.uhn.fhir.context.FhirContext getFhirContext()
      Specified by:
      getFhirContext in interface ca.uhn.fhir.context.support.IValidationSupport
    • handleEvent

      public void handleEvent(Event event)
      Specified by:
      handleEvent in interface EventHandler
    • fetchAllConformanceResources

      public List<org.hl7.fhir.instance.model.api.IBaseResource> fetchAllConformanceResources()
      Specified by:
      fetchAllConformanceResources in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchAllStructureDefinitions

      public <T extends org.hl7.fhir.instance.model.api.IBaseResource> List<T> fetchAllStructureDefinitions()
      Specified by:
      fetchAllStructureDefinitions in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchStructureDefinition

      public org.hl7.fhir.instance.model.api.IBaseResource fetchStructureDefinition(String url)
      Specified by:
      fetchStructureDefinition in interface ca.uhn.fhir.context.support.IValidationSupport
    • isCodeSystemSupported

      public boolean isCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
      Specified by:
      isCodeSystemSupported in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchCodeSystem

      public org.hl7.fhir.instance.model.api.IBaseResource fetchCodeSystem(String url)
      Specified by:
      fetchCodeSystem in interface ca.uhn.fhir.context.support.IValidationSupport
    • isValueSetSupported

      public boolean isValueSetSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
      Specified by:
      isValueSetSupported in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchValueSet

      public org.hl7.fhir.instance.model.api.IBaseResource fetchValueSet(String url)
      Specified by:
      fetchValueSet in interface ca.uhn.fhir.context.support.IValidationSupport
    • expandValueSet

      public ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome expandValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand)
      Specified by:
      expandValueSet in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchResource

      public <T extends org.hl7.fhir.instance.model.api.IBaseResource> T fetchResource(Class<T> theClass, String theUri)
      Specified by:
      fetchResource in interface ca.uhn.fhir.context.support.IValidationSupport
    • validateCode

      public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, String theValueSetUrl)
      Specified by:
      validateCode in interface ca.uhn.fhir.context.support.IValidationSupport
    • validateCodeInValueSet

      public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCodeInValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, org.hl7.fhir.instance.model.api.IBaseResource theValueSet)
      Specified by:
      validateCodeInValueSet in interface ca.uhn.fhir.context.support.IValidationSupport
    • lookupCode

      public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String theSystem, String theCode)
      Specified by:
      lookupCode in interface ca.uhn.fhir.context.support.IValidationSupport
    • generateSnapshot

      public org.hl7.fhir.instance.model.api.IBaseResource generateSnapshot(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, org.hl7.fhir.instance.model.api.IBaseResource theInput, String theUrl, String theWebUrl, String theProfileName)
      Specified by:
      generateSnapshot in interface ca.uhn.fhir.context.support.IValidationSupport
    • invalidateCaches

      public void invalidateCaches()
      Specified by:
      invalidateCaches in interface ca.uhn.fhir.context.support.IValidationSupport