curl "https://api.haau3.com/v1/fhir/r4/Slot?provider-identifier=http://hl7.org/fhir/sid/us-npi%7C2900000227&_include=Slot:schedule&_include:iterate=Schedule:actor&_include:iterate=PractitionerRole:practitioner&_include:iterate=HealthcareService:location&_count=1" \
-H "Authorization: Bearer $HAAU3_API_KEY"import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
// Open appointment slots of one provider, found by NPI, each with its schedule, location and provider.
const page = await haau3.searchSlotWithIncludes({
"provider-identifier": "http://hl7.org/fhir/sid/us-npi|2900000227",
_count: 1,
});
const [view] = haau3.slotViews(page);
// A name's text, or its given and family names when the publisher sent no text.
const name = view?.practitioners[0]?.name?.[0];
console.log(
view
? {
start: view.slot.start,
practitioner: name?.text ?? ([name?.given?.join(" "), name?.family].filter(Boolean).join(" ") || undefined),
location: view.locations[0]?.name,
bookingLink: view.bookingLink,
}
: "No open slots matched.",
);
import json
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
# Open appointment slots of one provider, found by NPI, each with its schedule, location and provider.
page = client.search_slot_with_includes(provider_identifier="http://hl7.org/fhir/sid/us-npi|2900000227", count=1)
views = client.slot_views(page)
if views:
view = views[0]
# A name's text, or its given and family names when the publisher sent no text.
names = [
name.get("text") or " ".join([*name.get("given", []), name.get("family", "")]).strip() or None
for practitioner in view.practitioners
for name in practitioner.get("name", [])
]
places = [location.get("name") for location in view.locations]
print(
json.dumps(
{
"start": view.slot.get("start"),
"practitioner": names[0] if names else None,
"location": places[0] if places else None,
"booking_link": view.booking_link,
},
indent=2,
)
)
else:
print("No open slots matched.")
package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
"strings"
"github.com/haau3/haau3-go"
)
func main() {
ctx := context.Background()
client, err := haau3.NewClient() // reads HAAU3_API_KEY
if err != nil {
log.Fatal(err)
}
// Open appointment slots of one provider, found by NPI, each with its schedule, location and provider.
page, err := client.SearchSlotWithIncludes(ctx, haau3.SearchSlotWithIncludesParams{ProviderIdentifier: new("http://hl7.org/fhir/sid/us-npi|2900000227"), Count: new(1)})
if err != nil {
log.Fatal(err)
}
views, err := haau3.SlotViews(page)
if err != nil {
log.Fatal(err)
}
if len(views) == 0 {
fmt.Println("No open slots matched.")
return
}
view := views[0]
slot := struct {
Start *string `json:"start"`
Practitioner *string `json:"practitioner,omitempty"`
Location *string `json:"location,omitempty"`
BookingLink string `json:"bookingLink,omitempty"`
}{Start: view.Slot.Start, BookingLink: view.BookingLink}
if len(view.Practitioners) > 0 && len(view.Practitioners[0].Name) > 0 {
// A name's text, or its given and family names when the publisher sent no text.
name := view.Practitioners[0].Name[0]
parts := append([]string{}, name.Given...)
if name.Family != nil {
parts = append(parts, *name.Family)
}
joined := strings.TrimSpace(strings.Join(parts, " "))
switch {
case name.Text != nil:
slot.Practitioner = name.Text
case joined != "":
slot.Practitioner = &joined
}
}
if len(view.Locations) > 0 {
slot.Location = view.Locations[0].Name
}
out := json.NewEncoder(os.Stdout)
out.SetEscapeHTML(false)
out.SetIndent("", " ")
if err := out.Encode(slot); err != nil {
log.Fatal(err)
}
}
{
"resourceType": "Bundle",
"type": "searchset",
"total": 141,
"link": [
{
"relation": "self",
"url": "https://api.haau3.com/v1/fhir/r4/Slot?status=free&start=ge2026-11-24T03%3A07%3A33Z&provider-identifier=http%3A%2F%2Fhl7.org%2Ffhir%2Fsid%2Fus-npi%7C2900000227&_include=Slot%3Aschedule&_include:iterate=Schedule%3Aactor&_include:iterate=PractitionerRole%3Apractitioner&_include:iterate=HealthcareService%3Alocation&_count=1"
},
{
"relation": "next",
"url": "https://api.haau3.com/v1/fhir/r4/Slot?status=free&start=ge2026-11-24T03%3A07%3A33Z&provider-identifier=http%3A%2F%2Fhl7.org%2Ffhir%2Fsid%2Fus-npi%7C2900000227&_include=Slot%3Aschedule&_include:iterate=Schedule%3Aactor&_include:iterate=PractitionerRole%3Apractitioner&_include:iterate=HealthcareService%3Alocation&_count=1&page=eyJ2IjoxLCJrIjpbIjIwMjYtMTEtMjRUMTM6MDA6MDAuMDAwMDAwWiIsIjE0YTQ4OWU4ODg4ZGYzNGQ1MmVjOGUwNDhlNjFiZGM5Il0sInMiOiIzYjQwZmExOTZlOTg1MTkzIn0"
}
],
"entry": [
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Slot/14a489e8888df34d52ec8e048e61bdc9",
"resource": {
"id": "14a489e8888df34d52ec8e048e61bdc9",
"end": "2026-11-24T09:00:00-05:00",
"meta": {
"source": "https://api.haau3.com/scheduling/Slot/slot-haau3-rad-20261124-0800",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:56.265Z"
},
"start": "2026-11-24T08:00:00-05:00",
"status": "free",
"schedule": {
"reference": "Schedule/e859c18cc8cc1a6ab1c9b7b63c5c60a1"
},
"extension": [
{
"url": "http://hl7.org/fhir/uv/smart-scheduling-links/StructureDefinition/patient-type",
"valueCoding": {
"code": "existptonly",
"system": "http://terminology.hl7.org/CodeSystem/accepting-patients"
}
},
{
"url": "http://hl7.org/fhir/uv/smart-scheduling-links/StructureDefinition/booking-deep-link",
"valueUrl": "https://docs.haau3.com/scheduling/slot-publisher?slot=slot-haau3-rad-20261124-0800"
},
{
"url": "http://hl7.org/fhir/uv/smart-scheduling-links/StructureDefinition/booking-phone",
"valueContactPoint": {
"value": "+1-617-555-0100",
"system": "phone"
}
}
],
"identifier": [
{
"value": "slot-haau3-rad-20261124-0800",
"system": "https://api.haau3.com/scheduling/"
}
],
"resourceType": "Slot"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Location/Location-scheduling-a6c987ccde51c74f24d100fffbc7124d",
"resource": {
"id": "Location-scheduling-a6c987ccde51c74f24d100fffbc7124d",
"meta": {
"source": "https://api.haau3.com/scheduling/Location/loc-haau3-imaging",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"name": "haau3 Cambridge Imaging Center",
"status": "active",
"address": {
"city": "Cambridge",
"line": [
"55 Kendall Square"
],
"state": "MA",
"postalCode": "02142"
},
"telecom": [
{
"value": "+1-617-555-0188",
"system": "phone"
},
{
"value": "https://haau3.com/locations/imaging",
"system": "url"
}
],
"position": {
"latitude": 42.362611,
"longitude": -71.0876102
},
"identifier": [
{
"value": "loc-haau3-imaging",
"system": "https://haau3.com/synthetic/location"
},
{
"value": "loc-haau3-imaging",
"system": "https://api.haau3.com/scheduling/"
}
],
"description": "Ground floor, with a step-free entrance.",
"physicalType": {
"coding": [
{
"code": "ph",
"system": "http://hl7.org/fhir/uv/smart-scheduling-links/CodeSystem/temporary",
"display": "Physical"
}
]
},
"resourceType": "Location"
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Practitioner/Practitioner-scheduling-9e042d6421d98d92b6944395e7d1ae8d",
"resource": {
"id": "Practitioner-scheduling-9e042d6421d98d92b6944395e7d1ae8d",
"meta": {
"source": "https://api.haau3.com/scheduling/Practitioner/sample-dr-wei-example",
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|6.1.0"
],
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"name": [
{
"text": "Dr. Wei Example",
"given": [
"Wei"
],
"family": "Example",
"prefix": [
"Dr."
]
}
],
"active": true,
"gender": "female",
"extension": [
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2028-9",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Asian"
}
},
{
"url": "text",
"valueString": "Asian"
}
]
},
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2186-5",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Not Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Not Hispanic or Latino"
}
]
}
],
"identifier": [
{
"value": "sample-dr-wei-example",
"system": "https://haau3.com/synthetic/practitioner"
},
{
"value": "2900000227",
"system": "http://hl7.org/fhir/sid/us-npi"
},
{
"value": "sample-dr-wei-example",
"system": "https://api.haau3.com/scheduling/"
}
],
"resourceType": "Practitioner",
"communication": [
{
"text": "English",
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47",
"display": "English"
}
]
},
{
"text": "Chinese",
"coding": [
{
"code": "zh",
"system": "urn:ietf:bcp:47",
"display": "Chinese"
}
]
}
],
"qualification": [
{
"code": {
"text": "Doctor of Medicine",
"coding": [
{
"code": "MD",
"system": "http://terminology.hl7.org/CodeSystem/v2-0360",
"display": "Doctor of Medicine"
}
]
}
}
]
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/PractitionerRole/PractitionerRole-scheduling-c56a5082f9e86dd25a0325e925d6bf82",
"resource": {
"id": "PractitionerRole-scheduling-c56a5082f9e86dd25a0325e925d6bf82",
"meta": {
"source": "https://api.haau3.com/scheduling/PractitionerRole/prole-haau3-radiology",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"active": true,
"location": [
{
"reference": "Location/Location-scheduling-a6c987ccde51c74f24d100fffbc7124d"
}
],
"specialty": [
{
"text": "Diagnostic Radiology Physician",
"coding": [
{
"code": "2085R0202X",
"system": "http://nucc.org/provider-taxonomy",
"display": "Diagnostic Radiology Physician"
}
]
}
],
"identifier": [
{
"value": "prole-haau3-radiology",
"system": "https://api.haau3.com/scheduling/"
}
],
"practitioner": {
"display": "Dr. Wei Example",
"reference": "Practitioner/Practitioner-scheduling-9e042d6421d98d92b6944395e7d1ae8d"
},
"resourceType": "PractitionerRole"
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Schedule/e859c18cc8cc1a6ab1c9b7b63c5c60a1",
"resource": {
"id": "e859c18cc8cc1a6ab1c9b7b63c5c60a1",
"meta": {
"source": "https://api.haau3.com/scheduling/Schedule/sched-haau3-radiology",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"actor": [
{
"reference": "Location/Location-scheduling-a6c987ccde51c74f24d100fffbc7124d"
},
{
"reference": "PractitionerRole/PractitionerRole-scheduling-c56a5082f9e86dd25a0325e925d6bf82"
}
],
"identifier": [
{
"value": "sched-haau3-radiology",
"system": "https://api.haau3.com/scheduling/"
}
],
"serviceType": [
{
"text": "Diagnostic Radiology/Xray/CT/Fluoroscopy",
"coding": [
{
"code": "209",
"system": "http://terminology.hl7.org/CodeSystem/service-type",
"display": "Diagnostic Radiology/Xray/CT/Fluoroscopy"
}
]
}
],
"resourceType": "Schedule"
},
"search": {
"mode": "include"
}
}
]
}Find slots
Search open appointment slots from SMART Scheduling Links publishers. The answer is a FHIR searchset Bundle whose matches are Slots, each as its publisher published it (the guide’s Slot profile), in order of start and then id. Each Slot’s Schedule, and the Schedule’s Location and provider, come in the same Bundle when asked for: _include=Slot:schedule, then _include:iterate=Schedule:actor, _include:iterate=PractitionerRole:practitioner and _include:iterate=HealthcareService:location. Each included resource comes once, and total counts the Slots only.
With no status a search returns free Slots, and with no start Slots starting from now; the self link shows both as applied. A Slot marked as not accepting patients is never served. Follow the next link to continue: its cursor belongs to the one search.
Every other parameter is refused by name rather than ignored, so a search never quietly answers a different question than the one asked. _sort, _total, _summary, _elements and _revinclude are not served.
curl "https://api.haau3.com/v1/fhir/r4/Slot?provider-identifier=http://hl7.org/fhir/sid/us-npi%7C2900000227&_include=Slot:schedule&_include:iterate=Schedule:actor&_include:iterate=PractitionerRole:practitioner&_include:iterate=HealthcareService:location&_count=1" \
-H "Authorization: Bearer $HAAU3_API_KEY"import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
// Open appointment slots of one provider, found by NPI, each with its schedule, location and provider.
const page = await haau3.searchSlotWithIncludes({
"provider-identifier": "http://hl7.org/fhir/sid/us-npi|2900000227",
_count: 1,
});
const [view] = haau3.slotViews(page);
// A name's text, or its given and family names when the publisher sent no text.
const name = view?.practitioners[0]?.name?.[0];
console.log(
view
? {
start: view.slot.start,
practitioner: name?.text ?? ([name?.given?.join(" "), name?.family].filter(Boolean).join(" ") || undefined),
location: view.locations[0]?.name,
bookingLink: view.bookingLink,
}
: "No open slots matched.",
);
import json
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
# Open appointment slots of one provider, found by NPI, each with its schedule, location and provider.
page = client.search_slot_with_includes(provider_identifier="http://hl7.org/fhir/sid/us-npi|2900000227", count=1)
views = client.slot_views(page)
if views:
view = views[0]
# A name's text, or its given and family names when the publisher sent no text.
names = [
name.get("text") or " ".join([*name.get("given", []), name.get("family", "")]).strip() or None
for practitioner in view.practitioners
for name in practitioner.get("name", [])
]
places = [location.get("name") for location in view.locations]
print(
json.dumps(
{
"start": view.slot.get("start"),
"practitioner": names[0] if names else None,
"location": places[0] if places else None,
"booking_link": view.booking_link,
},
indent=2,
)
)
else:
print("No open slots matched.")
package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
"strings"
"github.com/haau3/haau3-go"
)
func main() {
ctx := context.Background()
client, err := haau3.NewClient() // reads HAAU3_API_KEY
if err != nil {
log.Fatal(err)
}
// Open appointment slots of one provider, found by NPI, each with its schedule, location and provider.
page, err := client.SearchSlotWithIncludes(ctx, haau3.SearchSlotWithIncludesParams{ProviderIdentifier: new("http://hl7.org/fhir/sid/us-npi|2900000227"), Count: new(1)})
if err != nil {
log.Fatal(err)
}
views, err := haau3.SlotViews(page)
if err != nil {
log.Fatal(err)
}
if len(views) == 0 {
fmt.Println("No open slots matched.")
return
}
view := views[0]
slot := struct {
Start *string `json:"start"`
Practitioner *string `json:"practitioner,omitempty"`
Location *string `json:"location,omitempty"`
BookingLink string `json:"bookingLink,omitempty"`
}{Start: view.Slot.Start, BookingLink: view.BookingLink}
if len(view.Practitioners) > 0 && len(view.Practitioners[0].Name) > 0 {
// A name's text, or its given and family names when the publisher sent no text.
name := view.Practitioners[0].Name[0]
parts := append([]string{}, name.Given...)
if name.Family != nil {
parts = append(parts, *name.Family)
}
joined := strings.TrimSpace(strings.Join(parts, " "))
switch {
case name.Text != nil:
slot.Practitioner = name.Text
case joined != "":
slot.Practitioner = &joined
}
}
if len(view.Locations) > 0 {
slot.Location = view.Locations[0].Name
}
out := json.NewEncoder(os.Stdout)
out.SetEscapeHTML(false)
out.SetIndent("", " ")
if err := out.Encode(slot); err != nil {
log.Fatal(err)
}
}
{
"resourceType": "Bundle",
"type": "searchset",
"total": 141,
"link": [
{
"relation": "self",
"url": "https://api.haau3.com/v1/fhir/r4/Slot?status=free&start=ge2026-11-24T03%3A07%3A33Z&provider-identifier=http%3A%2F%2Fhl7.org%2Ffhir%2Fsid%2Fus-npi%7C2900000227&_include=Slot%3Aschedule&_include:iterate=Schedule%3Aactor&_include:iterate=PractitionerRole%3Apractitioner&_include:iterate=HealthcareService%3Alocation&_count=1"
},
{
"relation": "next",
"url": "https://api.haau3.com/v1/fhir/r4/Slot?status=free&start=ge2026-11-24T03%3A07%3A33Z&provider-identifier=http%3A%2F%2Fhl7.org%2Ffhir%2Fsid%2Fus-npi%7C2900000227&_include=Slot%3Aschedule&_include:iterate=Schedule%3Aactor&_include:iterate=PractitionerRole%3Apractitioner&_include:iterate=HealthcareService%3Alocation&_count=1&page=eyJ2IjoxLCJrIjpbIjIwMjYtMTEtMjRUMTM6MDA6MDAuMDAwMDAwWiIsIjE0YTQ4OWU4ODg4ZGYzNGQ1MmVjOGUwNDhlNjFiZGM5Il0sInMiOiIzYjQwZmExOTZlOTg1MTkzIn0"
}
],
"entry": [
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Slot/14a489e8888df34d52ec8e048e61bdc9",
"resource": {
"id": "14a489e8888df34d52ec8e048e61bdc9",
"end": "2026-11-24T09:00:00-05:00",
"meta": {
"source": "https://api.haau3.com/scheduling/Slot/slot-haau3-rad-20261124-0800",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:56.265Z"
},
"start": "2026-11-24T08:00:00-05:00",
"status": "free",
"schedule": {
"reference": "Schedule/e859c18cc8cc1a6ab1c9b7b63c5c60a1"
},
"extension": [
{
"url": "http://hl7.org/fhir/uv/smart-scheduling-links/StructureDefinition/patient-type",
"valueCoding": {
"code": "existptonly",
"system": "http://terminology.hl7.org/CodeSystem/accepting-patients"
}
},
{
"url": "http://hl7.org/fhir/uv/smart-scheduling-links/StructureDefinition/booking-deep-link",
"valueUrl": "https://docs.haau3.com/scheduling/slot-publisher?slot=slot-haau3-rad-20261124-0800"
},
{
"url": "http://hl7.org/fhir/uv/smart-scheduling-links/StructureDefinition/booking-phone",
"valueContactPoint": {
"value": "+1-617-555-0100",
"system": "phone"
}
}
],
"identifier": [
{
"value": "slot-haau3-rad-20261124-0800",
"system": "https://api.haau3.com/scheduling/"
}
],
"resourceType": "Slot"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Location/Location-scheduling-a6c987ccde51c74f24d100fffbc7124d",
"resource": {
"id": "Location-scheduling-a6c987ccde51c74f24d100fffbc7124d",
"meta": {
"source": "https://api.haau3.com/scheduling/Location/loc-haau3-imaging",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"name": "haau3 Cambridge Imaging Center",
"status": "active",
"address": {
"city": "Cambridge",
"line": [
"55 Kendall Square"
],
"state": "MA",
"postalCode": "02142"
},
"telecom": [
{
"value": "+1-617-555-0188",
"system": "phone"
},
{
"value": "https://haau3.com/locations/imaging",
"system": "url"
}
],
"position": {
"latitude": 42.362611,
"longitude": -71.0876102
},
"identifier": [
{
"value": "loc-haau3-imaging",
"system": "https://haau3.com/synthetic/location"
},
{
"value": "loc-haau3-imaging",
"system": "https://api.haau3.com/scheduling/"
}
],
"description": "Ground floor, with a step-free entrance.",
"physicalType": {
"coding": [
{
"code": "ph",
"system": "http://hl7.org/fhir/uv/smart-scheduling-links/CodeSystem/temporary",
"display": "Physical"
}
]
},
"resourceType": "Location"
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Practitioner/Practitioner-scheduling-9e042d6421d98d92b6944395e7d1ae8d",
"resource": {
"id": "Practitioner-scheduling-9e042d6421d98d92b6944395e7d1ae8d",
"meta": {
"source": "https://api.haau3.com/scheduling/Practitioner/sample-dr-wei-example",
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|6.1.0"
],
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"name": [
{
"text": "Dr. Wei Example",
"given": [
"Wei"
],
"family": "Example",
"prefix": [
"Dr."
]
}
],
"active": true,
"gender": "female",
"extension": [
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2028-9",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Asian"
}
},
{
"url": "text",
"valueString": "Asian"
}
]
},
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2186-5",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Not Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Not Hispanic or Latino"
}
]
}
],
"identifier": [
{
"value": "sample-dr-wei-example",
"system": "https://haau3.com/synthetic/practitioner"
},
{
"value": "2900000227",
"system": "http://hl7.org/fhir/sid/us-npi"
},
{
"value": "sample-dr-wei-example",
"system": "https://api.haau3.com/scheduling/"
}
],
"resourceType": "Practitioner",
"communication": [
{
"text": "English",
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47",
"display": "English"
}
]
},
{
"text": "Chinese",
"coding": [
{
"code": "zh",
"system": "urn:ietf:bcp:47",
"display": "Chinese"
}
]
}
],
"qualification": [
{
"code": {
"text": "Doctor of Medicine",
"coding": [
{
"code": "MD",
"system": "http://terminology.hl7.org/CodeSystem/v2-0360",
"display": "Doctor of Medicine"
}
]
}
}
]
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/PractitionerRole/PractitionerRole-scheduling-c56a5082f9e86dd25a0325e925d6bf82",
"resource": {
"id": "PractitionerRole-scheduling-c56a5082f9e86dd25a0325e925d6bf82",
"meta": {
"source": "https://api.haau3.com/scheduling/PractitionerRole/prole-haau3-radiology",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"active": true,
"location": [
{
"reference": "Location/Location-scheduling-a6c987ccde51c74f24d100fffbc7124d"
}
],
"specialty": [
{
"text": "Diagnostic Radiology Physician",
"coding": [
{
"code": "2085R0202X",
"system": "http://nucc.org/provider-taxonomy",
"display": "Diagnostic Radiology Physician"
}
]
}
],
"identifier": [
{
"value": "prole-haau3-radiology",
"system": "https://api.haau3.com/scheduling/"
}
],
"practitioner": {
"display": "Dr. Wei Example",
"reference": "Practitioner/Practitioner-scheduling-9e042d6421d98d92b6944395e7d1ae8d"
},
"resourceType": "PractitionerRole"
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Schedule/e859c18cc8cc1a6ab1c9b7b63c5c60a1",
"resource": {
"id": "e859c18cc8cc1a6ab1c9b7b63c5c60a1",
"meta": {
"source": "https://api.haau3.com/scheduling/Schedule/sched-haau3-radiology",
"security": [
{
"code": "HTEST",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"display": "test health data"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/lastSourceSync",
"valueDateTime": "2026-11-24T00:01:47.571Z"
}
],
"lastUpdated": "2026-11-23T03:58:55.936Z"
},
"actor": [
{
"reference": "Location/Location-scheduling-a6c987ccde51c74f24d100fffbc7124d"
},
{
"reference": "PractitionerRole/PractitionerRole-scheduling-c56a5082f9e86dd25a0325e925d6bf82"
}
],
"identifier": [
{
"value": "sched-haau3-radiology",
"system": "https://api.haau3.com/scheduling/"
}
],
"serviceType": [
{
"text": "Diagnostic Radiology/Xray/CT/Fluoroscopy",
"coding": [
{
"code": "209",
"system": "http://terminology.hl7.org/CodeSystem/service-type",
"display": "Diagnostic Radiology/Xray/CT/Fluoroscopy"
}
]
}
],
"resourceType": "Schedule"
},
"search": {
"mode": "include"
}
}
]
}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
When the Slot starts, with a prefix ge, gt, le or lt, or none for that day, hour or minute: start=ge2026-12-01&start=lt2026-12-08 for one week. Any precision from a year to a second; a value with no time is a day in UTC, and a time needs its offset (Z or -05:00). Send it twice for a window. With no start, a search returns Slots starting from now, and the self link shows the moment.
1 - 2 elementsThe Slot's own service type, FHIR's Slot.serviceType. A Slot that names none matches no value: find the Slots of a Schedule offering a service with schedule.service-type. Any of FHIR's token forms: code, system|code, |code (a code with no system) or system| (any code in that system), several separated by commas for any of them.
The service type of the Slot's Schedule, FHIR's chained schedule and the Schedule's service-type: every Slot of a Schedule offering it, whether or not the Slot names a service type of its own. Any of FHIR's token forms: code, system|code, |code (a code with no system) or system| (any code in that system), several separated by commas for any of them.
A specialty of the provider, as the Slot states it, as its Schedule does (its own specialty or the SMART Scheduling Links schedule-specialty extension), or as the provider itself does (a PractitionerRole or HealthcareService the Schedule names). Any of FHIR's token forms: code, system|code, |code (a code with no system) or system| (any code in that system), several separated by commas for any of them.
An identifier, such as an NPI (http://hl7.org/fhir/sid/us-npi|1234567890), of the provider the Slot's Schedule names: a Practitioner, a PractitionerRole or the Practitioner behind it, or a HealthcareService, whichever the publisher used. Any of FHIR's token forms: code, system|code, |code (a code with no system) or system| (any code in that system), several separated by commas for any of them.
Who the Slot accepts, from the SMART Scheduling Links patient-type extension: newpt, existptonly and the other codes of http://terminology.hl7.org/CodeSystem/accepting-patients. A Slot that carries none matches no value. A Slot not accepting patients (nopt) is never served. Any of FHIR's token forms: code, system|code, |code (a code with no system) or system| (any code in that system), several separated by commas for any of them.
The physicalType of a Location the Slot's Schedule names, or of the Location of a HealthcareService it names: vi for a virtual one, from http://terminology.hl7.org/CodeSystem/location-physical-type. Any of FHIR's token forms: code, system|code, |code (a code with no system) or system| (any code in that system), several separated by commas for any of them.
Schedule:actor adds each included Schedule's Location, PractitionerRole, Practitioner or HealthcareService; PractitionerRole:practitioner the Practitioner behind each included role; HealthcareService:location the Location of each included HealthcareService. Each needs _include=Slot:schedule.
1 - 4 elementsSlot:schedule, Schedule:actor, PractitionerRole:practitioner, HealthcareService:location Response
A searchset Bundle with total set: the matching Slots, then the resources _include asked for.
A FHIR R4 Bundle.