Stream: IG creation
Topic: no narrative for FHIR Document example
Eric Haas (Dec 07 2021 at 21:59):
Do FHIR Documents generate narrative out of the box?
Eric Haas (Dec 07 2021 at 22:01):
I have a signed document with no errors recorded by Herr Validator and no narrative. I am assuming there is something wrong with my example but wanted to check what the IG pub does with documents first.
Grahame Grieve (Dec 07 2021 at 22:54):
I'm not sure
Eric Haas (Dec 08 2021 at 17:42):
OK.... after looking further into this, I am pleased to report the publisher does indeed produce the generated narrative ( yay!) but for some reason it does not show up in the Narrative content page for the example. to whit....
This no-errors-per-validator example from Da Vinci CDex:
resourceType: Bundle
id: cdex-electronic-sig-example
meta:
extension:
- url: 'http://hl7.org/fhir/StructureDefinition/instance-name'
valueString: CDEX Electronic Signature Example
- url: 'http://hl7.org/fhir/StructureDefinition/instance-description'
valueMarkdown: >-
Electronic signature example showing how a image file can be use to sign
a document Bundle. The CDEX use case would be the target resource in
response to a Task-based request where an electronic signature was
required. If no signature was required, the response would typically be
in the form of an individual resource.
lastUpdated: '2021-10-25T20:16:29-07:00'
identifier:
system: 'urn:ietf:rfc:3986'
value: 'urn:uuid:c173535e-135e-48e3-ab64-38bacc68dba8'
type: document
timestamp: '2021-10-25T20:16:29-07:00'
entry:
- fullUrl: 'urn:uuid:17a80a8d-4cf1-4deb-a1fd-2db1130e5f76'
resource:
resourceType: Composition
id: 17a80a8d-4cf1-4deb-a1fd-2db1130e5f76
# ===============GENERATED NARRATIVE ====================
text:
status: generated
div: >-
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated
Narrative</b></p><div style="display: inline-block; background-color:
#d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4;
border-radius: 5px; line-height: 60%"><p style="margin-bottom:
0px">Resource "17a80a8d-4cf1-4deb-a1fd-2db1130e5f76"
</p></div><p><b>status</b>: final</p><p><b>type</b>: Medical records
<span style="background: LightGoldenRodYellow; margin: 4px; border:
1px solid khaki"> (<a
href="https://loinc.org/">LOINC</a>#11503-0)</span></p><p><b>encounter</b>:
<a href="#Encounter_5ce5c83a-000f-47d2-941c-039358cc9112">See above
(urn:uuid:5ce5c83a-000f-47d2-941c-039358cc9112: Example
Encounter)</a></p><p><b>date</b>:
2021-10-25T20:16:29-07:00</p><p><b>author</b>: <a
href="#Practitioner_0820c16d-91de-4dfa-a3a6-f140a516a9bc">See above
(urn:uuid:0820c16d-91de-4dfa-a3a6-f140a516a9bc: Example
Practitioner)</a></p><p><b>title</b>: Active
Conditions</p><h3>Attesters</h3><table
class="grid"><tr><td>-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td>*</td><td>legal</td><td>2021-10-25T20:16:29-07:00</td><td><a
href="#Practitioner_0820c16d-91de-4dfa-a3a6-f140a516a9bc">See above
(urn:uuid:0820c16d-91de-4dfa-a3a6-f140a516a9bc: Example
Practitioner)</a></td></tr></table></div>
# ===============END GENERATED NARRATIVE ====================
status: final
# ...etc....
and here is the published output:
Shall I make a github issue and a test case?
Grahame Grieve (Dec 08 2021 at 17:54):
yes please
Last updated: Apr 12 2022 at 19:14 UTC