Stream: implementers
Topic: expand a filtered ValueSet
Katarina (Jul 30 2019 at 10:59):
When I expand a filtered ValueSet I get the following error "ConceptSets with a filter are not yet supported".
<ValueSet xmlns="http://hl7.org/fhir">
<id value="communityFacility"/>
<url value="https://example.de/fhir/ValueSet/communityFacility"/>
<version value="0.1"/>
<name value="CommunityFacility"/>
<status value="draft"/>
<description value="Types of organisation, including only community facilities"/>
<compose>
<include>
<system value="https://example.de/fhir/CodeSystem/organisationType"/>
<filter>
<property value="concept"/>
<op value="descendent-of"/>
<value value="2010100"/>
</filter>
</include>
</compose>
</ValueSet>
Is expand function not allowed for filtered ValueSets or did I something wrong?
Katarina (Jul 30 2019 at 16:45):
I am using vonk and do POST http://example.de/vonk/administration/ValueSet/$expand with
<Parameters xmlns="http://hl7.org/fhir">
<parameter>
<name value="url" />
<valueString
value="https://example.de/fhir/ValueSet/communityFacility" />
</parameter>
</Parameters>
in body.
Can anybody help?
Lloyd McKenzie (Jul 30 2019 at 17:30):
@Christiaan Knaap ?
Michael Lawley (Jul 31 2019 at 01:13):
This may be a Vonk limitation, but there's such no limit on $expand
and ValueSets that use a filter (indeed, that's exactly the purpose of $expand
).
Note, however, you do have a type error in your Parameters resource - it should be valueUri
not valueString
:
<Parameters xmlns="http://hl7.org/fhir"> <parameter> <name value="url" /> <valueUri value="https://example.de/fhir/ValueSet/communityFacility" /> </parameter> </Parameters>
Katarina (Jul 31 2019 at 10:13):
Ok, thank you.
Christiaan Knaap (Aug 20 2019 at 13:10):
@Katarina : As @Michael Lawley guessed correctly, this is a limitation of the implementation in Vonk (that is why we report that it is not supported, otherwise we would report that your request is incorrect). This is also mentioned in the documentation: http://docs.simplifier.net/vonk/features/terminology.html#valueset-expand.
Last updated: Apr 12 2022 at 19:14 UTC