Search parameter "near"
# support
s
Hi! I'm trying to search ressource Location by near parameter (Location.near) i tried this
Copy code
{
  LocationList(near: "49.0065943|2.2585148|50|km") {
    id
    name
    position { latitude longitude }
  }
}
but i get this : "Unrecognized search parameter type: special" Docs list near for Location (type special) — is near actually supported in Medplum (REST/GraphQL)? thanks
a
Thanks for bringing this up from what I can see (ill double check with the team tomorrow morning) that near is documented in the docs, but theres a bug in our implementation. https://github.com/medplum/medplum/issues/8418 You can track it here, in the meantime you should be able to work around it with the position.latitude, position.longitude and haversine.
32 Views