FHIR Chat · Subscription criteria · subscriptions

Stream: subscriptions

Topic: Subscription criteria


view this post on Zulip Brian Reinhold (Oct 09 2018 at 09:17):

I am confused about the Subscription search criteria
If I set the Subscription.criteria to "Observation?subject=Patient/sisansarahId-1.2.3.4.5.6.7.8.10" or
"Observation?patient=sisansarahId-1.2.3.4.5.6.7.8.10"
they both succeed and give the same result. I would expect the first one to work but the second one to fail. Why does the second one succeed?

view this post on Zulip Christiaan Knaap (Dec 04 2018 at 12:04):

This is not special to Subscription.criteria, it is a more or less equivalent search. Observation defines search parameters subject and patient, where the latter is effectively a restriction of the former to the targettype 'Patient'. So if you search by a referenced Patient, both behave the same. But subject also allows you to search by referenced Group, Device or Location.


Last updated: Apr 12 2022 at 19:14 UTC