Stream: implementers
Topic: Composition.relatesTo.target[x] - which identifier?
Morten Ernebjerg (Jan 18 2019 at 12:32):
I am looking at referring to one FHIR document from another using Composition.relatesTo
. The documentation for relatesTo.target[x]
(similar in STU3 & R4) says that it is "[t]he target composition/document of this relationship". There are two choices for [x]: a reference to a Composition or an Identifier. A FHIR Document, in turn, can have two key identifiers: Bundle.identifier
(document identifier, required) and Composition.identifier
(optional). Given that the documentation for target[x]
talks about "target composition/document" but targetReference
must point to a Composition, I am not quite sure which Identifier targetIdentifier
should point to. Is it the Bundle or Composition one?
Lloyd McKenzie (Jan 18 2019 at 13:34):
@Rick Geimer?
Rick Geimer (Jan 18 2019 at 14:04):
I believe SDWG addressed this earlier in the week, agreeing to remove targetIdentifier (since you can already reference by identifer) and to add Bundle to the list of things you can point to. However, that doesn't help you now as that change will occur for R5. @Sean McIlvenna perhaps SDWG should consider creating a standard extension for now that allows references to a document Bundle?
Sean McIlvenna (Jan 18 2019 at 17:01):
FYI... SDWG approved a gForge ticket that removes targetIdentifier, and leaves only targetReference (because Reference already has an identifier in Reference.identifier).
Sean McIlvenna (Jan 18 2019 at 17:02):
So, I would not suggest making use of Composition.relatesTo.referenceIdentifier unless you are OK with changing your implementation later
Morten Ernebjerg (Jan 19 2019 at 20:17):
Thanks! - I guess I'll stick with a Composition Reference using sn Identifuer, then.
Last updated: Apr 12 2022 at 19:14 UTC