bug: check temporary variable hasn't been set yet

This commit is contained in:
Paul Robson 2021-12-22 11:50:43 -05:00
parent 369744488d
commit f941329fcc
1 changed files with 1 additions and 1 deletions

View File

@ -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;