fix vsac importer

This commit is contained in:
Grahame Grieve 2023-05-25 16:40:55 +10:00
parent 55ac916133
commit fafd0a8a37
1 changed files with 1 additions and 1 deletions

View File

@ -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;