fix bug in code system comparison
This commit is contained in:
parent
1eda0aa128
commit
765f24a233
|
@ -420,9 +420,11 @@ public class CodeSystemComparer extends CanonicalResourceComparer {
|
|||
c = comp.getPropMap().get(c);
|
||||
}
|
||||
ConceptPropertyComponent cp = null;
|
||||
for (ConceptPropertyComponent t : cd.getProperty()) {
|
||||
if (t.getCode().equals(c)) {
|
||||
cp = t;
|
||||
if (cd != null) {
|
||||
for (ConceptPropertyComponent t : cd.getProperty()) {
|
||||
if (t.getCode().equals(c)) {
|
||||
cp = t;
|
||||
}
|
||||
}
|
||||
}
|
||||
return cp;
|
||||
|
|
Loading…
Reference in New Issue