A patient's prescriptions
Every prescription a patient has at this clinic, optionally narrowed to specific appointments.
API-key only, gated on devapi_patients_prescriptions_list. Responses carry
Cache-Control: no-store.
Parameters
Path parameters
patientIdintegerrequiredExample: 4821The Medos patient id, from GET /v1/patients.
Query parameters
appointmentRefslistExample: SCHEDULED:91234Comma-separated refs. Omit it for every visit. One malformed entry rejects the whole list.
pageintegermin: 0Default: 0Zero-based page number.
sizeintegermin: 1max: 100Default: 20Page size. Over 100 is a 400, not a silent clamp.
Headers
x-api-keystringrequiredExample: mk_…Your Developer API key. Server-side only.
X-Acting-User-IdstringExample: MDU_A1B2C3D4E5F6The staff member the call is attributed to, as an MDU_… id. Omit it to attribute the call to the workspace admin.
appointmentRefs is all-or-nothing. A bare number means SCHEDULED. One
malformed entry rejects the whole list with a 400
rather than applying a narrower filter than the one you asked for.
fromDate and toDate are accepted but not applied yet
This route accepts fromDate and toDate without error, but does not filter
on them yet. Until it does, filter by date on your side, or narrow by
appointment with appointmentRefs.
Responses
The 200 is a page of
prescriptions.