eHealthExchange Healthcare Directory Implementation Guide
1.8.1 - Release 1
| Official URL: https://sequoiaproject.org/fhir/ehx/OperationDefinition/search-near | Version: 1.8.1 | |||
| Active as of 2025-10-27 | Computable Name: SearchNear | |||
Returns organizations containing locations that are within a specified radius of one or more specified addresses. See the following example, which searches for participants with endpoints that are within ten miles of the White House:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "address",
"valueAddress": {
"line": [
"1600 Pennsylvania Avenue NW"
],
"city": "Washington",
"state": "DC",
"postalCode": "20500"
}
},
{
"name": "radius",
"valueDistance": {
"value": 10,
"system": "http://unitsofmeasure.org",
"code": "[mi_i]"
}
},
{
"name": "type",
"valueCoding": {
"system": "https://sequoiaproject.org/fhir/sphd/CodeSystem/OrganizationType",
"code": "Participant"
}
},
{
"name": "endpoint:missing",
"valueBoolean": false
}
]
}
URL: [base]/Organization/$search-near
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | address | 1..* | Address | Addresses around which to search. | ||
| IN | radius | 1..1 | Distance | Threshold radius. | ||
| IN | type | 0..* | Coding | Filter on Organization.type. | ||
| IN | endpoint:missing | 0..1 | boolean | Filter on absence of Organization.endpoint. | ||
| OUT | return | 1..1 | Bundle | Bundle of organizations within the threshold of one or more addresses. |