FHIR Chat · type org.hl7.fhir.r5.model.RelatedArtifact not handled · IG creation

Stream: IG creation

Topic: type org.hl7.fhir.r5.model.RelatedArtifact not handled


view this post on Zulip Patrick Werner (Nov 25 2020 at 15:42):

When running the ig publisher on the CG IG i get:

org.apache.commons.lang3.NotImplementedException: type org.hl7.fhir.r5.model.RelatedArtifact not handled - should not be here
        at org.hl7.fhir.r5.renderers.ProfileDrivenRenderer.renderLeaf(ProfileDrivenRenderer.java:400)
        at org.hl7.fhir.r5.renderers.ProfileDrivenRenderer.generateElementByProfile(ProfileDrivenRenderer.java:726)
        at org.hl7.fhir.r5.renderers.ProfileDrivenRenderer.generateByProfile(ProfileDrivenRenderer.java:655)
        at org.hl7.fhir.r5.renderers.ProfileDrivenRenderer.render(ProfileDrivenRenderer.java:115)
        at org.hl7.fhir.r5.renderers.ProfileDrivenRenderer.render(ProfileDrivenRenderer.java:99)
        at org.hl7.fhir.r5.renderers.ResourceRenderer.build(ResourceRenderer.java:55)
        at org.hl7.fhir.r5.renderers.BundleRenderer.render(BundleRenderer.java:298)
        at org.hl7.fhir.igtools.publisher.Publisher.getXhtml(Publisher.java:7841)
        at org.hl7.fhir.igtools.publisher.Publisher.saveDirectResourceOutputs(Publisher.java:7169)
        at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:6609)
        at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4873)
        at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:884)
        at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:728)
        at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8373)

view this post on Zulip Patrick Werner (Nov 25 2020 at 15:45):

Inside of the rendered html files i see Exception generating Narrative: type org.hl7.fhir.r5.model.RelatedArtifact not handled - should not be here

view this post on Zulip Patrick Werner (Nov 25 2020 at 15:45):

So the narrative generator doesn't know how to handle RelatedArtifact i guess.

view this post on Zulip Patrick Werner (Nov 25 2020 at 15:46):

General related question: is it possible to disable narrative generation in the IG publisher. Some of our narratives are way tooo big

view this post on Zulip Patrick Werner (Nov 25 2020 at 19:53):

(deleted)

view this post on Zulip Eric Haas (Nov 25 2020 at 22:09):

You just need to add your own text element and the publisher will not auto generate

view this post on Zulip Patrick Werner (Nov 25 2020 at 22:31):

Eric Haas said:

You just need to add your own text element and the publisher will not auto generate

ah i knew, and forgot that this is a thing. Thx.


Last updated: Apr 12 2022 at 19:14 UTC