NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Appointment Request → Create

AI-generated

Summary

Create a new appointment request by providing patient details and scheduling information for a specific clinic and visit type opening hour.

Inputs

  • clinicId (required) — The clinic where the appointment request will be made, selectable from a searchable list or by UUID.
  • email (required) — The patient's email address.
  • first_name (required) — The patient's first name.
  • last_name (required) — The patient's last name.
  • birth_date (required) — The patient's birth date; date-time input with only the date part used.
  • phone_number (required) — The patient's phone number.
  • visit_type_opening_hour (required) — The ID of the opening hour slot for the visit type, retrieved from Visit Type > Get Opening Hours.
  • time_slot (required) — The requested appointment time slot as a date-time string.
  • additionalFields — Optional fields including preferred doctor (selectable by list or ID) and patient gender (Female, Male, Other).

Output shape

a single record representing the created appointment request

The operation returns the details of the newly created appointment request. It requires all mandatory patient and scheduling fields. Optional fields can be included via 'Additional Fields'. Errors will occur if required fields are missing or invalid.

Links

Discussion