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.CodeValidationIssue, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCode, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCoding, 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
ConstructorDescriptionJpaPersistedResourceValidationSupport
(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.IBaseResource
fetchCodeSystem
(String theSystem) <T extends org.hl7.fhir.instance.model.api.IBaseResource>
TfetchResource
(Class<T> theClass, String theUri) org.hl7.fhir.instance.model.api.IBaseResource
fetchStructureDefinition
(String theUrl) org.hl7.fhir.instance.model.api.IBaseResource
fetchValueSet
(String theSystem) ca.uhn.fhir.context.FhirContext
getName()
void
start()
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, isCodeSystemSupported, isEnabledValidationForCodingsLogicalAnd, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
JpaPersistedResourceValidationSupport
Constructor
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchCodeSystem
- Specified by:
fetchCodeSystem
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchValueSet
- Specified by:
fetchValueSet
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchStructureDefinition
- Specified by:
fetchStructureDefinition
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
fetchAllStructureDefinitions
@Nullable public <T extends org.hl7.fhir.instance.model.api.IBaseResource> List<T> fetchAllStructureDefinitions()- Specified by:
fetchAllStructureDefinitions
in 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:
fetchResource
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
getFhirContext
- Specified by:
getFhirContext
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
start
-
clearCaches
-