action drchrono_medications_read { label: "medications_read" description: "Retrieve an existing patient medications" provider: drchrono method: GET path: "/api/medications/{id}" encoding: json input: { type: "object" properties: { doctor: { type: "integer" } id: { type: "string" } patient: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["doctor", "patient"] properties: { appointment: { type: "integer" description: "Appointment ID corresponding to the initial prescription" } date_prescribed: { type: "string" } date_started_taking: { type: "string" } date_stopped_taking: { type: "string" } daw: { type: "boolean" description: "If true, the prescription should be dispensed as written and not substituted" } dispense_quantity: { type: "number" } doctor: { type: "integer" description: "Prescribing doctor ID" } dosage_quantity: { type: "string" description: "Please note, this used to be an decimal field, you can still pass decimal value to it. Or you can pass in some formatted string if needed." } dosage_units: { type: "string" } frequency: { type: "string" description: "Frequency pf administration" } id: { type: "integer" } indication: { type: "string" } name: { type: "string" } ndc: { type: "string" } notes: { type: "string" description: "Any additional notes from the provider" } number_refills: { type: "integer" } order_status: { type: "string" description: "One of `\"\"`, `\"Ordered\"`, `\"Administered during visit\"`, `\"Electronic eRx Sent\"`, `\"Phoned into Pharmacy\"`, `\"Faxed to Pharmacy\"`, `\"Paper Rx\"`, `\"Prescription Printed\"`, `\"Discontinued\"`, `\"Prescribed by other Dr\"` or `\"Over the Counter\"`. If omitted in writing, default to `\"\"`" enum: ["", "Ordered", "Administered during visit", "Electronic eRx Sent", "Phoned into Pharmacy", "Faxed to Pharmacy", "Paper Rx", "Prescription Printed", "Discontinued", "Prescribed by other Dr", "Over the Counter"] } patient: { type: "integer" } pharmacy_note: { type: "string" } prn: { type: "boolean" description: "If `True`, the medication should be taken when necessary" } route: { type: "string" description: "Route of administration" } rxnorm: { type: "string" description: "RxNorm code for the medication" } signature_note: { type: "string" } status: { type: "string" description: "If present, one of `\"active\"` or `\"inactive\"`. If omitted in writing, default to `\"active\"`" enum: ["active", "inactive"] } } } }