Register Patient for Scheduling

Overview

register_patient registers or links the patient in the scheduling system for a specific department. An LLM/agent should call this tool if get_visit_types fails with a "patient not registered" error. It requires department_id (the facility_id from provider_search results). After a successful registration, get_visit_types should be retried.

Required Parameters

department_id (string)

  • The facility_id from provider_search results, for the department where the patient wants to schedule.

Optional Parameters

debug (boolean)

  • Default: false
  • Whether to display debugging information.

Returns

Returns a RegisterPatientResult object with:

  • success (boolean, optional) — Whether patient registration succeeded.
  • Also includes the shared base result fields: result, error, urls, meta, and debug (the latter two populated only when debug=true).

Notes

  • This tool is a recovery step for get_visit_types: if get_visit_types fails because the patient is not registered for online scheduling with the health system, call register_patient for the relevant department_id, then retry get_visit_types.


Did this page help you?