The Prescriptions API powers the full digital prescription workflow in Oasis Liquido. Doctors issue prescriptions with one or more medicine lines; each prescription generates a QR code that pharmacy staff can scan to validate authenticity and then fulfill partially or fully. The status progresses automatically as lines are fulfilled.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/FlasheyEstudi/Oasis-Liquido/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v1/prescriptions
Create a new prescription. Only users with thedoctor role can call this endpoint.
Request body
UUID of the patient receiving the prescription.
UUID of the clinic issuing the prescription.
ISO 8601 date after which the prescription is no longer valid, e.g.
2026-08-01.Optional clinical notes visible to the pharmacy.
One or more prescription lines, each specifying a medicine and quantity.
curl example
GET /api/v1/prescriptions
Return a paginated list of prescriptions visible to the authenticated user.Query parameters
Filter by patient UUID.
Filter by doctor UUID.
Filter by prescription status. One of:
active, partially_fulfilled, fulfilled, expired.ISO 8601 lower bound on
issue_date.Page number.
Results per page.
curl example
GET /api/v1/prescriptions/:id
Retrieve a single prescription with its lines expanded, including medicine details for each line.Path parameters
UUID of the prescription.
curl example
POST /api/v1/prescriptions/validate
Validate a prescription by scanning its QR code. Pharmacy staff call this endpoint to confirm authenticity before dispensing.Request body
The raw string payload decoded from the prescription’s QR code.
curl example
POST /api/v1/prescriptions/:id/fulfill
Record a partial or full fulfillment of a prescription at a pharmacy. Updatesquantity_fulfilled for each specified line and recalculates the prescription status.
Path parameters
UUID of the prescription to fulfill.
Request body
UUID of the fulfilling pharmacy.
The lines being fulfilled in this transaction.
curl example
Prescription status values
| Status | Description |
|---|---|
active | Issued and not yet dispensed |
partially_fulfilled | Some lines have been partially dispensed |
fulfilled | All lines have been fully dispensed |
expired | Past the expiration_date and no longer valid |