NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Visit Type → Create

AI-generated

Summary

Create a new visit type in the NextMotion system with specified attributes and optional clinic association.

Inputs

  • Clinic — Optionally select the clinic to which the visit type belongs, either by searching in a list or providing the clinic UUID.
  • Subject (required) — Set the display name for the visit type.
  • Color (required) — Specify the hexadecimal color code representing the visit type.
  • Additional Fields — Optionally configure extra settings such as Bolt note ID, category ID, display preferences (agenda, appointment form, dashboard, patient file), default duration in minutes, enablement of treatment pre-payments, next visit reminder interval in days, and default price.

Output shape

a single object representing the newly created visit type

The returned object contains the details of the created visit type including all supplied fields. Clinic association is optional and if omitted, the visit type will not be linked to a specific clinic.

Examples

Example 1: Create a visit type named 'General Consultation' with a pink color, default duration 30 minutes, visible in agenda and appointment forms, enabled treatment pre-payments, and associated with a specific clinic selected from the list.

Clinic selected from list, Subject set to 'General Consultation', Color set to 'FEC0CB', Duration set to 30, Display in Agenda and Appointment Form set to true, Enable Treatment Pre-Payments set to true.

Links

Discussion