Stream: implementers
Topic: Query on Observation.patient
John Moehrke (Apr 28 2016 at 14:55):
Given that Observation.subject could be a Patient, Group, Device, or Location; and given that there is a 'patient' search parameter. Can I simply search using &patient.identifier=urn:oid:1.2.3.4|5678? To get all the Observations where the Patient has an identifier given. Meaning the search parameter has already set the type of subject to Patient, so no need to do the [type]/[id] ---- the example for this on http://hl7-fhir.github.io/search.html#reference is telling us different. But this example is not showing the use of the 'patient' search parameter, always using 'subject'.
Lloyd McKenzie (Apr 28 2016 at 20:43):
The patient search parameter constrains the type to Patient only, so I believe the answer to that question is "yes".
John Moehrke (Apr 28 2016 at 21:35):
can this be added as an example on the search.html#reference page? just one more example.
Lloyd McKenzie (Apr 28 2016 at 21:39):
I'm not sure it would add that much.
Josh Mandel (Apr 28 2016 at 22:34):
I would say the semantics are unclear. Or can someone point to a description of how the patient search parameter is supposed to work?
Eric Haas (Apr 28 2016 at 22:53):
I could not find it either . Is basically a shortcut for ' GET [base]/Observation?subject:Patient=[id]' created a tracker [#9923]
Last updated: Apr 12 2022 at 19:14 UTC