curl "https://api.haau3.com/v1/fhir/r4/OrganizationAffiliation?network=Organization-ea579d05-454e-4359-8751-900c940a599a&_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.searchOrganizationAffiliation({
network: "Organization-ea579d05-454e-4359-8751-900c940a599a",
_count: 2,
});
console.log(bundle.entry?.length ?? 0);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
bundle = client.search_organization_affiliation(network="Organization-ea579d05-454e-4359-8751-900c940a599a", 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.SearchOrganizationAffiliation(ctx, haau3.SearchOrganizationAffiliationParams{Network: new("Organization-ea579d05-454e-4359-8751-900c940a599a"), Count: new(2)})
if err != nil {
log.Fatal(err)
}
fmt.Println(len(bundle.Entry))
}
Find the organizations in a network
Search OrganizationAffiliation: which organizations take part in which networks. network lists a network’s members; with participating-organization beside it, it asks whether the directory lists that organization in that network. The directory’s network data is sparse, so an organization a network’s records do not list is not shown to be out of network. For a network, the primary organization is the network itself.
curl "https://api.haau3.com/v1/fhir/r4/OrganizationAffiliation?network=Organization-ea579d05-454e-4359-8751-900c940a599a&_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.searchOrganizationAffiliation({
network: "Organization-ea579d05-454e-4359-8751-900c940a599a",
_count: 2,
});
console.log(bundle.entry?.length ?? 0);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
bundle = client.search_organization_affiliation(network="Organization-ea579d05-454e-4359-8751-900c940a599a", 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.SearchOrganizationAffiliation(ctx, haau3.SearchOrganizationAffiliationParams{Network: new("Organization-ea579d05-454e-4359-8751-900c940a599a"), 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
The affiliations the directory lists in one insurance network. An organization the network's records do not list is not shown to be out of network: the directory's network data is sparse. Give a Organization id, Organization/{id}, or the fullUrl this service returned. An address on another server is refused.
1 - 256Bring the organizations an affiliation names: OrganizationAffiliation:participating-organization, OrganizationAffiliation:primary-organization or OrganizationAffiliation:network. Repeat the parameter to include several. Included entries do not count toward _count.
1 - 16 elementsOrganizationAffiliation:participating-organization, OrganizationAffiliation:primary-organization, OrganizationAffiliation:network Response
A FHIR Bundle with type: searchset. total is present when the directory sends one.
A FHIR R4 Bundle.