splose MCP by usefulapi
v1.20.1Read splose patients, appointments, invoices, cases; book and cancel appointments, record payments.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
splose_get_account Get the account behind the API key
The organisation and the practitioner who owns the API key, plus the key's expiry date. Good first call. GET /me.
splose_list_patients List patients
Patients (clients) of the practice, filtered, in id order, as short rows: id, name, email, birthdate, phones, tags, alert, archived. Use splose_get_patient for the full record. HEALTH DATA: only look people up when the user asks. GET /patients.
| Parameter | Type | Description |
|---|---|---|
birthdate | string | Patient birth date, yyyy-mm-dd. |
email | string | Patient email. |
firstname | string | Patient first name. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
ids | array | Only these patient ids (max 100). |
include_archived | boolean | true to include archived objects (default false). |
lastname | string | Patient last name. |
patientTag | string | A patient tag, e.g. Self-managed. |
phoneNumber | string | Phone number without the country code. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_patient Get a patient
One patient in full: contact details, address, NDIS number and plan info, Medicare/health fund, emergency contact, tags and custom fields. HEALTH DATA. GET /patients/{id}.
| Parameter | Type | Description |
|---|---|---|
patient_id * | integer | Patient id. |
splose_list_appointments List appointments
Appointments in id order: start/end (UTC), service, location, practitioner, price, note and the per-patient status (Arrived, Did not arrive, Cancelled, Completed, cancellation reason, invoice id). Filter by time window, patient, practitioner or status. GET /appointments.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
patientId | integer | Only appointments of this patient. |
practitionerId | integer | Only appointments of this practitioner. |
start_gt | string | Only appointments starting after this date or date-time. |
start_lt | string | Only appointments starting before this date or date-time. |
status | string | Patient status of the appointment. |
status_update_gt | string | Only appointments whose status changed after this date or date-time. |
status_update_lt | string | Only appointments whose status changed before this date or date-time. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_appointment Get an appointment
One appointment in full, with each patient's status, case, invoice and cancellation details. GET /appointments/{id}.
| Parameter | Type | Description |
|---|---|---|
appointment_id * | integer | Appointment id. |
splose_list_practitioners List practitioners
Practitioners (staff): name, email, profession, role, active flag, online-booking flag, timezone and their location/service connections. GET /practitioners.
| Parameter | Type | Description |
|---|---|---|
email | string | Practitioner email. |
firstname | string | Practitioner first name. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
isActive | boolean | true = only active practitioners, false = only inactive. |
lastname | string | Practitioner last name. |
roleName | string | A predefined or custom role name. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_practitioner Get a practitioner
One practitioner in full, including provider numbers and connections. GET /practitioners/{id}.
| Parameter | Type | Description |
|---|---|---|
practitioner_id * | integer | Practitioner id. |
splose_list_locations List locations
Practice locations: title, address, phone, email, timezone, online-booking flag and the ids of the services offered there. GET /locations.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
title | string | Location title. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_location Get a location
One location in full. GET /locations/{id}.
| Parameter | Type | Description |
|---|---|---|
location_id * | integer | Location id. |
splose_list_services List services
The service catalogue: name, type, code, duration (minutes), unit (Hour or Each), price, tax type, group size and tags. GET /services.
| Parameter | Type | Description |
|---|---|---|
code | string | Service code. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
name | string | Service name. |
serviceTag | string | A service tag. |
type | string | Service type. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_service Get a service
One service in full, including provider-travel pricing. GET /services/{id}.
| Parameter | Type | Description |
|---|---|---|
service_id * | integer | Service id. |
splose_list_contacts List contacts
Contacts (GPs, plan managers, referrers, invoice recipients): name, type, email, address, phones and the ids of their patients, invoices and cases. GET /contacts.
| Parameter | Type | Description |
|---|---|---|
email | string | Contact email. |
firstname | string | Contact first name. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
lastname | string | Contact last name. |
phoneNumber | string | Phone number without the country code. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_contact Get a contact
One contact in full. GET /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact id. |
splose_list_cases List cases
Cases (funding referrals and plans): case number, budget, hours or appointment allowance, issue and expiry dates, tracking type, open flag and utilisation alert. HEALTH/FUNDING DATA. GET /cases.
| Parameter | Type | Description |
|---|---|---|
contactId | integer | Only cases referred by / billed to this contact. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
patientId | integer | Only cases of this patient. |
practitionerId | integer | Only cases of this practitioner. |
status | string | Case status. |
trackType | string | How the case is tracked. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_case Get a case
One case in full, with its appointment connections. GET /cases/{id}.
| Parameter | Type | Description |
|---|---|---|
case_id * | integer | Case id. |
splose_list_invoices List invoices
Invoices: number, issue/due dates, patient, contact, location, practitioner, subtotal, tax, total, paid amount, status (Draft, Awaiting Payment, Paid), line items and payment ids. Use status=Awaiting Payment for what is owed. GET /invoices.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
locationId | integer | Only invoices created at this location. |
patientId | integer | Only invoices of this patient. |
practitionerId | integer | Only invoices created by this practitioner. |
status | string | Invoice status. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_invoice Get an invoice
One invoice in full with its line items and payments. GET /invoices/{id}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | Invoice id. |
splose_list_payments List payments
Payments received: payment number, amount, date, patient, location, payment method, the invoices each payment settles and credit allocations. GET /payments.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
locationId | integer | Only payments created at this location. |
patientId | integer | Only payments of this patient. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_get_payment Get a payment
One payment in full. GET /payments/{id}.
| Parameter | Type | Description |
|---|---|---|
payment_id * | integer | Payment id. |
splose_list_payment_methods List payment methods
Payment methods (cash, card, bank transfer and so on) with their ids, needed to record a payment. GET /payment-methods.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_list_credit_notes List credit notes
Credit notes: number, invoice, patient, subtotal, tax, total, sent status, items and allocations. GET /credit-notes.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
invoiceId | integer | Only credit notes of this invoice. |
patientId | integer | Only credit notes of this patient. |
practitionerId | integer | Only credit notes created by this practitioner. |
sentStatus | string | Sent status. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_list_waitlist List waitlist items
Waitlist entries: patient, practitioner, location, wanted services, preferred days and time, tags and active flag. GET /waitlists.
| Parameter | Type | Description |
|---|---|---|
dateAddedGt | string | Only items added after this date. |
dateAddedLt | string | Only items added before this date. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
isActive | boolean | true = still waiting, false = closed. |
locationId | integer | Only items for this location. |
patientId | integer | Only items of this patient. |
practitionerId | integer | Only items for this practitioner. |
serviceIds | array | Only items waiting for these services. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
userGroupId | integer | Only items for this practitioner group. |
splose_list_patient_forms List patient forms
Forms sent to patients: title, status (Incomplete, In progress, Completed), patient, appointment, template and submission time. The form content is included. GET /patient-forms.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
patientId | integer | Only forms of this patient. |
templateId | integer | Only forms from this template. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_list_support_activities List support activities
Non-appointment billable activities (NDIS support activities): patient, practitioner, service, item code, quantity, price, invoice id. GET /support-activities.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
patientId | integer | Only activities of this patient. |
start_gt | string | Only activities starting after this date or date-time. |
start_lt | string | Only activities starting before this date or date-time. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_list_busy_times List busy times
Blocked-out time in practitioner calendars (leave, admin time): start/end, location, practitioners, type and note. GET /busy-times.
| Parameter | Type | Description |
|---|---|---|
busyTimeTypeId | integer | Only busy times of this type. |
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
practitionerId | integer | Only busy times of this practitioner. |
start_gt | string | Only busy times starting after this date or date-time. |
start_lt | string | Only busy times starting before this date or date-time. |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_list_cancellation_reasons List cancellation reasons
Cancellation reasons with their ids, needed to cancel an appointment. GET /cancellation-reasons.
| Parameter | Type | Description |
|---|---|---|
id_gt | integer | Only objects with an id greater than this: the next page (pass the previous reply's next_id_gt). |
id_lt | integer | Only objects with an id less than this: the previous page. |
include_archived | boolean | true to include archived objects (default false). |
update_gt | string | Only objects updated after this date or date-time (UTC). |
update_lt | string | Only objects updated before this date or date-time (UTC). |
splose_list_custom_fields List patient custom fields
The custom fields defined for patients: id, name, type (short text, dropdown, date and so on), required flag and options. GET /custom-field/.
splose_get_practitioner_availability Get a practitioner's availability
A practitioner's working-hours availability per date and location (start/end time, weekly or fortnightly repeat). The window is at most 100 days. This is the roster, not the open slots: use splose_find_free_slots for bookable times. GET /availabilities/{practitionerId}.
| Parameter | Type | Description |
|---|---|---|
endDate * | string | Last date of the window, at most 100 days after startDate. |
practitioner_id * | integer | Practitioner id. |
startDate * | string | First date of the window. |
locationId | integer | Only this location. |
splose_find_free_slots Find free appointment slots
Bookable free slots for one or more practitioners at a location for one patient service, between from and to (the window is at most 7 days). Returns, per practitioner, the start/end of each open slot in UTC. Read-only. GET /free-slots.
| Parameter | Type | Description |
|---|---|---|
from * | string | Start of the search window (UTC). |
locationId * | integer | Location id (splose_list_locations). |
practitionerIds * | array | One or more practitioner ids. |
serviceId * | integer | Service id (splose_list_services). |
interval | integer | Slot step in minutes (default 15). |
to | string | End of the search window, up to 7 days after from. |
splose_create_appointment Create an appointment
WRITE: books ONE appointment for one patient with one practitioner, service and location, from start to end (UTC). Splose may send the patient its normal booking confirmation or reminders according to the practice's settings, and the appointment can later be invoiced. Check splose_find_free_slots first. Not idempotent: calling twice books twice. POST /appointments.
| Parameter | Type | Description |
|---|---|---|
end * | string | Appointment end (UTC), after start. |
locationId * | integer | Location id. |
patientId * | integer | Patient id. |
practitionerId * | integer | Practitioner id. |
serviceId * | integer | Service id. |
start * | string | Appointment start (UTC). |
caseId | integer | Case (funding plan) id to attach. |
note | string | Appointment note. |
splose_update_appointment Update (reschedule) an appointment
WRITE: changes the time, service, location, practitioner, case or patient of ONE existing appointment; send only the fields to change. Splose may notify the patient of a change according to the practice's settings. Same input twice gives the same result. PUT /appointments/{id}.
| Parameter | Type | Description |
|---|---|---|
appointment_id * | integer | Appointment id. |
caseId | integer | New case id. |
end | string | New end (UTC). |
locationId | integer | New location id. |
patientId | integer | New patient id. |
practitionerId | integer | New practitioner id. |
serviceId | integer | New service id. |
start | string | New start (UTC). |
splose_cancel_appointment Cancel an appointment
WRITE: cancels ONE appointment with a cancellation reason (ids from splose_list_cancellation_reasons) and an optional note. The reason's billable rate may create a cancellation charge, and the patient may be notified per the practice's settings. For a group appointment pass patient_id to cancel only that patient's place; without it the whole appointment is cancelled. Cannot be undone through this server: confirm with the user first and pass confirm: true. POST /appointments/{id}/cancellation or /appointments/{id}/patients/{patientId}/cancellation.
| Parameter | Type | Description |
|---|---|---|
appointment_id * | integer | Appointment id. |
confirm * | boolean | Must be true: the user has confirmed this cancellation (it may charge a fee and notify the patient). |
reasonId * | integer | Cancellation reason id. |
note | string | Optional cancellation note. |
patient_id | integer | Group appointments only: cancel just this patient's participation. |
splose_mark_patient_arrived Mark a patient as arrived
WRITE: marks the patient of ONE appointment as arrived (check-in). For a group appointment pass patient_id to mark just that patient. Marking twice has the same effect. POST /appointments/{id}/arrival or /appointments/{id}/patients/{patientId}/arrival.
| Parameter | Type | Description |
|---|---|---|
appointment_id * | integer | Appointment id. |
patient_id | integer | Group appointments only: the patient who arrived. |
splose_create_patient Create a patient
WRITE: adds ONE new patient record (first and last name required). Search with splose_list_patients first to avoid a duplicate. Patient messaging follows the practice's settings and communicationPreference. Not idempotent: calling twice creates two patients. HEALTH DATA: only enter what the user supplied. POST /patients.
| Parameter | Type | Description |
|---|---|---|
firstname * | string | First name. |
lastname * | string | Last name. |
addressL1 | string | |
addressL2 | string | |
alert | string | Alert message shown on the patient record. |
birthdate | string | Birth date, yyyy-mm-dd. |
city | string | |
communicationPreference | string | Defaults to the organisation's preference. |
country | string | |
email | string | |
emergencyContactName | string | |
emergencyContactNumber | string | |
emergencyContactRelationship | string | |
extraInfo | string | |
genderIdentity | string | |
invoiceRecipientId | integer | Contact id that receives the invoices. |
irn | string | Medicare reference number. |
medicareNum | string | |
middleName | string | |
ndisNumber | string | NDIS participant number. |
phoneNumbers | array | |
postalCode | string | |
preferredName | string | |
pronouns | string | |
sex | string | |
state | string | |
timezone | string | IANA timezone, e.g. Australia/Adelaide. |
title | string | e.g. Mr., Ms., Dr. |
splose_create_contact Create a contact
WRITE: adds ONE contact (GP, plan manager, referrer, payer). type, name and email are required (type is Splose's contact type, e.g. Standard; see splose_list_contacts for the values in use). Not idempotent: calling twice creates two contacts. POST /contacts.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
name * | string | Display name, e.g. a plan manager's business name. |
type * | string | Contact type, e.g. Standard (copy the value from an existing contact). |
addressL1 | string | |
addressL2 | string | |
companyName | string | |
country | string | |
doctorType | string | |
firstName | string | |
lastName | string | |
occupation | string | |
phoneNumbers | array | |
postalCode | string | |
preferredName | string | |
providerNumber | string | |
state | string | |
suburb | string | |
title | string |
splose_record_payment Record a payment against an invoice
WRITE, MONEY: records ONE payment received (cash, card, transfer) against ONE invoice; it moves the invoice towards Paid and is shown in the patient's account. It does NOT charge anyone's card. amount must not exceed what is owed (check splose_get_invoice). Not idempotent: calling twice records two payments, and this server cannot delete a payment, so confirm the details with the user first and pass confirm: true. Ids come from splose_get_invoice and splose_list_payment_methods. POST /payments.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount paid, in dollars. |
confirm * | boolean | Must be true: the user has confirmed the invoice, amount and payment method. |
invoiceId * | integer | Invoice id the payment settles. |
locationId * | integer | Location id. |
patientId * | integer | Patient id of the invoice. |
paymentDate * | string | Date the money was received. |
paymentMethodId * | integer | Payment method id (splose_list_payment_methods). |