populate ValueSet.url in $expand Operation (#3241)

This commit is contained in:
Patrick Werner 2022-01-24 17:12:56 +01:00 committed by GitHub
parent 715a4c4602
commit 37e7d6eea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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());