splose MCP by usefulapi

v1.20.1
io.usefulapi/splose Checked 1 day ago Published 9 hours ago

Read 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.

ParameterTypeDescription
birthdatestringPatient birth date, yyyy-mm-dd.
emailstringPatient email.
firstnamestringPatient first name.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
idsarrayOnly these patient ids (max 100).
include_archivedbooleantrue to include archived objects (default false).
lastnamestringPatient last name.
patientTagstringA patient tag, e.g. Self-managed.
phoneNumberstringPhone number without the country code.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
patient_id *integerPatient 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
patientIdintegerOnly appointments of this patient.
practitionerIdintegerOnly appointments of this practitioner.
start_gtstringOnly appointments starting after this date or date-time.
start_ltstringOnly appointments starting before this date or date-time.
statusstringPatient status of the appointment.
status_update_gtstringOnly appointments whose status changed after this date or date-time.
status_update_ltstringOnly appointments whose status changed before this date or date-time.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
appointment_id *integerAppointment 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.

ParameterTypeDescription
emailstringPractitioner email.
firstnamestringPractitioner first name.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
isActivebooleantrue = only active practitioners, false = only inactive.
lastnamestringPractitioner last name.
roleNamestringA predefined or custom role name.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
practitioner_id *integerPractitioner 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
titlestringLocation title.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly objects updated before this date or date-time (UTC).

splose_get_location Get a location

One location in full. GET /locations/{id}.

ParameterTypeDescription
location_id *integerLocation 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.

ParameterTypeDescription
codestringService code.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
namestringService name.
serviceTagstringA service tag.
typestringService type.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
service_id *integerService 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.

ParameterTypeDescription
emailstringContact email.
firstnamestringContact first name.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
lastnamestringContact last name.
phoneNumberstringPhone number without the country code.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly objects updated before this date or date-time (UTC).

splose_get_contact Get a contact

One contact in full. GET /contacts/{id}.

ParameterTypeDescription
contact_id *integerContact 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.

ParameterTypeDescription
contactIdintegerOnly cases referred by / billed to this contact.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
patientIdintegerOnly cases of this patient.
practitionerIdintegerOnly cases of this practitioner.
statusstringCase status.
trackTypestringHow the case is tracked.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
case_id *integerCase 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
locationIdintegerOnly invoices created at this location.
patientIdintegerOnly invoices of this patient.
practitionerIdintegerOnly invoices created by this practitioner.
statusstringInvoice status.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
invoice_id *integerInvoice 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
locationIdintegerOnly payments created at this location.
patientIdintegerOnly payments of this patient.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly objects updated before this date or date-time (UTC).

splose_get_payment Get a payment

One payment in full. GET /payments/{id}.

ParameterTypeDescription
payment_id *integerPayment 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
invoiceIdintegerOnly credit notes of this invoice.
patientIdintegerOnly credit notes of this patient.
practitionerIdintegerOnly credit notes created by this practitioner.
sentStatusstringSent status.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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.

ParameterTypeDescription
dateAddedGtstringOnly items added after this date.
dateAddedLtstringOnly items added before this date.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
isActivebooleantrue = still waiting, false = closed.
locationIdintegerOnly items for this location.
patientIdintegerOnly items of this patient.
practitionerIdintegerOnly items for this practitioner.
serviceIdsarrayOnly items waiting for these services.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly objects updated before this date or date-time (UTC).
userGroupIdintegerOnly 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
patientIdintegerOnly forms of this patient.
templateIdintegerOnly forms from this template.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
patientIdintegerOnly activities of this patient.
start_gtstringOnly activities starting after this date or date-time.
start_ltstringOnly activities starting before this date or date-time.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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.

ParameterTypeDescription
busyTimeTypeIdintegerOnly busy times of this type.
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
practitionerIdintegerOnly busy times of this practitioner.
start_gtstringOnly busy times starting after this date or date-time.
start_ltstringOnly busy times starting before this date or date-time.
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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.

ParameterTypeDescription
id_gtintegerOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltintegerOnly objects with an id less than this: the previous page.
include_archivedbooleantrue to include archived objects (default false).
update_gtstringOnly objects updated after this date or date-time (UTC).
update_ltstringOnly 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}.

ParameterTypeDescription
endDate *stringLast date of the window, at most 100 days after startDate.
practitioner_id *integerPractitioner id.
startDate *stringFirst date of the window.
locationIdintegerOnly 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.

ParameterTypeDescription
from *stringStart of the search window (UTC).
locationId *integerLocation id (splose_list_locations).
practitionerIds *arrayOne or more practitioner ids.
serviceId *integerService id (splose_list_services).
intervalintegerSlot step in minutes (default 15).
tostringEnd 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.

ParameterTypeDescription
end *stringAppointment end (UTC), after start.
locationId *integerLocation id.
patientId *integerPatient id.
practitionerId *integerPractitioner id.
serviceId *integerService id.
start *stringAppointment start (UTC).
caseIdintegerCase (funding plan) id to attach.
notestringAppointment 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}.

ParameterTypeDescription
appointment_id *integerAppointment id.
caseIdintegerNew case id.
endstringNew end (UTC).
locationIdintegerNew location id.
patientIdintegerNew patient id.
practitionerIdintegerNew practitioner id.
serviceIdintegerNew service id.
startstringNew 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.

ParameterTypeDescription
appointment_id *integerAppointment id.
confirm *booleanMust be true: the user has confirmed this cancellation (it may charge a fee and notify the patient).
reasonId *integerCancellation reason id.
notestringOptional cancellation note.
patient_idintegerGroup 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.

ParameterTypeDescription
appointment_id *integerAppointment id.
patient_idintegerGroup 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.

ParameterTypeDescription
firstname *stringFirst name.
lastname *stringLast name.
addressL1string
addressL2string
alertstringAlert message shown on the patient record.
birthdatestringBirth date, yyyy-mm-dd.
citystring
communicationPreferencestringDefaults to the organisation's preference.
countrystring
emailstring
emergencyContactNamestring
emergencyContactNumberstring
emergencyContactRelationshipstring
extraInfostring
genderIdentitystring
invoiceRecipientIdintegerContact id that receives the invoices.
irnstringMedicare reference number.
medicareNumstring
middleNamestring
ndisNumberstringNDIS participant number.
phoneNumbersarray
postalCodestring
preferredNamestring
pronounsstring
sexstring
statestring
timezonestringIANA timezone, e.g. Australia/Adelaide.
titlestringe.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.

ParameterTypeDescription
email *string
name *stringDisplay name, e.g. a plan manager's business name.
type *stringContact type, e.g. Standard (copy the value from an existing contact).
addressL1string
addressL2string
companyNamestring
countrystring
doctorTypestring
firstNamestring
lastNamestring
occupationstring
phoneNumbersarray
postalCodestring
preferredNamestring
providerNumberstring
statestring
suburbstring
titlestring

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.

ParameterTypeDescription
amount *numberAmount paid, in dollars.
confirm *booleanMust be true: the user has confirmed the invoice, amount and payment method.
invoiceId *integerInvoice id the payment settles.
locationId *integerLocation id.
patientId *integerPatient id of the invoice.
paymentDate *stringDate the money was received.
paymentMethodId *integerPayment method id (splose_list_payment_methods).