FHIR Chat · Identifiers in observations · implementers

Stream: implementers

Topic: Identifiers in observations


view this post on Zulip Diego Bosca (Oct 14 2019 at 12:25):

What is the preferred way of dealing with fields in current systems that have the specimen, subject, device, etc. as identifiers and moving them to a Observation? My problem is that these are References in the Observation resource, but creating them (the Specimen, Practitioner, etc.) isn't really an option (pointed 'thing' is not really in the system).
Observation resource doesn't allow Identifier type in neither value or component, so the only other think I could think of is creating a bunch of extensions.

Any experiences with such a use case?

view this post on Zulip Lloyd McKenzie (Oct 14 2019 at 14:14):

@Eric Haas

view this post on Zulip Eric Haas (Oct 14 2019 at 19:32):

reference can point to the business identifier. would that work?

view this post on Zulip Richard Townley-O'Neill (Oct 14 2019 at 22:42):

Reference.identifier

view this post on Zulip Lloyd McKenzie (Oct 14 2019 at 23:10):

Contained resources could be an option for specimen if it's managed one to one

view this post on Zulip Diego Bosca (Oct 15 2019 at 08:24):

reference can point to the business identifier. would that work?

if we can safely assure that no one will ever try to ask us for that identifier I think it would work. Then the other ones not included in the Observation resource would still be extensions I assume

view this post on Zulip Richard Townley-O'Neill (Oct 15 2019 at 08:35):

if we can safely assure that no one will ever try to ask us for that identifier I think it would work.

With a value in Observation.specimen.identifier you can supply the value of the identifier, but not a resource for the details of the specimen.

view this post on Zulip Diego Bosca (Oct 15 2019 at 08:37):

But do references to resources of a given type assume that the pointed resource is in the system?

view this post on Zulip Grahame Grieve (Oct 15 2019 at 08:51):

no. references never have to resolve (at least, not from the pov of the standard. Implementation guides often say something about this). But if it did resolve, then it would be a specimen resource

view this post on Zulip Eric Haas (Oct 15 2019 at 15:47):

Then the other ones not included in the Observation resource would still be extensions I assume

What "other ones" are you referring to.... because everything you listed above can be covered by Reference.identifier

view this post on Zulip Diego Bosca (Oct 16 2019 at 12:01):

Yeah, everything goes into Reference.identifier if the attribute itself is in the Observation resource :)

view this post on Zulip Diego Bosca (Oct 16 2019 at 12:15):

Use case is genomics, where almost everything (allele, etc.) can have an identifier. While some specific identifiers could be put in existing attributes (as I mentioned above, specimen, author, etc.), there will be some that won't really fit. My first thought was profiling a "component" of type Identifier, but that's not allowed. So extension time I assume

view this post on Zulip Kevin Power (Oct 16 2019 at 16:29):

@Diego Bosca - Since you mentioned genomics - if you haven't yet, you will want to check out the IG being developed by the Clinical Genomics WG: http://build.fhir.org/ig/HL7/genomics-reporting/
We have components for collecting various sorts of identifies important in the genomics space. If you review and have questions, you can direct them to the #genomics stream.

view this post on Zulip Diego Bosca (Oct 19 2019 at 18:05):

Diego Bosca - Since you mentioned genomics - if you haven't yet, you will want to check out the IG being developed by the Clinical Genomics WG: http://build.fhir.org/ig/HL7/genomics-reporting/
We have components for collecting various sorts of identifies important in the genomics space. If you review and have questions, you can direct them to the #genomics stream.

@Kevin Power reviewing the implementation guide I see that at least some identifiers (dbSNP-id) ended up as components of type CodeableConcept. Do you think a identifier data type would be better?

@Grahame Grieve is there any plan to include identifier as a valid component type in R5?

view this post on Zulip Grahame Grieve (Oct 19 2019 at 20:58):

I'm not sure what you're asking - how would identifier be a valid component type? what's a component type - you mean Observation.component.value? That would be a question for OO

view this post on Zulip Diego Bosca (Oct 20 2019 at 16:00):

Yeah, that was the question. Do OO have a stream or something?

view this post on Zulip Lloyd McKenzie (Oct 20 2019 at 16:05):

#Orders and Observation WG

view this post on Zulip Diego Bosca (Oct 20 2019 at 16:25):

Thanks, asked there

view this post on Zulip Kevin Power (Oct 21 2019 at 14:10):

@Diego Bosca - Just to answer your question about dbSNP (feel free to post to #genomics if you want to learn more). We discussed this for a while, and for the reasons Lloyd mentions we landed on using CodeableConcept for what much of the genomics world calls an identifier (dbSNP id, ClinVar ID, Cosmic ID, etc ...). It isn't quite as obvious for things like HGVS and SPDI (which we don't have a spot for SPDI yet, but we likely will soon). We decided to use CodeableConcept as a way to nudge the producers of data to deliver those values in a more compliant fashion. We actually had a conversation about this recently here if you want to review.


Last updated: Apr 12 2022 at 19:14 UTC