FHIR Chat · Narrative generation · IG creation

Stream: IG creation

Topic: Narrative generation


view this post on Zulip Gretchen Toups (Oct 05 2018 at 21:22):

The generated narrative sometimes have missing or "ugly" details. Sometimes it is missing content. For instance useContext and contributor for the library resource. For example: http://build.fhir.org/ig/cqframework/opioid-cds/Library-opioidcds-common.html

view this post on Zulip Grahame Grieve (Oct 05 2018 at 21:22):

which do you think is ugly?

view this post on Zulip Gretchen Toups (Oct 05 2018 at 21:23):

pasted image

view this post on Zulip Grahame Grieve (Oct 05 2018 at 21:25):

so that is intentional - to make sure the scope of the text desribing the reference is clear

view this post on Zulip Christopher Schuler (Oct 10 2018 at 18:49):

I would agree that the narratives need some polish... The main issue for me is the missing details like the "topic" element here: http://build.fhir.org/ig/cqframework/opioid-cds/Library-opioidcds-common.html. Also the narrative generator doesn't generate anything useful for useContext, contributor, relatedArtifact, dataRequirement, and content elements (see the previous link for an example).

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:50):

I'll look at those at some stage. Also, I'm about to roll out a liquid based language so IG authors can build their narratives how they want

view this post on Zulip Christopher Schuler (Oct 10 2018 at 18:51):

Thanks Grahame. I look forward to checking that out.

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:53):

you can see the engine here:

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:54):

https://github.com/HL7/fhir/blob/master/implementations/java/org.hl7.fhir.r4/src/org/hl7/fhir/r4/utils/LiquidEngine.java

And tests here: https://github.com/HL7/fhir/blob/master/implementations/java/org.hl7.fhir.r4/src/org/hl7/fhir/r4/test/LiquidEngineTests.java

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:54):

now I have to work on the integration

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:55):

@James Agnew this is relevant to you too.

view this post on Zulip James Agnew (Oct 10 2018 at 19:24):

Very cool!

view this post on Zulip Grahame Grieve (Oct 10 2018 at 19:34):

thx. still a work in progress


Last updated: Apr 12 2022 at 19:14 UTC