diff --git a/src/main/java/gov/cms/madie/madiefhirservice/cql/LibraryCqlVisitor.java b/src/main/java/gov/cms/madie/madiefhirservice/cql/LibraryCqlVisitor.java index a6bf1c01..8a1a1bf0 100644 --- a/src/main/java/gov/cms/madie/madiefhirservice/cql/LibraryCqlVisitor.java +++ b/src/main/java/gov/cms/madie/madiefhirservice/cql/LibraryCqlVisitor.java @@ -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()); @@ -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( @@ -148,7 +142,6 @@ public String visitCodeDefinition(cqlParser.CodeDefinitionContext ctx) { .isCodesystemVersionIncluded(csVersionUri != null) .datatype(null) .build()); - relatedArtifacts.add(relatedArtifact); }, () -> log.error(