Package ca.uhn.fhir.context.support
Class DefaultProfileValidationSupport
java.lang.Object
ca.uhn.fhir.context.support.DefaultProfileValidationSupport
- All Implemented Interfaces:
IValidationSupport
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.uhn.fhir.context.support.IValidationSupport
IValidationSupport.BaseConceptProperty, IValidationSupport.CodeValidationResult, IValidationSupport.CodingConceptProperty, IValidationSupport.ConceptDesignation, IValidationSupport.IssueSeverity, IValidationSupport.LookupCodeResult, IValidationSupport.StringConceptProperty, IValidationSupport.TranslateCodeRequest, IValidationSupport.ValueSetExpansionOutcome -
Field Summary
Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoad and return all conformance resources associated with this validation support module.<T extends IBaseResource>
List<T>Load and return all possible structure definitions aside from resource definitions themselves<T extends IBaseResource>
List<T>Load and return all possible structure definitionsfetchCodeSystem(String theSystem)Fetch a code system by IDfetchStructureDefinition(String theUrl)fetchValueSet(String theUrl)Fetch the given ValueSet by URLvoidflush()static StringgetConformanceResourceUrl(FhirContext theFhirContext, IBaseResource theResource)Returns the FHIR Context associated with this moduleMethods 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, fetchResource, generateSnapshot, invalidateCaches, isCodeSystemSupported, isValueSetSupported, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
DefaultProfileValidationSupport
Constructor- Parameters:
theFhirContext- The context to use
-
-
Method Details
-
fetchAllConformanceResources
Description copied from interface:IValidationSupportLoad and return all conformance resources associated with this validation support module. This method may return null if it doesn't make sense for a given module.- Specified by:
fetchAllConformanceResourcesin interfaceIValidationSupport
-
fetchAllStructureDefinitions
Description copied from interface:IValidationSupportLoad and return all possible structure definitions- Specified by:
fetchAllStructureDefinitionsin interfaceIValidationSupport
-
fetchAllNonBaseStructureDefinitions
Description copied from interface:IValidationSupportLoad and return all possible structure definitions aside from resource definitions themselves- Specified by:
fetchAllNonBaseStructureDefinitionsin interfaceIValidationSupport
-
fetchCodeSystem
Description copied from interface:IValidationSupportFetch a code system by ID- Specified by:
fetchCodeSystemin interfaceIValidationSupport- Parameters:
theSystem- The code system- Returns:
- The valueset (must not be null, but can be an empty ValueSet)
-
fetchStructureDefinition
- Specified by:
fetchStructureDefinitionin interfaceIValidationSupport
-
fetchValueSet
Description copied from interface:IValidationSupportFetch the given ValueSet by URL- Specified by:
fetchValueSetin interfaceIValidationSupport
-
flush
-
getFhirContext
Description copied from interface:IValidationSupportReturns the FHIR Context associated with this module- Specified by:
getFhirContextin interfaceIValidationSupport
-
getConformanceResourceUrl
@Nullable public static String getConformanceResourceUrl(FhirContext theFhirContext, IBaseResource theResource)
-