From 65853819d3b4a3d2a0fe557a3b3acf82f98ba4cd Mon Sep 17 00:00:00 2001 From: Lloyd McKenzie Date: Fri, 4 Mar 2022 10:03:55 -0700 Subject: [PATCH] Hit this bug when handling resource expansions for an STU3 IG. This code would never have worked, so apparently nothing called it before now. --- .../org/hl7/fhir/convertors/txClient/TerminologyClientR3.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java index 27082bd05..b2c8220a7 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java @@ -72,7 +72,7 @@ public class TerminologyClientR3 implements TerminologyClient { @Override public ValueSet expandValueset(ValueSet vs, Parameters p, Map params) throws FHIRException { org.hl7.fhir.dstu3.model.ValueSet vs2 = (org.hl7.fhir.dstu3.model.ValueSet) VersionConvertorFactory_30_50.convertResource(vs); - org.hl7.fhir.dstu3.model.ExpansionProfile p2 = (org.hl7.fhir.dstu3.model.ExpansionProfile) VersionConvertorFactory_30_50.convertResource(p); + org.hl7.fhir.dstu3.model.Parameters p2 = (org.hl7.fhir.dstu3.model.Parameters) VersionConvertorFactory_30_50.convertResource(p); vs2 = client.expandValueset(vs2, p2, params); // todo: second parameter return (ValueSet) VersionConvertorFactory_30_50.convertResource(vs2); }