fix tests?
This commit is contained in:
parent
6ba38a031a
commit
7170545c20
|
@ -18,6 +18,7 @@ import org.hl7.fhir.r5.liquid.GlobalObject.GlobalObjectRandomFunction;
|
|||
import org.hl7.fhir.r5.model.DateTimeType;
|
||||
import org.hl7.fhir.r5.model.StringType;
|
||||
import org.hl7.fhir.r5.model.StructureDefinition;
|
||||
import org.hl7.fhir.r5.terminologies.client.TerminologyClientR5.TerminologyClientR5Factory;
|
||||
import org.hl7.fhir.r5.test.utils.CompareUtilities;
|
||||
import org.hl7.fhir.r5.test.utils.TestingUtilities;
|
||||
import org.hl7.fhir.r5.testfactory.ProfileBasedFactory;
|
||||
|
@ -37,6 +38,7 @@ public class TestInstanceGenerationTester {
|
|||
public void testDataFactory() throws IOException, FHIRException, SQLException {
|
||||
FilesystemPackageCacheManager pcm = new FilesystemPackageCacheManager.Builder().build();
|
||||
SimpleWorkerContext context = new SimpleWorkerContextBuilder().withAllowLoadingDuplicates(true).withDefaultParams().fromPackage(pcm.loadPackage("hl7.fhir.r4.core"));
|
||||
context.connectToTSServer(new TerminologyClientR5Factory(), "http://tx-dev.fhir.org/r4", "Instance-Generator", Utilities.path("[tmp]", "tx-log.log"), true);
|
||||
context.loadFromPackage(pcm.loadPackage("us.nlm.vsac#0.21.0"), new R4ToR5Loader(Utilities.strings("CapabilityStatement", "StructureDefinition", "ValueSet", "CodeSystem", "SearchParameter", "OperationDefinition", "Questionnaire","ConceptMap","StructureMap", "NamingSystem"),
|
||||
new NullLoaderKnowledgeProviderR5(), context.getVersion()));
|
||||
context.loadFromPackage(pcm.loadPackage("hl7.fhir.us.core#6.0.0"), new R4ToR5Loader(Utilities.strings("CapabilityStatement", "StructureDefinition", "ValueSet", "CodeSystem", "SearchParameter", "OperationDefinition", "Questionnaire","ConceptMap","StructureMap", "NamingSystem"),
|
||||
|
|
Loading…
Reference in New Issue