NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Quote → Create

AI-generated

Summary

Create a new quote in the NextMotion system linked to a specific patient and consultation, optionally associating it with a clinic, invoice, treatments, and other customizable details.

Inputs

  • Clinic — Optional clinic associated with the quote; required if broader retrievals or linking are needed.
  • Patient (required) — The patient for whom the quote is created; requires selecting a clinic first.
  • Consultation (required) — The consultation from which to create the quote; the patient must be selected before choosing the consultation.
  • Additional Fields — Optional parameters including whether to add treatments to a calendar journey, answers for document template questionnaires (autocomplete), immediate validation flag, document template selection for PDF rendering, free text content, invoice reference, notes, rebate amount or percentage, template text, title, a list of treatments to include (cannot be provided if invoice is specified), and voucher code.

Output shape

A single record representing the newly created quote object with details according to the NextMotion API response.

The created quote includes data from required patient and consultation references plus any additional optional fields. If both treatments and invoice are provided, treatments are ignored. Validation can be triggered immediately if specified.

Links

Discussion