Stream: IG creation
Topic: Narrative generation
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
Grahame Grieve (Oct 05 2018 at 21:22):
which do you think is ugly?
Gretchen Toups (Oct 05 2018 at 21:23):
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
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).
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
Christopher Schuler (Oct 10 2018 at 18:51):
Thanks Grahame. I look forward to checking that out.
Grahame Grieve (Oct 10 2018 at 18:53):
you can see the engine here:
Grahame Grieve (Oct 10 2018 at 18:54):
And tests here: https://github.com/HL7/fhir/blob/master/implementations/java/org.hl7.fhir.r4/src/org/hl7/fhir/r4/test/LiquidEngineTests.java
Grahame Grieve (Oct 10 2018 at 18:54):
now I have to work on the integration
Grahame Grieve (Oct 10 2018 at 18:55):
@James Agnew this is relevant to you too.
James Agnew (Oct 10 2018 at 19:24):
Very cool!
Grahame Grieve (Oct 10 2018 at 19:34):
thx. still a work in progress
Last updated: Apr 12 2022 at 19:14 UTC