don't send expansion if there's a compose when sending value sets
This commit is contained in:
parent
c7ccbb0110
commit
a1c64498a0
|
@ -1764,6 +1764,10 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
|||
} else if (options.getVsAsUrl()){
|
||||
pin.addParameter().setName("url").setValue(new UriType(vs.getUrl()));
|
||||
} else {
|
||||
if (vs.hasCompose() && vs.hasExpansion()) {
|
||||
vs = vs.copy();
|
||||
vs.setExpansion(null);
|
||||
}
|
||||
pin.addParameter().setName("valueSet").setResource(vs);
|
||||
if (vs.getUrl() != null) {
|
||||
terminologyClientContext.getCached().add(vs.getUrl()+"|"+ vs.getVersion());
|
||||
|
|
Loading…
Reference in New Issue