FHIR Chat · SearchParameter individual-* definitions fix needed · implementers

Stream: implementers

Topic: SearchParameter individual-* definitions fix needed


view this post on Zulip Steve Munini (Jul 14 2018 at 14:12):

In all of the individual-* search parameter definitions, I believe a fix is needed. Here is an example of "individual-address" from search-parameter.xml:

<entry>
<fullUrl value="http://hl7.org/fhir/SearchParameter/individual-address"/>
<resource>
<SearchParameter>
<id value="individual-address"/>
<url value="http://hl7.org/fhir/SearchParameter/individual-address"/>
<name value="address"/>
<status value="draft"/>
<experimental value="false"/>
<date value="2018-07-11T17:38:29+00:00"/>
<publisher value="Health Level Seven International (Patient Administration)"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/pafm/index.cfm"/>
</telecom>
</contact>
<description value="Multiple Resources: * RelatedPerson: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * Practitioner: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * Person: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * Patient: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text "/>
<code value="address"/>
<base value="RelatedPerson"/>
<base value="Practitioner"/>
<base value="Person"/>
<base value="Patient"/>
<type value="string"/>
<expression value="RelatedPerson.address | Practitioner.address | Patient.address"/>
<xpath value="f:RelatedPerson/f:address | f:Practitioner/f:address | f:Person/f:address | f:Patient/f:address | f:Practitioner/f:address | f:Patient/f:address | f:Person/f:address"/>
<xpathUsage value="normal"/>
<multipleOr value="true"/>
<multipleAnd value="true"/>
</SearchParameter>
</resource>
</entry>

In the <expression> tag, "Person.address" is missing, and in the <xpath> tag, "f:Person/f:address" is listed twice as is "f:Practitioner/f:address" and "f:Patient/f:address"

There are similar corrections needed in all of the "individual-*" search parameter definitions. The duplicate entries in <xpath> are not an issue for me, but the missing Person.address in <expression> is. I would be happy to file a tracker for this if needed.

view this post on Zulip Lloyd McKenzie (Jul 14 2018 at 17:20):

Yup, that looks like a bug. Can you submit a change proposal?

view this post on Zulip Steve Munini (Jul 14 2018 at 17:26):

https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=17481

view this post on Zulip Lloyd McKenzie (Jul 14 2018 at 17:46):

Thanks


Last updated: Apr 12 2022 at 19:14 UTC