Stream: Da+Vinci+PDex+Plan-Net
Topic: Search on Address
James Derrickson (May 10 2021 at 18:44):
Noticing that the requirements for address Search for a Location is slightly different that an address search for an Organization. Is there a reason why they would be different?
Da Vinci - Plan Net: from: http://hl7.org/fhir/us/davinci-pdex-plan-net/artifacts.html#2
Plannet_sp_location_address Select Locations with the specified address
Plannet_sp_organization_address Select organizations with the specified address (matches any of the string elements of an address)
R4 Defines:
http://hl7.org/fhir/R4/location.html#search
For Location Search - address string A (part of the) address of the location
For Organization Search -
http://hl7.org/fhir/R4/organization.html#search
address string 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
Sean Mahoney (May 11 2021 at 18:53):
the descriptions are different, but the search expressions are the same (.address, with exact or contains)... compare:
https://build.fhir.org/ig/HL7/davinci-pdex-plan-net/SearchParameter-organization-address.html
https://build.fhir.org/ig/HL7/davinci-pdex-plan-net/SearchParameter-location-address.html
James Derrickson (May 21 2021 at 16:33):
we have seen behavior that location address does allow exact or contains but we cannot do exact on a subcomponent of address for example an exact match on address=WA where the organization address does do this exact match on a sub component like state which out specifying a search on address-state
Sean Mahoney (May 27 2021 at 15:02):
Both of the below queries return a 200 ok for me. Are you seeing something different?
http://davinci-plan-net-ri.logicahealth.org/fhir/Location?address=WA
http://davinci-plan-net-ri.logicahealth.org/fhir/Organization?address=WA
Last updated: Apr 12 2022 at 19:14 UTC