action drchrono_amendments_create { label: "amendments_create" description: "Create patient amendments to a patient's clinical records" provider: drchrono method: POST path: "/api/amendments" encoding: json input: { type: "object" properties: { appointment: { type: "integer" } doctor: { type: "integer" } patient: { type: "integer" } } additionalProperties: false } output: { type: "object" required: ["amendment_file", "amendment_name", "doctor", "patient"] properties: { amendment_file: { type: "string" description: "A PDF file containing the amended information for the patient's record" } amendment_name: { type: "string" } appointment: { type: "integer" description: "ID of the appointment to which the amendment applies, if any. If present, the `amendment_file` will be appended to the clinical note for this appointment." } comments: { type: "string" } doctor: { type: "integer" description: "ID of the doctor who owns the amendment" } id: { type: "integer" } patient: { type: "integer" description: "ID of the patient to whom the amendment applies" } } } }