set equivalence relationship in parsing
This commit is contained in:
parent
344d778a87
commit
4f21c40f83
|
@ -789,7 +789,6 @@ public class StructureMapUtilities {
|
||||||
if (e.getCode().startsWith("\""))
|
if (e.getCode().startsWith("\""))
|
||||||
e.setCode(lexer.processConstant(e.getCode()));
|
e.setCode(lexer.processConstant(e.getCode()));
|
||||||
TargetElementComponent tgt = e.addTarget();
|
TargetElementComponent tgt = e.addTarget();
|
||||||
if (eq != ConceptMapEquivalence.EQUIVALENT)
|
|
||||||
tgt.setEquivalence(eq);
|
tgt.setEquivalence(eq);
|
||||||
if (tgt.getEquivalence() != ConceptMapEquivalence.UNMATCHED) {
|
if (tgt.getEquivalence() != ConceptMapEquivalence.UNMATCHED) {
|
||||||
lexer.token(":");
|
lexer.token(":");
|
||||||
|
|
|
@ -796,7 +796,6 @@ public class StructureMapUtilities {
|
||||||
if (e.getCode().startsWith("\""))
|
if (e.getCode().startsWith("\""))
|
||||||
e.setCode(lexer.processConstant(e.getCode()));
|
e.setCode(lexer.processConstant(e.getCode()));
|
||||||
TargetElementComponent tgt = e.addTarget();
|
TargetElementComponent tgt = e.addTarget();
|
||||||
if (rel != ConceptMapRelationship.EQUIVALENT)
|
|
||||||
tgt.setRelationship(rel);
|
tgt.setRelationship(rel);
|
||||||
lexer.token(":");
|
lexer.token(":");
|
||||||
tgt.setCode(lexer.take());
|
tgt.setCode(lexer.take());
|
||||||
|
|
Loading…
Reference in New Issue