Skip to content

Commit

Permalink
Merge pull request #157 from MeasureAuthoringTool/Bug-6111/drcsNotPar…
Browse files Browse the repository at this point in the history
…tOfRelatedArtifacts

Removed redundant data in related artifacts
  • Loading branch information
sb-prateekkeerthi authored Sep 19, 2023
2 parents 9d162e9 + 2735d82 commit 491b698
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ public String visitCodesystemDefinition(cqlParser.CodesystemDefinitionContext ct

@Override
public String visitCodeDefinition(cqlParser.CodeDefinitionContext ctx) {

RelatedArtifact relatedArtifact = new RelatedArtifact();
relatedArtifact.setDisplay(getUnquotedFullText(ctx.identifier()));

relatedArtifact.setId(getUnquotedFullText(ctx.codeId()));
String codeSystemName = getUnquotedFullText(ctx.codesystemIdentifier());
String code = getUnquotedFullText(ctx.codeId());
String codeName = getUnquotedFullText(ctx.identifier());
Expand All @@ -135,7 +130,6 @@ public String visitCodeDefinition(cqlParser.CodeDefinitionContext ctx) {
String csName = getUnquotedFullText(cs.identifier());
String csUri = getUnquotedFullText(cs.codesystemId());
String csVersionUri = getUnquotedFullText(cs.versionSpecifier());
relatedArtifact.setUrl(csUri);
readableArtifacts
.getTerminologyCodeModels()
.add(
Expand All @@ -148,7 +142,6 @@ public String visitCodeDefinition(cqlParser.CodeDefinitionContext ctx) {
.isCodesystemVersionIncluded(csVersionUri != null)
.datatype(null)
.build());
relatedArtifacts.add(relatedArtifact);
},
() ->
log.error(
Expand Down

0 comments on commit 491b698

Please sign in to comment.