Actions163
- Accounting Distribution Actions
- Appointment Device Actions
- Appointment Request Actions
- Appointment Room Actions
- Calendar Appointment Actions
- Calendar Journey Actions
- Calendar Opening Hour Actions
- Call Actions
- Clinic Actions
- Communication Record Actions
- Communication Template Actions
- Consultation Actions
- Credit Note Actions
- Doctor Actions
- Document Template Actions
- Feature Actions
- Global Product Actions
- Invoice Actions
- Lead Actions
- Media Montage Actions
- Media Record Actions
- Medical History Actions
- Object Label Actions
- Patient Actions
- Payment Actions
- Payment Medium Actions
- Photo Compare Actions
- Prescription Actions
- Product Actions
- Quote Actions
- Sub Visit Type Actions
- Survey Form Actions
- Treatment Actions
- Treatment Package Actions
- Treatment Pricing Actions
- Treatment Type Actions
- User Actions
- Visit Actions
- Visit Type Actions
- Visit Type Category Actions
- Webhook Actions
Treatment → Create
AI-generatedSummary
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'.