This commit is contained in:
axdad 2018-11-14 09:24:27 +01:00
parent 896568c0f7
commit 952dc7dd01
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ public class Element extends Base {
setUserData("fhir.decorations", decorations);
}
decorations.add(new ElementDecoration(DecorationType.TYPE, profile.getUserString("path"), definition.getPath()));
if (tail(definition.getId()).contains(":")) {
if (definition.getId() != null && tail(definition.getId()).contains(":")) {
String[] details = tail(definition.getId()).split("\\:");
decorations.add(new ElementDecoration(DecorationType.SLICE, null, details[1]));
}