Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FHIR "near" search #1260

Open
reshmakh opened this issue Dec 10, 2022 · 0 comments
Open

FHIR "near" search #1260

reshmakh opened this issue Dec 10, 2022 · 0 comments
Labels
enhancement New feature or request search Features and fixes related to search

Comments

@reshmakh
Copy link
Member

Have had several geolocation search requests from customers as they build out their applications

See FHIR "Location" resource "near" search parameter:
https://hl7.org/fhir/location.html#search

See FHIR "special" parameters:
https://hl7.org/fhir/search.html#special

Health Gorilla added the "near" to other resource types such as "Practitioner":
https://developer.healthgorilla.com/reference/search-7

AWS Aurora Postgres supports the built in PostGIS extension:
https://aws.amazon.com/about-aws/whats-new/2021/10/amazon-aurora-postgresql-supports-postgis/

That supports "spatial indexes" and "find nearest point" queries:
https://gis.stackexchange.com/questions/136403/postgis-nearest-points-with-st-distance-knn

We would need a geocoding API to go from "address" to "lat long".

Google Maps is the dominant player:
https://developers.google.com/maps/documentation/geocoding/overview
https://developers.google.com/maps/documentation/geocoding/usage-and-billing

@reshmakh reshmakh added enhancement New feature or request search Features and fixes related to search labels Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request search Features and fixes related to search
Projects
None yet
Development

No branches or pull requests

2 participants