fix bug in code system comparison

This commit is contained in:
Grahame Grieve 2020-08-27 12:33:13 +10:00
parent 1eda0aa128
commit 765f24a233
1 changed files with 5 additions and 3 deletions

View File

@ -420,11 +420,13 @@ public class CodeSystemComparer extends CanonicalResourceComparer {
c = comp.getPropMap().get(c);
}
ConceptPropertyComponent cp = null;
if (cd != null) {
for (ConceptPropertyComponent t : cd.getProperty()) {
if (t.getCode().equals(c)) {
cp = t;
}
}
}
return cp;
}