Class JpaPersistedResourceValidationSupport

java.lang.Object
ca.uhn.fhir.jpa.dao.JpaPersistedResourceValidationSupport
All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport

public class JpaPersistedResourceValidationSupport extends Object implements ca.uhn.fhir.context.support.IValidationSupport
This class is a Validation support module that loads validation resources (StructureDefinition, ValueSet, CodeSystem, etc.) from the resources persisted in the JPA server.
  • 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.CodeValidationIssue, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCode, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCoding, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueDetails, 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 inherited from interface ca.uhn.fhir.context.support.IValidationSupport

    TYPE_CODING, TYPE_GROUP, TYPE_STRING, URL_PREFIX_VALUE_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    JpaPersistedResourceValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    <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
    fetchValueSet(String theSystem)
     
    ca.uhn.fhir.context.FhirContext
     
     
    void
     

    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, expandValueSet, fetchAllConformanceResources, fetchAllNonBaseStructureDefinitions, fetchAllSearchParameters, fetchBinary, generateSnapshot, invalidateCaches, isCodeableConceptValidationSuccessfulIfNotAllCodingsAreValid, isCodeSystemSupported, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchCodeSystem

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

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

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

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

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

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

      @PostConstruct public void start()