From 37e7d6eea51a9c89fd150c33e295c4ddd0050935 Mon Sep 17 00:00:00 2001 From: Patrick Werner Date: Mon, 24 Jan 2022 17:12:56 +0100 Subject: [PATCH] populate ValueSet.url in $expand Operation (#3241) --- .../src/main/java/ca/uhn/fhir/jpa/term/BaseTermReadSvcImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseTermReadSvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseTermReadSvcImpl.java index 9d2f72d2714..07596ac3215 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseTermReadSvcImpl.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseTermReadSvcImpl.java @@ -419,7 +419,6 @@ public abstract class BaseTermReadSvcImpl implements ITermReadSvc { accumulator.addParameter().setName("count").setValue(new IntegerType(count)); } - expandValueSetIntoAccumulator(theValueSetToExpand, theExpansionOptions, accumulator, theFilter, true); if (accumulator.getTotalConcepts() != null) { @@ -427,6 +426,7 @@ public abstract class BaseTermReadSvcImpl implements ITermReadSvc { } ValueSet valueSet = new ValueSet(); + valueSet.setUrl(theValueSetToExpand.getUrl()); valueSet.setId(theValueSetToExpand.getId()); valueSet.setStatus(Enumerations.PublicationStatus.ACTIVE); valueSet.setCompose(theValueSetToExpand.getCompose());