FHIR Chat · Reference a whole resource from narrative · implementers

Stream: implementers

Topic: Reference a whole resource from narrative


view this post on Zulip Rik Smithies (Jan 29 2021 at 00:41):

is it possible to reference a whole resource (within the same Bundle) from narrative text? Like this?
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<span id="resourceId">This product is Drug 1 mg/ml</span>
</div>
</text>

or span id="ResourceName/resourceId">This product is Drug 1 mg/ml</span>?

view this post on Zulip Lloyd McKenzie (Jan 29 2021 at 05:04):

No. You can set 'id' to whatever you like in the context of a resource (so long as it doesn't collide with any other id declared in the resource, Bundles excluded), but there's no ability to 'link' to a Resource from narrative. You can however link from resource elements to narrative - see http://build.fhir.org/narrative.html#linking

view this post on Zulip Rik Smithies (Jan 29 2021 at 11:37):

Ok thanks @Lloyd McKenzie , so this anchor id in the text is a defining property of the text (and so of the Composition).
It says "I have this id" not "I'm linked to this id". And it is pointed at by the extensions defined (scoped by fullUrl, if necessary).

So it doesn't make sense for this id to be the id of something else, such as a resource.

The extensions say: "this thing I'm extending is what the referenced thing's text (having that id) is about".

But it seems those extensions can go on the whole resource (they say "A human language representation of the concept (resource/element)") so that it seems that that would give me what I need.

view this post on Zulip Richard Townley-O'Neill (Feb 03 2021 at 05:41):

The discussion of linking confuses originalText and narrativeLink. I've raised an issue on this FHIR-30891


Last updated: Apr 12 2022 at 19:14 UTC