{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "halaxy.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "172.67.138.37",
        "endpoints": 729,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.62.184",
        "endpoints": 729,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 729,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 729,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.138.37",
          "104.21.62.184",
          "2606:4700:3032::6815:3eb8",
          "2606:4700:3030::ac43:8a25"
        ],
        "first_seen": "2026-11-22T01:17:00.538Z",
        "last_seen": "2026-11-22T01:17:00.538Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "halaxy-mcp",
      "version": "1.16.4",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 728,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T17:59:02.319Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:10:01.976Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:11:01.183Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:12:01.080Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:13:02.135Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:14:01.432Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:15:01.611Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:16:00.986Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:17:01.057Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:18:00.734Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:19:00.968Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:20:01.024Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:21:01.299Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:22:00.819Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:23:00.761Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:24:00.644Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:25:02.340Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:26:02.127Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:27:01.202Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:28:00.709Z"
        }
      ]
    },
    "same_site": {
      "total": 1096,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:10:01.976Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:11:01.183Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:12:01.080Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:13:02.135Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:14:01.432Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:15:01.611Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:16:00.986Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:17:01.057Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:18:00.734Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:19:00.968Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:20:01.024Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:21:01.299Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:22:00.819Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:23:00.761Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:24:00.644Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:25:02.340Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:26:02.127Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:27:01.202Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:28:00.709Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:29:00.620Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1096,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1096,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "42500",
    "server_name": "io.usefulapi/halaxy",
    "url": "https://halaxy.usefulapi.io/mcp",
    "host": "halaxy.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T01:17:00.538Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "7ff2904c3a67f4d4d6afbf2f9f377a543dc04171ee4674492f45473f53ea83a0",
    "first_listed_at": "2026-11-22T01:17:00.538Z",
    "created_at": "2026-11-21T12:40:09.308Z",
    "resolved_addresses": [
      "172.67.138.37",
      "104.21.62.184",
      "2606:4700:3032::6815:3eb8",
      "2606:4700:3030::ac43:8a25"
    ]
  },
  "server": {
    "name": "io.usefulapi/halaxy",
    "title": "Halaxy MCP by usefulapi",
    "description": "Read Halaxy patients, appointments, slots and invoices; create patients, appointments and notes.",
    "version": "1.16.4",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/halaxy/",
    "published_at": "2026-11-18T11:02:44.093Z",
    "updated_at": "2026-11-18T11:02:44.093Z",
    "first_seen": "2026-11-21T12:40:08.670Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:18:20.399Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 241,
    "first_check_in_window": "2026-11-22T01:17:00.538Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "7ff2904c3a67f4d4d6afbf2f9f377a543dc04171ee4674492f45473f53ea83a0",
    "tools": 35,
    "resources": 0,
    "prompts": 5,
    "first_seen": "2026-11-22T01:17:00.782Z",
    "tool_names": [
      "halaxy_list_patients",
      "halaxy_list_practitioners",
      "halaxy_list_practitioner_roles",
      "halaxy_list_organizations",
      "halaxy_list_appointments",
      "halaxy_list_schedules",
      "halaxy_list_slots",
      "halaxy_list_healthcare_services",
      "halaxy_list_fees",
      "halaxy_list_coverage",
      "halaxy_list_invoices",
      "halaxy_list_invoice_lines",
      "halaxy_list_payment_transactions",
      "halaxy_list_referrals",
      "halaxy_list_referral_definitions",
      "halaxy_get_patient",
      "halaxy_get_practitioner",
      "halaxy_get_practitioner_role",
      "halaxy_get_organization",
      "halaxy_get_appointment",
      "halaxy_get_schedule",
      "halaxy_get_slot",
      "halaxy_get_healthcare_service",
      "halaxy_get_fee",
      "halaxy_get_coverage",
      "halaxy_get_invoice",
      "halaxy_get_invoice_line",
      "halaxy_get_payment_transaction",
      "halaxy_get_referral",
      "halaxy_get_referral_definition",
      "halaxy_find_available_appointments",
      "halaxy_create_patient",
      "halaxy_create_appointment",
      "halaxy_update_appointment_status",
      "halaxy_create_clinical_note"
    ],
    "declared": {
      "tools": [
        {
          "name": "halaxy_list_patients",
          "title": "List or search patients",
          "description": "List or search patient records (demographics and contact details; HEALTH DATA). Filters combine with AND. Paged: pass next_page as page. GET /main/Patient.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Search the family, given or preferred name (matches the start of the name)."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "sort": {
                "enum": [
                  "_lastUpdated",
                  "name",
                  "created",
                  "-_lastUpdated",
                  "-name",
                  "-created"
                ],
                "type": "string",
                "description": "Sort order: _lastUpdated, name, created, -_lastUpdated, -name, -created (\"-\" = descending)."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "email": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "An email address."
              },
              "given": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Start of the given name."
              },
              "phone": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "A phone number, local or E.164 (+61412345678)."
              },
              "family": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Start of the family name."
              },
              "status": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Patient status, e.g. active."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Patient:general-practitioner"
                  ],
                  "type": "string"
                },
                "maxItems": 1,
                "description": "Also return related resources in \"included\": any of Patient:general-practitioner."
              },
              "birthdate": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Date of birth (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "general_practitioner": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "A Practitioner/PractitionerRole the patient has records with."
              }
            }
          },
          "annotations": {
            "title": "List or search patients",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_practitioners",
          "title": "List practitioners",
          "description": "List or search practitioners and administrators of the practice group (ids look like PR-12345). Filters combine with AND. Paged: pass next_page as page. GET /main/Practitioner.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Family, given or preferred name."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "sort": {
                "enum": [
                  "name",
                  "-name"
                ],
                "type": "string",
                "description": "Sort order: name, -name (\"-\" = descending)."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "email": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "An email address."
              },
              "given": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Given name."
              },
              "active": {
                "type": "boolean",
                "description": "Only active (true) or inactive (false) practitioners."
              },
              "family": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Family name."
              },
              "profile": {
                "enum": [
                  "StructureDefinition/hx-practitioner",
                  "StructureDefinition/hx-external-practitioner"
                ],
                "type": "string",
                "description": "hx-practitioner = staff, hx-external-practitioner = professional contacts."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List practitioners",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_practitioner_roles",
          "title": "List practitioner roles (clinic locations)",
          "description": "List or search practitioner roles: a practitioner's association with one clinic location (the id used when booking and for clinical notes). Filters combine with AND. Paged: pass next_page as page. GET /main/PractitionerRole.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "PractitionerRole:practitioner",
                    "PractitionerRole:organization"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "description": "Also return related resources in \"included\": any of PractitionerRole:practitioner, PractitionerRole:organization."
              },
              "profile": {
                "enum": [
                  "StructureDefinition/hx-practitioner-role",
                  "StructureDefinition/hx-external-practitioner-role"
                ],
                "type": "string",
                "description": "Staff roles or external professional-contact roles."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Organization (clinic) id."
              },
              "practitioner": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Practitioner id, e.g. PR-123."
              },
              "provider_number": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Provider number."
              }
            }
          },
          "annotations": {
            "title": "List practitioner roles (clinic locations)",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_organizations",
          "title": "List organizations and clinics",
          "description": "List or search the practice group, its clinic locations, funders and external practices (practice group ids look like PG-12345). Filters combine with AND. Paged: pass next_page as page. GET /main/Organization.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Organization name."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "profile": {
                "enum": [
                  "StructureDefinition/hx-organization-practice-group",
                  "StructureDefinition/hx-organization-clinic",
                  "StructureDefinition/hx-organization-funder",
                  "StructureDefinition/hx-organization-organisation",
                  "StructureDefinition/hx-organization-external-clinic"
                ],
                "type": "string",
                "description": "Only one kind of organization."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List organizations and clinics",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_appointments",
          "title": "List appointments",
          "description": "List or search appointments (HEALTH DATA: names the patient). Filters combine with AND. Paged: pass next_page as page. GET /main/Appointment.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "date": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Appointment date/time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "sort": {
                "enum": [
                  "date",
                  "-date"
                ],
                "type": "string",
                "description": "Sort order: date, -date (\"-\" = descending)."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Appointment:patient",
                    "Appointment:practitioner-role"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "description": "Also return related resources in \"included\": any of Appointment:patient, Appointment:practitioner-role."
              },
              "patient": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Patient id."
              },
              "part_status": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The patient's participation status, e.g. booked, arrived, cancelled."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The clinic (Organization) id including its prefix."
              },
              "practitioner": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Practitioner id, e.g. PR-123."
              },
              "include_iterate": {
                "type": "array",
                "items": {
                  "enum": [
                    "PractitionerRole:practitioner",
                    "PractitionerRole:organization"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "description": "Also return resources related to an included one (needs the matching include): any of PractitionerRole:practitioner, PractitionerRole:organization."
              },
              "practitioner_role": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "PractitionerRole id."
              }
            }
          },
          "annotations": {
            "title": "List appointments",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_schedules",
          "title": "List practitioner schedules",
          "description": "List or search schedules: containers of bookable time slots per practitioner. Filters combine with AND. Paged: pass next_page as page. GET /main/Schedule.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "actor": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The practitioner/role the schedule belongs to."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "active": {
                "type": "boolean",
                "description": "Only active (true) or inactive schedules."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Schedule:actor"
                  ],
                  "type": "string"
                },
                "maxItems": 1,
                "description": "Also return related resources in \"included\": any of Schedule:actor."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List practitioner schedules",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_slots",
          "title": "List time slots",
          "description": "List or search time slots of practitioner schedules (free or busy). Filters combine with AND. Paged: pass next_page as page. GET /main/Slot.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "end": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Slot end (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "start": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Slot start (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "status": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "free or busy."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Slot:practitioner",
                    "Slot:organization",
                    "Slot:practitioner-role"
                  ],
                  "type": "string"
                },
                "maxItems": 3,
                "description": "Also return related resources in \"included\": any of Slot:practitioner, Slot:organization, Slot:practitioner-role."
              },
              "duration": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Slot duration in minutes."
              },
              "schedule": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Schedule id."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Organization (clinic) id."
              },
              "practitioner": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Practitioner id."
              },
              "practitioner_role": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "PractitionerRole id."
              }
            }
          },
          "annotations": {
            "title": "List time slots",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_healthcare_services",
          "title": "List appointment types",
          "description": "List or search appointment types used by the practice group, clinics and practitioners. Filters combine with AND. Paged: pass next_page as page. GET /main/HealthcareService.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Appointment type name."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "active": {
                "type": "boolean",
                "description": "Only active (true) or inactive appointment types."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List appointment types",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_fees",
          "title": "List fees",
          "description": "List or search fees (ChargeItemDefinition): the services and products a practice charges for. Filters combine with AND. Paged: pass next_page as page. GET /main/ChargeItemDefinition.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "code": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Fee item number."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Fee name."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "publisher": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Funder name."
              },
              "context_type": {
                "enum": [
                  "0",
                  "1",
                  "2"
                ],
                "type": "string",
                "description": "Fee type: 0 = appointment, 1 = item, 2 = pro-rata."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "property_group_status": {
                "enum": [
                  "1",
                  "2"
                ],
                "type": "string",
                "description": "Fee pricing status: 1 = current, 2 = archived."
              }
            }
          },
          "annotations": {
            "title": "List fees",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_coverage",
          "title": "List patient coverage (claim details)",
          "description": "List or search patients' health fund membership and claim details (HEALTH DATA). Filters combine with AND. Paged: pass next_page as page. GET /main/Coverage.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "sort": {
                "enum": [
                  "_lastUpdated",
                  "created",
                  "-_lastUpdated",
                  "-created"
                ],
                "type": "string",
                "description": "Sort order: _lastUpdated, created, -_lastUpdated, -created (\"-\" = descending)."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "payor": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The funder."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Coverage:beneficiary",
                    "Coverage:subscriber",
                    "Coverage:payor"
                  ],
                  "type": "string"
                },
                "maxItems": 3,
                "description": "Also return related resources in \"included\": any of Coverage:beneficiary, Coverage:subscriber, Coverage:payor."
              },
              "subscriber": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The subscriber to the policy."
              },
              "beneficiary": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The primary beneficiary (a Patient id)."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "subscriber_id": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Subscriber (membership) number."
              },
              "coverage_organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The coverage organization."
              }
            }
          },
          "annotations": {
            "title": "List patient coverage (claim details)",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_invoices",
          "title": "List invoices",
          "description": "List or search invoices of the practice group. Filters combine with AND. Paged: pass next_page as page. GET /main/Invoice.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "status": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Invoice status."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Invoice:recipient",
                    "Invoice:practitioner"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "description": "Also return related resources in \"included\": any of Invoice:recipient, Invoice:practitioner."
              },
              "recipient": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The invoice recipient (a Patient or Organization id)."
              },
              "total_paid": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Total paid amount, optionally with a prefix such as gt0."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The clinic the invoice was created at."
              },
              "practitioner": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Practitioner id."
              },
              "total_balance": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Balance owing, optionally with a prefix such as gt0 (finds unpaid invoices)."
              },
              "include_iterate": {
                "type": "array",
                "items": {
                  "enum": [
                    "PractitionerRole:practitioner",
                    "PractitionerRole:organization"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "description": "Also return resources related to an included one (needs the matching include): any of PractitionerRole:practitioner, PractitionerRole:organization."
              },
              "practitioner_role": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "PractitionerRole id."
              }
            }
          },
          "annotations": {
            "title": "List invoices",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_invoice_lines",
          "title": "List invoice lines",
          "description": "List or search invoice lines: single fees on invoices. Filters combine with AND. Paged: pass next_page as page. GET /main/InvoiceLine.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "amount": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The line amount, optionally with a prefix such as gt100."
              },
              "funder": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The funder."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "InvoiceLine:subject",
                    "InvoiceLine:performer",
                    "InvoiceLine:invoice"
                  ],
                  "type": "string"
                },
                "maxItems": 3,
                "description": "Also return related resources in \"included\": any of InvoiceLine:subject, InvoiceLine:performer, InvoiceLine:invoice."
              },
              "invoice": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The invoice the line belongs to."
              },
              "subject": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The patient the line is for."
              },
              "coverage": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The coverage (claim details)."
              },
              "referral": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The referral."
              },
              "performer": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The performer of the service."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List invoice lines",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_payment_transactions",
          "title": "List payment transactions",
          "description": "List or search payment transactions recorded on invoices. Filters combine with AND. Paged: pass next_page as page. GET /main/PaymentTransaction.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List payment transactions",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_referrals",
          "title": "List referrals",
          "description": "List or search referrals from one healthcare provider to another (HEALTH DATA). Filters combine with AND. Paged: pass next_page as page. GET /main/Referral.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "sort": {
                "enum": [
                  "_lastUpdated",
                  "created",
                  "-_lastUpdated",
                  "-created"
                ],
                "type": "string",
                "description": "Sort order: _lastUpdated, created, -_lastUpdated, -created (\"-\" = descending)."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "created": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "Referral:subject",
                    "Referral:coverage"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "description": "Also return related resources in \"included\": any of Referral:subject, Referral:coverage."
              },
              "subject": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The patient the referral is for."
              },
              "coverage": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The coverage (claim details) of the referral."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              }
            }
          },
          "annotations": {
            "title": "List referrals",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_list_referral_definitions",
          "title": "List referral templates",
          "description": "List or search referral templates with preset properties. Filters combine with AND. Paged: pass next_page as page. GET /main/ReferralDefinition.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(,[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,49}$",
                "description": "One id or several separated by commas, for example 1,2,3."
              },
              "page": {
                "type": "integer",
                "maximum": 100000,
                "minimum": 1,
                "description": "Page number, 1-based (default 1). Use next_page from the previous reply."
              },
              "count": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Results per page, 1-100 (default 30)."
              },
              "last_updated": {
                "type": "string",
                "pattern": "^(eq|ne|gt|lt|ge|le)?\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le)."
              },
              "funding_organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "The funder."
              }
            }
          },
          "annotations": {
            "title": "List referral templates",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_patient",
          "title": "Get a patient",
          "description": "Fetch a patient record (HEALTH DATA) by id. GET /main/Patient/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Patient id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a patient",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_practitioner",
          "title": "Get a practitioner",
          "description": "Fetch a practitioner or administrator by id. GET /main/Practitioner/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Practitioner id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a practitioner",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_practitioner_role",
          "title": "Get a practitioner role",
          "description": "Fetch a practitioner role at a clinic location by id. GET /main/PractitionerRole/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The PractitionerRole id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a practitioner role",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_organization",
          "title": "Get an organization",
          "description": "Fetch a practice group, clinic, funder or external practice by id. GET /main/Organization/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Organization id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get an organization",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_appointment",
          "title": "Get an appointment",
          "description": "Fetch an appointment with its participants and statuses (HEALTH DATA) by id. GET /main/Appointment/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Appointment id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get an appointment",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_schedule",
          "title": "Get a schedule",
          "description": "Fetch a practitioner schedule by id. GET /main/Schedule/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Schedule id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a schedule",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_slot",
          "title": "Get a time slot",
          "description": "Fetch a time slot by id. GET /main/Slot/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Slot id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a time slot",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_healthcare_service",
          "title": "Get an appointment type",
          "description": "Fetch an appointment type by id. GET /main/HealthcareService/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The HealthcareService id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get an appointment type",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_fee",
          "title": "Get a fee",
          "description": "Fetch a fee (ChargeItemDefinition) by id. GET /main/ChargeItemDefinition/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The ChargeItemDefinition id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a fee",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_coverage",
          "title": "Get patient coverage",
          "description": "Fetch a patient's coverage (claim details) record by id. GET /main/Coverage/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Coverage id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get patient coverage",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_invoice",
          "title": "Get an invoice",
          "description": "Fetch an invoice by id. GET /main/Invoice/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Invoice id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get an invoice",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_invoice_line",
          "title": "Get an invoice line",
          "description": "Fetch an invoice line by id. GET /main/InvoiceLine/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The InvoiceLine id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get an invoice line",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_payment_transaction",
          "title": "Get a payment transaction",
          "description": "Fetch a payment transaction by id. GET /main/PaymentTransaction/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The PaymentTransaction id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a payment transaction",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_referral",
          "title": "Get a referral",
          "description": "Fetch a referral (HEALTH DATA) by id. GET /main/Referral/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The Referral id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a referral",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_get_referral_definition",
          "title": "Get a referral template",
          "description": "Fetch a referral template by id. GET /main/ReferralDefinition/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The ReferralDefinition id (from the matching list tool)."
              }
            }
          },
          "annotations": {
            "title": "Get a referral template",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_find_available_appointments",
          "title": "Find available appointment times",
          "description": "Find free appointment times between start and end for a given duration, respecting each practitioner's online booking preferences (buffer time, lead time, advance booking limit). Narrow it with practitioner, practitioner_role or organization. GET /main/Appointment/$find.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end",
              "duration"
            ],
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})?$",
                "description": "End of the search window, e.g. 2027-01-12T23:59:59."
              },
              "show": {
                "enum": [
                  "first-available"
                ],
                "type": "string",
                "description": "first-available = only the first available time."
              },
              "sort": {
                "enum": [
                  "start",
                  "-start"
                ],
                "type": "string",
                "description": "start or -start."
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})?$",
                "description": "Start of the search window, e.g. 2027-01-12T00:00:00."
              },
              "duration": {
                "type": "integer",
                "maximum": 1440,
                "minimum": 1,
                "description": "Appointment length in minutes."
              },
              "emergency": {
                "type": "boolean",
                "description": "true ignores lead time, to show all times for emergency appointments."
              },
              "organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Organization (clinic) id."
              },
              "practitioner": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "Practitioner id."
              },
              "apply_buffer_time": {
                "type": "boolean",
                "description": "true applies buffer time to show all available times."
              },
              "practitioner_role": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]{0,127}(,[A-Za-z0-9][A-Za-z0-9_/-]{0,127}){0,19}$",
                "description": "PractitionerRole id."
              }
            }
          },
          "annotations": {
            "title": "Find available appointment times",
            "readOnlyHint": true
          }
        },
        {
          "name": "halaxy_create_patient",
          "title": "Create a patient",
          "description": "Writes to the live Halaxy account. Creates a new patient record (always a new one: search with halaxy_list_patients first to avoid a duplicate). Pass managing_organization (the practice group id, e.g. PG-12345, from halaxy_list_organizations) if Halaxy asks for it. POST /main/Patient.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "family",
              "given"
            ],
            "properties": {
              "email": {
                "type": "string",
                "format": "email",
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "maxLength": 254,
                "description": "Email address."
              },
              "given": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Legal given name."
              },
              "family": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Legal family name (surname)."
              },
              "gender": {
                "enum": [
                  "male",
                  "female",
                  "other"
                ],
                "type": "string",
                "description": "Gender as registered in government records."
              },
              "mobile": {
                "type": "string",
                "pattern": "^\\+\\d{6,15}$",
                "description": "Mobile number as +{country code}{number}, no spaces."
              },
              "address": {
                "type": "object",
                "required": [
                  "line",
                  "country"
                ],
                "properties": {
                  "city": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "line": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1,
                    "description": "House/street line."
                  },
                  "state": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "country": {
                    "type": "string",
                    "pattern": "^[A-Za-z]{2}$",
                    "description": "ISO 3166 two-letter country code."
                  },
                  "postal_code": {
                    "type": "string",
                    "maxLength": 20
                  }
                },
                "description": "Mailing address."
              },
              "birth_date": {
                "type": "string",
                "description": "Date of birth, YYYY-MM-DD."
              },
              "preferred_name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Preferred (usual) given name."
              },
              "managing_organization": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The practice group id, e.g. PG-12345."
              }
            }
          },
          "annotations": {
            "title": "Create a patient",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "halaxy_create_appointment",
          "title": "Book an appointment",
          "description": "Writes to the live Halaxy account. Books an appointment for a patient with a practitioner at a clinic (the practitioner role). Halaxy also creates the invoice, clinical note and reminder. Use halaxy_find_available_appointments for free times. By default a double booking is refused (HTTP 409, nothing created). POST /main/Appointment/$book.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "patient_id",
              "practitioner_role_id",
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})?$",
                "description": "End with the time zone offset, e.g. 2027-06-15T16:00:00+10:00."
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})?$",
                "description": "Start with the time zone offset, e.g. 2027-06-15T15:00:00+10:00."
              },
              "status": {
                "enum": [
                  "booked",
                  "pending",
                  "confirmed"
                ],
                "type": "string",
                "description": "Initial status (default booked)."
              },
              "patient_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The patient id."
              },
              "practitioner_role_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The PractitionerRole id (practitioner at a clinic), e.g. PR-1234567."
              },
              "healthcare_service_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The appointment type id (halaxy_list_healthcare_services)."
              },
              "fail_on_double_booking": {
                "type": "boolean",
                "description": "Refuse if the practitioner already has an appointment then (default true)."
              },
              "charge_item_definition_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The fee id (halaxy_list_fees) booked for the appointment."
              }
            }
          },
          "annotations": {
            "title": "Book an appointment",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "halaxy_update_appointment_status",
          "title": "Update an appointment status",
          "description": "Writes to the live Halaxy account. Sets the patient's status on an appointment (shown in the Halaxy calendar), for example arrived, attended, confirmed or cancelled. \"cancelled (no charge)\" also sets the invoice to $0. For a group appointment pass patient_id to say whose status changes. PATCH /main/Appointment/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "appointment_id",
              "status"
            ],
            "properties": {
              "status": {
                "enum": [
                  "booked",
                  "pending",
                  "confirmed",
                  "arrived",
                  "attended",
                  "did not attend",
                  "check response",
                  "declined",
                  "rejected",
                  "rescheduled",
                  "waiting list",
                  "cancelled",
                  "cancelled (no charge)"
                ],
                "type": "string",
                "description": "The new status."
              },
              "patient_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The patient whose status changes (needed only when the appointment has several patients)."
              },
              "appointment_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The appointment id."
              }
            }
          },
          "annotations": {
            "title": "Update an appointment status",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "halaxy_create_clinical_note",
          "title": "Create a draft clinical note",
          "description": "Writes to the live Halaxy account. Adds a clinical note to a patient's record as a DRAFT (preliminary); the practitioner reviews and publishes it in Halaxy. The author is a PractitionerRole (practitioner at a clinic). Only HTML text is supported. POST /main/DocumentReference.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "patient_id",
              "practitioner_role_id",
              "title",
              "html"
            ],
            "properties": {
              "html": {
                "type": "string",
                "maxLength": 100000,
                "minLength": 1,
                "description": "The note body as HTML."
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The note title."
              },
              "patient_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The patient the note is for."
              },
              "practitioner_role_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "The PractitionerRole id of the author, e.g. PR-1234567."
              }
            }
          },
          "annotations": {
            "title": "Create a draft clinical note",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Halaxy here, with example requests to try."
        },
        {
          "name": "find_open_appointment_times",
          "description": "The AI finds appointment times in a date range for a given duration, narrowed to a practitioner or clinic, and respects your online booking preferences."
        },
        {
          "name": "browse_schedules_and_time_slots",
          "description": "The AI lists the schedules of your practitioners and their time slots, so you can see which times are open or busy this week."
        },
        {
          "name": "list_your_appointment_types_and_fees",
          "description": "The AI lists the appointment types and the fees your practice charges for, so you can check the price list in one place."
        },
        {
          "name": "see_your_practitioners_and_clinics",
          "description": "The AI lists the practitioners, their roles at each clinic location and the practice group, with the ids you need for other tools."
        }
      ]
    },
    "instructions": "Tools for Halaxy, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which appointments does Dr Smith have tomorrow, and who are the patients?\"; \"Find free 30-minute appointment times next week at the main clinic.\"; \"List unpaid invoices from the last month with the amount owing.\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Halaxy data. Free plan: 50 tool calls per month. Run halaxy_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run halaxy_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run halaxy_upgrade without a plan: it returns both plans, each with a payment link for the user to open. halaxy_cancel_subscription cancels Pro at the end of the paid period."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}