NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Treatment → Create

AI-generated

Summary

Create a treatment record in the NextMotion system by specifying the associated consultation, treatment type, and pricing, along with optional fields such as clinic, patient, provider, assistant, and treatment details.

Inputs

  • consultation (required) — The consultation associated with this treatment; patient must be selected first to choose the consultation.
  • treatment_type (required) — The type of treatment to create.
  • treatment_pricing (required) — The pricing option for the treatment, selected after choosing the treatment type.
  • clinicId — The clinic where the treatment occurs; required if using dropdown selection for treatments.
  • patientId — The patient receiving the treatment; required when selecting from dropdown for Create operations.
  • additionalFields — Optional fields to provide more details about the treatment including assistant, notes, provider, quantity, secretary, text, treatment_time, and anatomical zone.

Output shape

A single treatment record object representing the newly created treatment.

The operation requires mandatory consultation, treatment type, and pricing inputs, with other fields optional or conditionally required based on selection modes. Output is the treatment object as returned by the NextMotion API's treatment creation endpoint.

Examples

Example 1: Create a new treatment for a specific patient consultation with selected treatment type and pricing, including provider and treatment date/time.

Set 'consultation', 'treatment_type', 'treatment_pricing', and optionally fill 'patientId', 'provider', and 'treatment_time' fields in 'additionalFields'.

Links

Discussion