Skip to content

Commit

Permalink
Only propagate version to grouping valuesets, not leaves.
Browse files Browse the repository at this point in the history
  • Loading branch information
sliver007 committed Jun 28, 2023
1 parent fff38f3 commit 49f324b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ private IBaseOperationOutcome resolveTriggeringValueSet(ValueSet res, Library sp
)
);
}
res.setVersion(this.version);

Extension stewardExtension = res.getExtensionByUrl(valueSetStewardExtensionUrl);
if (stewardExtension != null && stewardExtension.hasValue()) {
Expand All @@ -411,6 +410,7 @@ private IBaseOperationOutcome resolveTriggeringValueSet(ValueSet res, Library sp
grouperUrls.add("http://hl7.org/fhir/us/ecr/ValueSet/sdtc");
String url = res.getUrl();
if (grouperUrls.contains(url)) {
res.setVersion(this.version);
res.setPublisher(PUBLISHER);

ValueSet.ValueSetComposeComponent compose = res.getCompose();
Expand Down

0 comments on commit 49f324b

Please sign in to comment.