Class NpmLocalPackageValidationSupport

  • All Implemented Interfaces:
    ca.uhn.fhir.context.support.IValidationSupport, ca.uhn.fhir.util.ILockable

    public class NpmLocalPackageValidationSupport
    extends org.hl7.fhir.common.hapi.validation.support.PrePopulatedValidationSupport
    • 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

        myCtx
      • Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport

        URL_PREFIX_VALUE_SET
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void loadPackageFromPath​(String dirPath)
      Load an NPM package using a classpath specification, e.g.
      • Methods inherited from class org.hl7.fhir.common.hapi.validation.support.PrePopulatedValidationSupport

        addBinary, addCodeSystem, addResource, addSearchParameter, addStructureDefinition, addValueSet, countAll, fetchAllConformanceResources, fetchAllSearchParameters, fetchAllStructureDefinitions, fetchBinary, fetchCodeSystem, fetchStructureDefinition, fetchValueSet, isCodeSystemSupported, isValueSetSupported, lock
      • Methods inherited from class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport

        getFhirContext
      • Methods inherited from interface ca.uhn.fhir.context.support.IValidationSupport

        expandValueSet, expandValueSet, fetchAllNonBaseStructureDefinitions, fetchResource, generateSnapshot, getFhirContext, invalidateCaches, isEnabledValidationForCodingsLogicalAnd, isRemoteTerminologyServiceConfigured, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
    • Constructor Detail

      • NpmLocalPackageValidationSupport

        public NpmLocalPackageValidationSupport​(@Nonnull
                                                ca.uhn.fhir.context.FhirContext theFhirContext)
        Constructor
    • Method Detail

      • loadPackageFromPath

        public void loadPackageFromPath​(String dirPath)
                                 throws IOException
        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 string classpath:
        Throws:
        ca.uhn.fhir.rest.server.exceptions.InternalErrorException - If the classpath file can't be found
        IOException