From 14edde2ab81e9be69ef156035bbe42b86c84a551 Mon Sep 17 00:00:00 2001 From: Michael Lawley Date: Sat, 18 Mar 2023 10:33:16 +1000 Subject: [PATCH] Make url parameter type UriType, not StringType --- .../main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}