FHIR Chat · Business identifier search · implementers

Stream: implementers

Topic: Business identifier search


view this post on Zulip Rob Resendez (Nov 06 2019 at 17:10):

The fhir spec has an example of searching by a (business)identifier...

GET [base]/Observation?subject:identifier=http://acme.org/fhir/identifier/mrn|123456

I'm trying to learn if there is a way to further distinguish that the subject is a particular resource type (for example, Patient versus Device)

Edit: source -- https://www.hl7.org/fhir/search.html#reference

view this post on Zulip Michele Mottini (Nov 06 2019 at 18:10):

GET [base]/Observation?patient:identifier=http://acme.org/fhir/identifier/mrn|123456 goes for only Patient

view this post on Zulip Michele Mottini (Nov 06 2019 at 18:10):

More generally you can use chained searches: GET [base]/Observation?subject:Device.identifier=http://acme.org/fhir/identifier/mrn|123456

view this post on Zulip Michele Mottini (Nov 06 2019 at 18:11):

(Note though that search by identifier are rarely implement, chained searches a bit more)


Last updated: Apr 12 2022 at 19:14 UTC