mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-07 21:38:15 +00:00
improve error message when slicing broken
This commit is contained in:
parent
a732d84037
commit
001ca1f755
@ -4705,7 +4705,7 @@ private boolean isAnswerRequirementFulfilled(QuestionnaireItemComponent qItem, L
|
||||
String errorContext = "profile " + profile.getUrl();
|
||||
if (!resource.getChildValue("id").isEmpty())
|
||||
errorContext += "; instance " + resource.getChildValue("id");
|
||||
throw new DefinitionException("Slice encountered midway through path on " + slicer.getPath() + "; " + errorContext);
|
||||
throw new DefinitionException("Slice encountered midway through set (path = " + slicer.getPath() + ", id = "+slicer.getId()+"); " + errorContext);
|
||||
}
|
||||
slicer = ed;
|
||||
process = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user