Stream: methodology
Topic: search : reverse chaining
Frédéric Laurent (May 05 2021 at 10:41):
In the reverse chaining section,
https://www.hl7.org/fhir/search.html#has
the following example
GET [base]/Patient?_has:Observation:patient:_has:AuditEvent:entity:user=MyUserId
Fetch all the patients that have an Observation where the observation has an audit event from a specific user.
doesn't seem to be possible, there is no AuditEvent link in the Observation ressource.
Am I wrong ?
Is this example correct ?
GET [base]/Patient?_has:Observation:patient:_has:Practitioner:performer:name=Pasteur
Fetch all the patients that have an Observation where the observation has a performer with a specific name.
Grahame Grieve (May 05 2021 at 12:28):
hmm the AuditEvent example is problematic
Lloyd McKenzie (May 05 2021 at 15:45):
@Frédéric Laurent Can you submit a change request?
Frédéric Laurent (May 05 2021 at 16:08):
Yes I will.
Could you confirm that my example (performer) is correct ?
Lloyd McKenzie (May 05 2021 at 18:28):
I'm actually not sure :) @Grahame Grieve ?
Grahame Grieve (Jun 14 2021 at 23:13):
@Frédéric Laurent the performer case doesn't look right - why change patient in there? you just look at performer directly?
Last updated: Apr 12 2022 at 19:14 UTC