FHIR Chat · Searching for Extensions · implementers

Stream: implementers

Topic: Searching for Extensions


view this post on Zulip Grahame Grieve (Dec 10 2019 at 02:35):

It seems that there's no way to search for all extensions that are used with a specific type.

view this post on Zulip Grahame Grieve (Dec 10 2019 at 02:35):

e.g. I want to search for all extensions that pertain to address

view this post on Zulip Grahame Grieve (Dec 10 2019 at 02:36):

I can do this:

http://test.fhir.org/r4/StructureDefinition?ext-context=Address

or this

http://test.fhir.org/r4/StructureDefinition?ext-context=Address.line

But not any extension that pertains to anywhere in Address...

view this post on Zulip Grahame Grieve (Dec 10 2019 at 02:36):

unless someone out there has any ideas I don't. ? @Christiaan Knaap can Vonk do this somehow?

view this post on Zulip Christiaan Knaap (Dec 10 2019 at 09:57):

With a custom searchparameter that extracts the resourcetype part of the context.expression (assuming that can be done with fhirpath).
Or the other way around: a custom sp that extracts StructureDefinition.differential.element.type.profile where type.code = Extension.

view this post on Zulip nicola (RIO/SS) (Dec 10 2019 at 11:30):

In aidbox this query is GET /Attribute?.extensionUrl$isnull=false&.resource.id=Address :)

view this post on Zulip Christiaan Knaap (Dec 10 2019 at 11:37):

Thanks @nicola (RIO/SS) . Definitely efficient, but not FHIR Search ;-)

view this post on Zulip nicola (RIO/SS) (Dec 10 2019 at 12:21):

It could be FHIR x.0.1 :)

view this post on Zulip nicola (RIO/SS) (Dec 10 2019 at 12:23):

The community just has to decide to move to "first-class-extensions"!


Last updated: Apr 12 2022 at 19:14 UTC