FHIR Chat · bug in narrative generation: wrong href · shorthand

Stream: shorthand

Topic: bug in narrative generation: wrong href


view this post on Zulip Sebastiaan Raap (Dec 16 2021 at 15:17):

I hope I chose the correct stream for this ..

in my Questionnaire instance in my FSH i've created:

* item.item[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"
* item.item[=].extension[=].valueCode = #vertical

when running ./_genonce.sh the result in my output json is:

            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode": "vertical"
            }

but in the narrative the result is:

<a href="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod" title="Orientation: vertical">

Think that's a bug?

view this post on Zulip Chris Moesel (Dec 16 2021 at 17:31):

Hi @Sebastiaan Raap -- I'm not very familiar w/ how the narrative generation for Questionnaires works, but I see that the url in the narrative doesn't seem to match the URL in the source -- and that seems like a bug to me! But, again, I'm not too familiar w/ Questionnaires and SDC and narrative generation, so maybe there is some nuance I am missing.

If it is a bug, then it is in the IG Publisher. SUSHI / FSH does not do any narrative generation. That's all done by the IG Publisher. In that case #IG creation would probably be a better stream to ask about this.

view this post on Zulip Grahame Grieve (Dec 17 2021 at 02:29):

certainly looks like a bug to me, somewhere in the IG publisher - how do I reproduce this?

view this post on Zulip Sebastiaan Raap (Dec 17 2021 at 12:48):

@Grahame Grieve
Questionnaire-GOFSH-GENERATED-ID-0.json

if you add this to sample-ig/input/examples and run genOnce, the generated narratives will contain the wrong href.

view this post on Zulip Grahame Grieve (Dec 22 2021 at 04:52):

fixed next release


Last updated: Apr 12 2022 at 19:14 UTC