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
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.BooleanConceptProperty, 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_BOOLEAN, TYPE_CODING, TYPE_GROUP, TYPE_STRING, URL_PREFIX_VALUE_SET -
Constructor Summary
ConstructorsConstructorDescriptionJpaPersistedResourceValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext, DaoRegistry theDaoRegistry) Constructor -
Method Summary
Modifier and TypeMethodDescription<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.FhirContextgetName()voidstart()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, isCodeableConceptValidationSuccessfulIfNotAllCodingsAreValid, isCodeSystemSupported, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
JpaPersistedResourceValidationSupport
public JpaPersistedResourceValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext, DaoRegistry theDaoRegistry) Constructor
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceca.uhn.fhir.context.support.IValidationSupport
-
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
-