NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Visit → Create

AI-generated

Summary

Create a new visit record in NextMotion linked to a specified patient (required) and optionally a clinic, including its subject, start and end times, color, and optional details such as note and visit type.

Inputs

  • Clinic — Optionally specify the clinic associated with the visit either by selecting from a list of clinics or by providing the clinic's UUID.
  • Patient (required) — Select the patient associated with this visit either from a searchable patient list or by entering their UUID.
  • Subject (required) — Provide the subject or title of the visit.
  • Visit Start Time (required) — Set the visit's start date and time in ISO 8601 format.
  • Visit End Time (required) — Set the visit's end date and time in ISO 8601 format.
  • Color (required) — Define the visit's color using an RGBA HEX code without the leading '#'.
  • Additional Fields — Optionally add a note (in HTML format) about the visit or specify a visit type by selecting from visit types or entering its UUID.

Output shape

a single visit record object

The operation returns the created visit's details as a single JSON object. No pagination or batch behavior applies.

Links

Discussion