FHIR Chat · Doing "search-by-example" with a FHIR operation · implementers

Stream: implementers

Topic: Doing "search-by-example" with a FHIR operation


view this post on Zulip Jean Duteau (Mar 08 2022 at 18:37):

I have a client that is used to v3's Search-by-example method and would like to replicate that in FHIR. Rather than sending individual search parameters, they would like to use an operation and include a Patient resource as one parameter with values filled in as appropriate for the search. I've never seen any FHIR IG do this and the core specification does not speak to 'search by example'. Has anyone done this before as I'm looking for some advice.

view this post on Zulip David Pyke (Mar 08 2022 at 18:44):

Patient's $match operation does that

view this post on Zulip Daniel Venton (Mar 08 2022 at 18:45):

I'm sure there are more but PDEX sort of defines a search by example. $member-match, submit a patient resource with populated demographics get a patient id back.

view this post on Zulip Lloyd McKenzie (Mar 08 2022 at 19:21):

The only tricky bit is that you must satisfy the base cardinality constraints for the resource. Probably not an issue for Patient, but could be elsewhere.


Last updated: Apr 12 2022 at 19:14 UTC