FHIR Chat · search on extension element · implementers

Stream: implementers

Topic: search on extension element


view this post on Zulip John Moehrke (Apr 25 2017 at 02:50):

Is it possible to search against an core extension? For example in Patient there is an extension for mothersMaidenName. Is this just an element within the Resource, or is there a way to search given a mothers maiden name?

view this post on Zulip Josh Mandel (Apr 25 2017 at 02:57):

There's a way to search, but not generically: the server needs to support a search parameter like mothers-maiden-namethat specifically indexes this extension

view this post on Zulip Lloyd McKenzie (Apr 25 2017 at 13:26):

You can define - and expose support for - searching using any arbitrary search parameter using the SearchParameter resource

view this post on Zulip John Moehrke (Apr 25 2017 at 14:17):

okay. I thought that there was a way for an extension to indicate that it was searchable. Especially useful/reasonable with core extensions.

view this post on Zulip Lloyd McKenzie (Apr 25 2017 at 14:33):

All elements are theoretically searchable - both core and extension. And the same element could have 6 or 7 different SearchParameters defined for it that all have different behavior - for example Patient.name could have a search parameter that did soundex, one that did a custom phonetic search, one that only looked at given and family names, etc. So knowing the element isn't enough to define the SearchParameter.


Last updated: Apr 12 2022 at 19:14 UTC