fix NPE?
This commit is contained in:
parent
f240717a88
commit
db56dfb888
|
@ -213,7 +213,7 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
||||||
|
|
||||||
public void see(CachedCanonicalResource<T> cr) {
|
public void see(CachedCanonicalResource<T> cr) {
|
||||||
// ignore UTG NUCC erroneous code system
|
// ignore UTG NUCC erroneous code system
|
||||||
if (cr.getPackageInfo().getId().startsWith("hl7.terminology") && "http://nucc.org/provider-taxonomy".equals(cr.getUrl())) {
|
if (cr.getPackageInfo() != null && cr.getPackageInfo().getId() != null && cr.getPackageInfo().getId().startsWith("hl7.terminology") && "http://nucc.org/provider-taxonomy".equals(cr.getUrl())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue