FHIR Chat · ValueSet expansions · implementers

Stream: implementers

Topic: ValueSet expansions


view this post on Zulip Kevin Olbrich (Oct 20 2016 at 13:43):

I notice that in the documentation for valuesets that there is a link to a definition for the resource that points to the unexpanded ValueSet. The documentation then includes an expansion with the full codes, but there is no xml or json representation of that expansion linked. Is there some place that those expansions live? How were they generated?

view this post on Zulip Yunwei Wang (Oct 20 2016 at 13:45):

the definition of valueSet is the same as other resources. You should be able to access it using <baseUrl>/ValueSet/<valueSet-id>

view this post on Zulip Kevin Olbrich (Oct 20 2016 at 13:46):

For example, this one (http://hl7.org/fhir/valueset-audit-event-type.html)... it's easy to get the definition. Not so easy to get the expansion of the actual values in a machine parseable form.

view this post on Zulip Yunwei Wang (Oct 20 2016 at 13:49):

Because http://hl7.org/fhir/ValueSet/audit-event-type/$expand is not accessible though it should be.

view this post on Zulip Kevin Olbrich (Oct 20 2016 at 13:50):

you will notice that on that page, there is an HTML representation of the expansion, just not a JSON or XML one.

view this post on Zulip Grahame Grieve (Oct 20 2016 at 14:23):

this is deliberate; the specification itself is not a server that provides expansion services, nor would we do that

view this post on Zulip Grahame Grieve (Oct 20 2016 at 14:24):

any actual terminology server should provide that service. as does mine

view this post on Zulip Kevin Olbrich (Oct 20 2016 at 14:34):

Thanks Grahame, that at least pointed me in the right direction.

view this post on Zulip Kevin Olbrich (Oct 20 2016 at 20:07):

@Grahame Grieve when I do an expansion of a ValueSet from your server, I see a couple of weird things. I'm not sure if they are bugs or not. First, the expanded ValueSet doesn't have an 'id' element. Second, in the 'expansion' section, there can be multiple 'parameter' entries that are duplicated.

view this post on Zulip Grahame Grieve (Oct 20 2016 at 20:51):

no id because the expansions are not stored on my system

view this post on Zulip Grahame Grieve (Oct 20 2016 at 20:51):

I fixed an expansion bug this week (not in the live server yet) aroun duplicate parameters on expansions, but some of them repeat for a reason


Last updated: Apr 12 2022 at 19:14 UTC