FHIR Chat · What should populate Valueset-expansionSource? · terminology

Stream: terminology

Topic: What should populate Valueset-expansionSource?


view this post on Zulip Robert McClure (Mar 26 2019 at 16:42):

During our ValueSet Expansion call today we were wondering what existing FHIR Terminology server implementations are using to populate http://hl7.org/fhir/extension-valueset-expansionsource.html. We think this should be some sort of direct link to the actual physical versioned value set definition that was used to create the expansion. Can someone that has implemented this (or plans to) comment?

view this post on Zulip Yunwei Wang (Mar 26 2019 at 17:40):

What is the difference between this extension and ValueSet.url property?

view this post on Zulip Lloyd McKenzie (Mar 26 2019 at 18:00):

ValueSet.url is the canonical identifier for the value set. expansion-source is the URL of the terminology server that provides authoritative expansions.

view this post on Zulip Brian Kaney (Mar 26 2019 at 18:09):

(deleted)

view this post on Zulip Yunwei Wang (Mar 26 2019 at 18:21):

The definition of the extension says "The logical URL of the ValueSet definition that was used to generate this expansion."
@Lloyd McKenzie you mean it should be the url of the server not of the value set?

view this post on Zulip Lloyd McKenzie (Mar 26 2019 at 18:26):

Yeah, that definition makes absolutely no sense to me.

view this post on Zulip Lloyd McKenzie (Mar 26 2019 at 18:26):

@Grahame Grieve ?

view this post on Zulip Grahame Grieve (Mar 26 2019 at 21:02):

I have not implemented this, and I'll be surprised if anyone else, since it's a real corner case that arose from the VSD project. I think the definition is broken in that it should say 'literal URL' not logical URL

view this post on Zulip Rob Hausam (Mar 26 2019 at 23:07):

value set definitions don't have independent urls
it would be the canonical url of the value set (ValueSet.url) that contains the 'compose' that the expansion was generated from
and it's not needed except in the case of a "bare" expansion which is persisted and distributed without the compose (not generally good practice, imo, but not explicitly disallowed)
I think actually, if this is done at all, the canonical url should be the same both with and without the 'compose' present, so if we did that then it doesn't seem like there would be a need to have the extension
maybe I'm forgetting something from our earlier discussion, but if I am I can't remember what it is :)
the extension documentation at present doesn't offer any useful explanation

view this post on Zulip Grahame Grieve (Mar 27 2019 at 03:30):

the thing was if the value set had moved from it's canonical url

view this post on Zulip Robert McClure (Mar 29 2019 at 19:25):

As I alluded to in my OP, I'd agree with @Grahame Grieve that what makes sense to me, FWIW, is this would be the "Literal url" of the specific resource instance used to create the expansion. Of course, that should be a versioned instance of the value set. I'll note, this is not the "trusted -expansion". If that suggestion doesn't fly, then I'd be ok with expansionSource holding a versioned canonical url for the value set resource actually used to generate the expansion.

view this post on Zulip Grahame Grieve (Mar 29 2019 at 19:27):

the value set already has url + version in it; no need to repeat that somewhere. I think it's the literal source not the canonical url

view this post on Zulip Yunwei Wang (Mar 30 2019 at 21:55):

What is the difference between literal source and canonical url?

view this post on Zulip Grahame Grieve (Mar 31 2019 at 02:31):

canonical URI is fixed in the resource and doesn't change as you move it around. Literal URL is where you actually got it from - which might be some repository or cache

view this post on Zulip Grahame Grieve (Mar 31 2019 at 02:32):

e.g. I can get R3 canonical http:/hl7.org/fhir/ValueSet/yesnomaybe from the literal location http:/hl7.org/fhir/STU3/ValueSet/yesnomaybe

view this post on Zulip Carol Macumber (Apr 04 2019 at 17:26):

Agree with Grahame and Rob, that Valueset-expansionSource would be the "Literal url" of the specific resource instance used to create the expansion


Last updated: Apr 12 2022 at 19:14 UTC