diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java index b614bf7d2..cdf2fd73d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java @@ -1213,7 +1213,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte if (isTxCaching && cacheId != null && vs.getUrl() != null && cached.contains(vs.getUrl()+"|"+vs.getVersion())) { pin.addParameter().setName("url").setValue(new UriType(vs.getUrl()+(vs.hasVersion() ? "|"+vs.getVersion() : ""))); } else if (options.getVsAsUrl()){ - pin.addParameter().setName("url").setValue(new StringType(vs.getUrl())); + pin.addParameter().setName("url").setValue(new UriType(vs.getUrl())); } else { pin.addParameter().setName("valueSet").setResource(vs); if (vs.getUrl() != null) { @@ -2412,4 +2412,4 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte // TODO Auto-generated method stub return new PEBuilder(this, elementProps, fixedProps); } -} \ No newline at end of file +}