Merge pull request #255 from ahdis/oe_structuremap_np

StructureMap rendering  has np when RelationShip is not set
This commit is contained in:
Grahame Grieve 2020-06-26 10:24:09 +10:00 committed by GitHub
commit 93f8b1c338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -789,8 +789,7 @@ public class StructureMapUtilities {
if (e.getCode().startsWith("\""))
e.setCode(lexer.processConstant(e.getCode()));
TargetElementComponent tgt = e.addTarget();
if (eq != ConceptMapEquivalence.EQUIVALENT)
tgt.setEquivalence(eq);
tgt.setEquivalence(eq);
if (tgt.getEquivalence() != ConceptMapEquivalence.UNMATCHED) {
lexer.token(":");
tgt.setCode(lexer.take());

View File

@ -796,8 +796,7 @@ public class StructureMapUtilities {
if (e.getCode().startsWith("\""))
e.setCode(lexer.processConstant(e.getCode()));
TargetElementComponent tgt = e.addTarget();
if (rel != ConceptMapRelationship.EQUIVALENT)
tgt.setRelationship(rel);
tgt.setRelationship(rel);
lexer.token(":");
tgt.setCode(lexer.take());
if (tgt.getCode().startsWith("\""))