Class NpmPackageValidationSupport
java.lang.Object
org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
org.hl7.fhir.common.hapi.validation.support.BaseStaticResourceValidationSupport
org.hl7.fhir.common.hapi.validation.support.PrePopulatedValidationSupport
org.hl7.fhir.common.hapi.validation.support.NpmPackageValidationSupport
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport
This interceptor loads and parses FHIR NPM Conformance Packages, and makes the
artifacts foudn within them available to the FHIR validator.
- Since:
- 5.5.0
-
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 class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
myCtxFields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET -
Constructor Summary
ConstructorsConstructorDescriptionNpmPackageValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidloadPackageFromClasspath(String theClasspath) Load an NPM package using a classpath specification, e.g.Methods inherited from class org.hl7.fhir.common.hapi.validation.support.PrePopulatedValidationSupport
addCodeSystem, addResource, addStructureDefinition, addValueSet, fetchAllConformanceResources, fetchAllStructureDefinitions, fetchCodeSystem, fetchStructureDefinition, fetchValueSet, isCodeSystemSupported, isValueSetSupportedMethods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
getFhirContextMethods 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, fetchAllNonBaseStructureDefinitions, fetchResource, generateSnapshot, getFhirContext, invalidateCaches, isRemoteTerminologyServiceConfigured, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
NpmPackageValidationSupport
Constructor
-
-
Method Details
-
loadPackageFromClasspath
Load an NPM package using a classpath specification, e.g./path/to/resource/my_package.tgz. The classpath spec can optionally be prefixed with the stringclasspath:- Throws:
ca.uhn.fhir.rest.server.exceptions.InternalErrorException- If the classpath file can't be foundIOException
-