Stream: implementers
Topic: Reference.Identifier Cardinality
Weiyu Zhang (Feb 01 2021 at 23:44):
Hi all, we're looking into sending multiple identifiers for a single encounter (e.g. EHR issued visit ID + known external identifiers) as logical references and saw that Reference.identifier
is limited to 0..1
. We're looking to send multiple identifiers as we're not sure which identifiers the receiving side needs + we won't have a literal reference to send in all scenarios. We have a way forward with extensions, but wanted to get the community's thoughts on the best way forward in R5 and beyond - would it be a reasonable request to ease the 0..1 constraint on identifier in a future release?
Michele Mottini (Feb 02 2021 at 00:05):
(deleted)
Lloyd McKenzie (Feb 02 2021 at 02:13):
Encounter.identifier has been changed to 0..* in the draft of R5. In R4, you'll have to use an extension. You can, in theory, use the standard extension "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.identifier" for this purpose, though until R5 is officially published, your slightly at risk (because the change isn't completely locked down yet - though the likelihood of it being reversed is low).
Vassil Peytchev (Feb 02 2021 at 03:38):
The question is mostly about the Reference data type, used with logical references, not the Encounter resource - logical reference to Encounter is just an example
Lloyd McKenzie (Feb 02 2021 at 14:38):
Ah, missed that it was Reference.identifier. Yes, that's currently 0..1. If you think it should be more than that, you could submit a change request. However, given that it's normative, we're going to be really cautious about making such a change.
Daniel Venton (Feb 02 2021 at 18:19):
If you want to include multiple identifiers that identify the encounter, wouldn't that be in the encounter.identifier list? Your references (which are pointers to other resources) ALSO have multiple identifiers?
Lloyd McKenzie (Feb 02 2021 at 19:26):
The issue is that they don't know what the Encounter resource URL is - so they're just providing business identifiers in the hopes that's good enough to let someone find it.
Weiyu Zhang (Feb 02 2021 at 19:59):
Thanks all! I'll put in a ticket for it, but am also happy to discuss it more here. Vassil is right, this is about the reference datatype, and the specific case we're dealing with is for documentReference.context.encounter, where we're looking to reference an encounter resource.
@Daniel Venton Re: encounter.identifier list - Lloyd's right on this one, we have a few cases where we don't have an encounter resource to point to (but still have some identifiers for the visit). The multiple identifiers are all synonyms for the same physical visit/we're trying to send all of them in hopes that the receiving end knows about at least one of them.
Weiyu Zhang (Feb 02 2021 at 21:27):
For tracking purposes: https://jira.hl7.org/browse/FHIR-30878
Last updated: Apr 12 2022 at 19:14 UTC