FHIR Chat · clinical-patient search parameter · implementers

Stream: implementers

Topic: clinical-patient search parameter


view this post on Zulip Eero Kelly (Apr 17 2020 at 20:18):

It seems that the clinical-patient search parameter should always refer to resources of type Patient, from https://www.hl7.org/fhir/search.html#reference

In some cases, search parameters are defined with an implicitly limited scope. For example, Observation has an element subject, which is a reference to one of a number of types. This has a matching search parameter subject, which refers to any of the possible types. In addition to this, there is another search parameter patient, which also refers to Observation.subject, but is limited to only include references of type Patient. When using the patient search parameter, there is no need to specify ":Patient" as a modifier, or "Patient/" in the search value, as this must always be true.

So the definition seems to be wrong on https://www.hl7.org/fhir/deviceusestatement.html#search, where it isn't restricting subject by type, which allows both Patient and Group.

Is this correct?

view this post on Zulip David Pyke (Apr 17 2020 at 20:29):

The patient search parameter should always point to patient. the subject search can have both. That should be fixed. Please open a Jira ticket.

view this post on Zulip Eero Kelly (Apr 20 2020 at 16:47):

https://jira.hl7.org/browse/FHIR-26900
Thank you!


Last updated: Apr 12 2022 at 19:14 UTC