FHIR Chat · Location Search Parameters · hapi

Stream: hapi

Topic: Location Search Parameters


view this post on Zulip Sajith Jamal (Mar 02 2020 at 21:28):

Hi All,

I am trying to make some location based queries on the public test server to see how HAPI supports it

DTSU3 seems to work as expected for the following query 'http://hapi.fhir.org/baseDstu3/HealthcareService?location.near=-33.6547580:150.7226319&location.near-distance=le10.0|http://unitsofmeasure.org|km':
image.png

However for R4 I am getting an error for the following query 'http://hapi.fhir.org/baseR4/HealthcareService?location.near=-36.8485:174.7633'
don't know how to convert param type special:
image.png

This sort of feels like somewhat of a regression?
@James Agnew @Grahame Grieve

do you have any insight into this?

view this post on Zulip James Agnew (Mar 03 2020 at 01:07):

Hi Sajith,

Chained searches on spatial queries are currently not working. This is a known issue, and is currently being worked on. I believe the plan is to merge a fix this week.

view this post on Zulip Sajith Jamal (Mar 03 2020 at 01:39):

ah thanks a lot for the reply...will wait for the merge

view this post on Zulip Brian Postlethwaite (Mar 09 2020 at 12:05):

The new R4 format works with chaining, and also multiple values (or with comma separation)

view this post on Zulip Jens Villadsen (Mar 10 2020 at 19:00):

What case actually drove the http://build.fhir.org/location.html#positional feature? Isn't it just as useful to be able to find the nearest patients based on their http://build.fhir.org/extension-geolocation.html ?

view this post on Zulip Aditya Kurkure (May 16 2021 at 06:29):

I am trying to use the near search param like this http://hapi.fhir.org/baseR4/Location?near=19.1590|72.9986 .
However I get an error saying operator does not exist : double precision = character varying.
Is there something wrong with my query?


Last updated: Apr 12 2022 at 19:14 UTC