curl "https://api.haau3.com/v1/fhir/r4/metadata" \
-H "Authorization: Bearer $HAAU3_API_KEY"
import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
const metadata = await haau3.fhirMetadata();
console.log(metadata.resourceType);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
metadata = client.fhir_metadata()
print(metadata["resourceType"])
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)
}
metadata, err := client.FHIRMetadata(ctx, haau3.FHIRMetadataParams{})
if err != nil {
log.Fatal(err)
}
fmt.Println(metadata.ResourceType())
}
Capability statement
FHIR [base]/metadata. Returns the CapabilityStatement for this service, or a TerminologyCapabilities when called with ?mode=terminology, which lists the code systems served and names those that are recognised but not served. mode is the only parameter it takes.
curl "https://api.haau3.com/v1/fhir/r4/metadata" \
-H "Authorization: Bearer $HAAU3_API_KEY"
import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
const metadata = await haau3.fhirMetadata();
console.log(metadata.resourceType);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
metadata = client.fhir_metadata()
print(metadata["resourceType"])
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)
}
metadata, err := client.FHIRMetadata(ctx, haau3.FHIRMetadataParams{})
if err != nil {
log.Fatal(err)
}
fmt.Println(metadata.ResourceType())
}
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
Response
A FHIR CapabilityStatement, or a TerminologyCapabilities when mode=terminology.
- Option 1
- Option 2
A FHIR R4 CapabilityStatement.