fix vsac importer
This commit is contained in:
parent
55ac916133
commit
fafd0a8a37
|
@ -17,7 +17,7 @@ public class OIDBasedValueSetImporter {
|
|||
|
||||
protected void init() throws FHIRException, IOException {
|
||||
FilesystemPackageCacheManager pcm = new FilesystemPackageCacheManager(org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.FilesystemPackageCacheMode.USER);
|
||||
NpmPackage npm = pcm.loadPackage("hl7.fhir.r5.core", "current");
|
||||
NpmPackage npm = pcm.loadPackage("hl7.fhir.r5.core", "5.0.0");
|
||||
SimpleWorkerContext context = new SimpleWorkerContext.SimpleWorkerContextBuilder().withAllowLoadingDuplicates(true).fromPackage(npm);
|
||||
context.loadFromPackage(pcm.loadPackage("hl7.terminology"), null);
|
||||
this.context = context;
|
||||
|
|
Loading…
Reference in New Issue