Class NpmPackageValidationSupport

All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport, ca.uhn.fhir.util.ILockable
Direct Known Subclasses:
DefaultProfileValidationSupportNpmStrategy

This interceptor loads and parses FHIR NPM Conformance Packages, and makes the artifacts found within them available to the FHIR validator.
Since:
5.5.0
  • Constructor Details

    • NpmPackageValidationSupport

      public NpmPackageValidationSupport(@Nonnull ca.uhn.fhir.context.FhirContext theFhirContext)
      Constructor
  • Method Details

    • loadPackageFromClasspath

      public void loadPackageFromClasspath(String theClasspath) 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