Halaxy MCP by usefulapi
v1.17.1Read Halaxy patients, appointments, slots and invoices; create patients, appointments and notes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
halaxy_list_patients List or search patients
List or search patient records (demographics and contact details; HEALTH DATA). Filters combine with AND. Paged: pass next_page as page. GET /main/Patient.
| Parameter | Type | Description |
|---|---|---|
birthdate | string | Date of birth (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
count | integer | Results per page, 1-100 (default 30). |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
email | string | An email address. |
family | string | Start of the family name. |
general_practitioner | string | A Practitioner/PractitionerRole the patient has records with. |
given | string | Start of the given name. |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Patient:general-practitioner. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
name | string | Search the family, given or preferred name (matches the start of the name). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
phone | string | A phone number, local or E.164 (+61412345678). |
sort | string | Sort order: _lastUpdated, name, created, -_lastUpdated, -name, -created ("-" = descending). |
status | string | Patient status, e.g. active. |
halaxy_list_practitioners List practitioners
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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive (false) practitioners. |
count | integer | Results per page, 1-100 (default 30). |
email | string | An email address. |
family | string | Family name. |
given | string | Given name. |
id | string | One id or several separated by commas, for example 1,2,3. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
name | string | Family, given or preferred name. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
profile | string | hx-practitioner = staff, hx-external-practitioner = professional contacts. |
sort | string | Sort order: name, -name ("-" = descending). |
halaxy_list_practitioner_roles List practitioner roles (clinic locations)
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.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of PractitionerRole:practitioner, PractitionerRole:organization. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
organization | string | Organization (clinic) id. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
practitioner | string | Practitioner id, e.g. PR-123. |
profile | string | Staff roles or external professional-contact roles. |
provider_number | string | Provider number. |
halaxy_list_organizations List organizations and clinics
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.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
id | string | One id or several separated by commas, for example 1,2,3. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
name | string | Organization name. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
profile | string | Only one kind of organization. |
halaxy_list_appointments List appointments
List or search appointments (HEALTH DATA: names the patient). Filters combine with AND. Paged: pass next_page as page. GET /main/Appointment.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
date | string | Appointment date/time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Appointment:patient, Appointment:practitioner-role. |
include_iterate | array | Also return resources related to an included one (needs the matching include): any of PractitionerRole:practitioner, PractitionerRole:organization. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
organization | string | The clinic (Organization) id including its prefix. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
part_status | string | The patient's participation status, e.g. booked, arrived, cancelled. |
patient | string | Patient id. |
practitioner | string | Practitioner id, e.g. PR-123. |
practitioner_role | string | PractitionerRole id. |
sort | string | Sort order: date, -date ("-" = descending). |
halaxy_list_schedules List practitioner schedules
List or search schedules: containers of bookable time slots per practitioner. Filters combine with AND. Paged: pass next_page as page. GET /main/Schedule.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive schedules. |
actor | string | The practitioner/role the schedule belongs to. |
count | integer | Results per page, 1-100 (default 30). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Schedule:actor. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
halaxy_list_slots List time slots
List or search time slots of practitioner schedules (free or busy). Filters combine with AND. Paged: pass next_page as page. GET /main/Slot.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
duration | string | Slot duration in minutes. |
end | string | Slot end (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Slot:practitioner, Slot:organization, Slot:practitioner-role. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
organization | string | Organization (clinic) id. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
practitioner | string | Practitioner id. |
practitioner_role | string | PractitionerRole id. |
schedule | string | Schedule id. |
start | string | Slot start (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
status | string | free or busy. |
halaxy_list_healthcare_services List appointment types
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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive appointment types. |
count | integer | Results per page, 1-100 (default 30). |
id | string | One id or several separated by commas, for example 1,2,3. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
name | string | Appointment type name. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
halaxy_list_fees List fees
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.
| Parameter | Type | Description |
|---|---|---|
code | string | Fee item number. |
context_type | string | Fee type: 0 = appointment, 1 = item, 2 = pro-rata. |
count | integer | Results per page, 1-100 (default 30). |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
property_group_status | string | Fee pricing status: 1 = current, 2 = archived. |
publisher | string | Funder name. |
title | string | Fee name. |
halaxy_list_coverage List patient coverage (claim details)
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.
| Parameter | Type | Description |
|---|---|---|
beneficiary | string | The primary beneficiary (a Patient id). |
count | integer | Results per page, 1-100 (default 30). |
coverage_organization | string | The coverage organization. |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Coverage:beneficiary, Coverage:subscriber, Coverage:payor. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
payor | string | The funder. |
sort | string | Sort order: _lastUpdated, created, -_lastUpdated, -created ("-" = descending). |
subscriber | string | The subscriber to the policy. |
subscriber_id | string | Subscriber (membership) number. |
halaxy_list_invoices List invoices
List or search invoices of the practice group. Filters combine with AND. Paged: pass next_page as page. GET /main/Invoice.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Invoice:recipient, Invoice:practitioner. |
include_iterate | array | Also return resources related to an included one (needs the matching include): any of PractitionerRole:practitioner, PractitionerRole:organization. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
organization | string | The clinic the invoice was created at. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
practitioner | string | Practitioner id. |
practitioner_role | string | PractitionerRole id. |
recipient | string | The invoice recipient (a Patient or Organization id). |
status | string | Invoice status. |
total_balance | string | Balance owing, optionally with a prefix such as gt0 (finds unpaid invoices). |
total_paid | string | Total paid amount, optionally with a prefix such as gt0. |
halaxy_list_invoice_lines List invoice lines
List or search invoice lines: single fees on invoices. Filters combine with AND. Paged: pass next_page as page. GET /main/InvoiceLine.
| Parameter | Type | Description |
|---|---|---|
amount | string | The line amount, optionally with a prefix such as gt100. |
count | integer | Results per page, 1-100 (default 30). |
coverage | string | The coverage (claim details). |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
funder | string | The funder. |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of InvoiceLine:subject, InvoiceLine:performer, InvoiceLine:invoice. |
invoice | string | The invoice the line belongs to. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
performer | string | The performer of the service. |
referral | string | The referral. |
subject | string | The patient the line is for. |
halaxy_list_payment_transactions List payment transactions
List or search payment transactions recorded on invoices. Filters combine with AND. Paged: pass next_page as page. GET /main/PaymentTransaction.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
halaxy_list_referrals List referrals
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.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
coverage | string | The coverage (claim details) of the referral. |
created | string | Created (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
id | string | One id or several separated by commas, for example 1,2,3. |
include | array | Also return related resources in "included": any of Referral:subject, Referral:coverage. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
sort | string | Sort order: _lastUpdated, created, -_lastUpdated, -created ("-" = descending). |
subject | string | The patient the referral is for. |
halaxy_list_referral_definitions List referral templates
List or search referral templates with preset properties. Filters combine with AND. Paged: pass next_page as page. GET /main/ReferralDefinition.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-100 (default 30). |
funding_organization | string | The funder. |
id | string | One id or several separated by commas, for example 1,2,3. |
last_updated | string | Only records last updated at this time (ISO date or date-time, optional prefix eq/ne/gt/lt/ge/le). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
halaxy_get_patient Get a patient
Fetch a patient record (HEALTH DATA) by id. GET /main/Patient/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Patient id (from the matching list tool). |
halaxy_get_practitioner Get a practitioner
Fetch a practitioner or administrator by id. GET /main/Practitioner/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Practitioner id (from the matching list tool). |
halaxy_get_practitioner_role Get a practitioner role
Fetch a practitioner role at a clinic location by id. GET /main/PractitionerRole/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The PractitionerRole id (from the matching list tool). |
halaxy_get_organization Get an organization
Fetch a practice group, clinic, funder or external practice by id. GET /main/Organization/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Organization id (from the matching list tool). |
halaxy_get_appointment Get an appointment
Fetch an appointment with its participants and statuses (HEALTH DATA) by id. GET /main/Appointment/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Appointment id (from the matching list tool). |
halaxy_get_schedule Get a schedule
Fetch a practitioner schedule by id. GET /main/Schedule/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Schedule id (from the matching list tool). |
halaxy_get_slot Get a time slot
Fetch a time slot by id. GET /main/Slot/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Slot id (from the matching list tool). |
halaxy_get_healthcare_service Get an appointment type
Fetch an appointment type by id. GET /main/HealthcareService/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The HealthcareService id (from the matching list tool). |
halaxy_get_fee Get a fee
Fetch a fee (ChargeItemDefinition) by id. GET /main/ChargeItemDefinition/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ChargeItemDefinition id (from the matching list tool). |
halaxy_get_coverage Get patient coverage
Fetch a patient's coverage (claim details) record by id. GET /main/Coverage/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Coverage id (from the matching list tool). |
halaxy_get_invoice Get an invoice
Fetch an invoice by id. GET /main/Invoice/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Invoice id (from the matching list tool). |
halaxy_get_invoice_line Get an invoice line
Fetch an invoice line by id. GET /main/InvoiceLine/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The InvoiceLine id (from the matching list tool). |
halaxy_get_payment_transaction Get a payment transaction
Fetch a payment transaction by id. GET /main/PaymentTransaction/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The PaymentTransaction id (from the matching list tool). |
halaxy_get_referral Get a referral
Fetch a referral (HEALTH DATA) by id. GET /main/Referral/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Referral id (from the matching list tool). |
halaxy_get_referral_definition Get a referral template
Fetch a referral template by id. GET /main/ReferralDefinition/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ReferralDefinition id (from the matching list tool). |
halaxy_find_available_appointments Find available appointment times
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.
| Parameter | Type | Description |
|---|---|---|
duration * | integer | Appointment length in minutes. |
end * | string | End of the search window, e.g. 2027-01-12T23:59:59. |
start * | string | Start of the search window, e.g. 2027-01-12T00:00:00. |
apply_buffer_time | boolean | true applies buffer time to show all available times. |
emergency | boolean | true ignores lead time, to show all times for emergency appointments. |
organization | string | Organization (clinic) id. |
practitioner | string | Practitioner id. |
practitioner_role | string | PractitionerRole id. |
show | string | first-available = only the first available time. |
sort | string | start or -start. |
halaxy_create_patient Create a patient
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.
| Parameter | Type | Description |
|---|---|---|
family * | string | Legal family name (surname). |
given * | string | Legal given name. |
address | object | Mailing address. |
birth_date | string | Date of birth, YYYY-MM-DD. |
email | string | Email address. |
gender | string | Gender as registered in government records. |
managing_organization | string | The practice group id, e.g. PG-12345. |
mobile | string | Mobile number as +{country code}{number}, no spaces. |
preferred_name | string | Preferred (usual) given name. |
halaxy_create_appointment Book an appointment
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.
| Parameter | Type | Description |
|---|---|---|
end * | string | End with the time zone offset, e.g. 2027-06-15T16:00:00+10:00. |
patient_id * | string | The patient id. |
practitioner_role_id * | string | The PractitionerRole id (practitioner at a clinic), e.g. PR-1234567. |
start * | string | Start with the time zone offset, e.g. 2027-06-15T15:00:00+10:00. |
charge_item_definition_id | string | The fee id (halaxy_list_fees) booked for the appointment. |
fail_on_double_booking | boolean | Refuse if the practitioner already has an appointment then (default true). |
healthcare_service_id | string | The appointment type id (halaxy_list_healthcare_services). |
status | string | Initial status (default booked). |
halaxy_update_appointment_status Update an appointment status
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}.
| Parameter | Type | Description |
|---|---|---|
appointment_id * | string | The appointment id. |
status * | string | The new status. |
patient_id | string | The patient whose status changes (needed only when the appointment has several patients). |
halaxy_create_clinical_note Create a draft clinical note
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.
| Parameter | Type | Description |
|---|---|---|
html * | string | The note body as HTML. |
patient_id * | string | The patient the note is for. |
practitioner_role_id * | string | The PractitionerRole id of the author, e.g. PR-1234567. |
title * | string | The note title. |