Package de.gematik.fhir.snapshots.helper
Class CustomNpmPackageValidationSupport
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
de.gematik.fhir.snapshots.helper.CustomNpmPackageValidationSupport
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport,ca.uhn.fhir.util.ILockable
public class CustomNpmPackageValidationSupport
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.CodeValidationIssue, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCode, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCoding, 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 class org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport
myCtxFields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
TYPE_CODING, TYPE_GROUP, TYPE_STRING, URL_PREFIX_VALUE_SET -
Constructor Summary
ConstructorsConstructorDescriptionCustomNpmPackageValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidloadPackageFromPath(String dirPath) Load an NPM package from a folder of a file systemMethods 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, getName, isCodeSystemSupported, isValueSetSupported, lockMethods 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, isEnabledValidationForCodingsLogicalAnd, isRemoteTerminologyServiceConfigured, lookupCode, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
CustomNpmPackageValidationSupport
public CustomNpmPackageValidationSupport(@Nonnull ca.uhn.fhir.context.FhirContext theFhirContext) Constructor
-
-
Method Details
-
loadPackageFromPath
Load an NPM package from a folder of a file system- Parameters:
dirPath- Folder containing extracted NPM package contents- Throws:
IOException
-
loadPackageFromInputStream
- Throws:
IOException
-