fix NPE in CDA check

This commit is contained in:
Grahame Grieve 2023-12-11 15:37:14 +11:00
parent dfeb8a37ca
commit 9fae571412
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }