curl "https://api.haau3.com/v1/fhir/r4/Location?organization=Organization-1093090342&_count=2" \
-H "Authorization: Bearer $HAAU3_API_KEY"
import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
const bundle = await haau3.searchLocation({ organization: "Organization-1093090342", _count: 2 });
console.log(bundle.entry?.length ?? 0);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
bundle = client.search_location(organization="Organization-1093090342", count=2)
print(len(bundle.get("entry", [])))
package main
import (
"context"
"fmt"
"log"
"github.com/haau3/haau3-go"
)
func main() {
ctx := context.Background()
client, err := haau3.NewClient() // reads HAAU3_API_KEY
if err != nil {
log.Fatal(err)
}
bundle, err := client.SearchLocation(ctx, haau3.SearchLocationParams{Organization: new("Organization-1093090342"), Count: new(2)})
if err != nil {
log.Fatal(err)
}
fmt.Println(len(bundle.Entry))
}
Find practice locations
Search Location by managing organization or name; the address parameters and status narrow a search but cannot stand alone. A distance search (near) is refused because the directory does not apply it.
curl "https://api.haau3.com/v1/fhir/r4/Location?organization=Organization-1093090342&_count=2" \
-H "Authorization: Bearer $HAAU3_API_KEY"
import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
const bundle = await haau3.searchLocation({ organization: "Organization-1093090342", _count: 2 });
console.log(bundle.entry?.length ?? 0);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
bundle = client.search_location(organization="Organization-1093090342", count=2)
print(len(bundle.get("entry", [])))
package main
import (
"context"
"fmt"
"log"
"github.com/haau3/haau3-go"
)
func main() {
ctx := context.Background()
client, err := haau3.NewClient() // reads HAAU3_API_KEY
if err != nil {
log.Fatal(err)
}
bundle, err := client.SearchLocation(ctx, haau3.SearchLocationParams{Organization: new("Organization-1093090342"), Count: new(2)})
if err != nil {
log.Fatal(err)
}
fmt.Println(len(bundle.Entry))
}
Authorizations
A live platform API key (haau3_sk_live_…), sent as Authorization: Bearer <key>. It works for every service outside the Sandbox. Create one on the API keys page at https://platform.haau3.com.
Headers
An id of your own for this request, as a UUID. It comes back in the X-Correlation-Id header and is kept with haau3's record of the request. Any value that is not a UUID is ignored. See https://docs.haau3.com/errors#request-ids.
Query Parameters
PractitionerRole:location brings the roles held at each location. Repeat the parameter to include several. Included entries do not count toward _count. The directory returns at most 100 included records per page; a page with more is refused with a 502 rather than served short.
1 - 16 elementsPractitionerRole:location Response
A FHIR Bundle with type: searchset. total is present when the directory sends one.
A FHIR R4 Bundle.