mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-27 08:07:23 +00:00
Merge pull request #255 from ahdis/oe_structuremap_np
StructureMap rendering has np when RelationShip is not set
This commit is contained in:
commit
93f8b1c338
@ -789,8 +789,7 @@ 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(":");
|
||||||
tgt.setCode(lexer.take());
|
tgt.setCode(lexer.take());
|
||||||
|
@ -796,8 +796,7 @@ 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());
|
||||||
if (tgt.getCode().startsWith("\""))
|
if (tgt.getCode().startsWith("\""))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user