bug: check temporary variable hasn't been set yet
This commit is contained in:
parent
369744488d
commit
f941329fcc
|
@ -64,7 +64,7 @@ public class ConceptMapEngine {
|
|||
for (ConceptMapGroupComponent g : cm.getGroup()) {
|
||||
for (SourceElementComponent e : g.getElement()) {
|
||||
if (code.equals(e.getCode())) {
|
||||
if (e != null)
|
||||
if (ct != null)
|
||||
throw new FHIRException("Unable to process translate "+code+" because multiple candidate matches were found in concept map "+cm.getUrl());
|
||||
ct = e;
|
||||
cg = g;
|
||||
|
|
Loading…
Reference in New Issue