fix NPE in CDA check
This commit is contained in:
parent
dfeb8a37ca
commit
9fae571412
|
@ -447,7 +447,7 @@ public class Property {
|
||||||
|
|
||||||
|
|
||||||
private boolean isCDAElement(StructureDefinition sd) {
|
private boolean isCDAElement(StructureDefinition sd) {
|
||||||
return sd.getUrl().startsWith(Constants.NS_CDA_ROOT);
|
return sd.hasUrl() && sd.getUrl().startsWith(Constants.NS_CDA_ROOT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue