FHIR Chat · ValueSet search parameter "reference" definition · implementers

Stream: implementers

Topic: ValueSet search parameter "reference" definition


view this post on Zulip Tyge Folke Nielsen (Feb 14 2022 at 08:07):

The ValueSet spec for search parameters (http://hl7.org/fhir/5.0.0-snapshot1/valueset.html#search) defines:

reference uri A code system included or excluded in the value set or an imported value set ValueSet.compose.include.system

The description says that the reference can be to a code system or an imported value set, but the path is only concerned with code system.

I think the path should be: "ValueSet.compose.include.system | ValueSet.compose.include.valueSet"

This will allow me to search value sets depending on other value sets.

view this post on Zulip Lloyd McKenzie (Feb 14 2022 at 15:27):

My reading is that it means any code system directly referenced or referenced within included value sets. It's not talking about ValueSet URLs at all. If you want to search by referenced valueset, that'd be a distinct search criteria. Feel free to submit a change request proposing one.

view this post on Zulip Tyge Folke Nielsen (Feb 21 2022 at 08:37):

OK, I see that I may have misread the description.
However I doubt that the definition "ValueSet.compose.include.system" is recursive, so it will not find value sets dependent on a code system through another value set.
And I need to add another search parameter to allow searching for value sets dependent on other value set.

view this post on Zulip Lloyd McKenzie (Feb 21 2022 at 16:52):

Agree that the search parameter, as defined, should be flagged as 'special' rather than 'normal' to handle the recursive aspect. So please submit a change request for that to be fixed. Also, if you want a new search parameter, you could submit a request for a standard one to be defined - though you have the ability to create your own too.


Last updated: Apr 12 2022 at 19:14 UTC