mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
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…
x
Reference in New Issue
Block a user