Fix message about rendering problem. Actual solution... not sure.

This commit is contained in:
Grahame Grieve 2023-06-24 09:06:19 +10:00
parent 189c3c7b7d
commit 40380ff0f3
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ public class ProfileDrivenRenderer extends ResourceRenderer {
} else if (e instanceof ElementDefinition) {
x.tx("todo-bundle");
} else if (e != null && !(e instanceof Attachment) && !(e instanceof Narrative) && !(e instanceof Meta) && !(e instanceof ProductShelfLife) && !(e instanceof RelatedArtifact)) {
throw new NotImplementedException("type "+e.getClass().getName()+" not handled - should not be here");
throw new NotImplementedException("type "+e.fhirType()+" not handled. This may be due to unresolved inter-version compatibility issues");
}
}