Package ca.uhn.fhir.jpa.dao
Class JpaPersistedResourceValidationSupport
java.lang.Object
ca.uhn.fhir.jpa.dao.JpaPersistedResourceValidationSupport
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport
@Transactional(propagation=REQUIRED)
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.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
Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET -
Constructor Summary
ConstructorsConstructorDescriptionJpaPersistedResourceValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid<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 theSystem) ca.uhn.fhir.context.FhirContextvoidstart()Methods 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, expandValueSet, fetchAllConformanceResources, fetchAllNonBaseStructureDefinitions, fetchAllSearchParameters, fetchBinary, generateSnapshot, invalidateCaches, isCodeSystemSupported, isEnabledValidationForCodingsLogicalAnd, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
JpaPersistedResourceValidationSupport
Constructor
-
-
Method Details
-
fetchCodeSystem
- Specified by:
fetchCodeSystemin interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchValueSet
- Specified by:
fetchValueSetin interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchStructureDefinition
- Specified by:
fetchStructureDefinitionin interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchAllStructureDefinitions
@Nullable public <T extends org.hl7.fhir.instance.model.api.IBaseResource> List<T> fetchAllStructureDefinitions()- Specified by:
fetchAllStructureDefinitionsin interfaceca.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:
fetchResourcein interfaceca.uhn.fhir.context.support.IValidationSupport
-
getFhirContext
- Specified by:
getFhirContextin interfaceca.uhn.fhir.context.support.IValidationSupport
-
start
-
clearCaches
-