Prescription API
Prescription API
Manage electronic prescriptions across the entire care journey. Create, validate, sign, route and dispense prescriptions through secure healthcare APIs.
Authentication
OAuth 2.0
Required
Permissions
prescriptions.*
Required
Rate limit
600 requests / min
Default
Caching
30 seconds
Recommended
Response
200 OK
About Prescription API
Prescription API supports the electronic prescription journey from draft creation through clinical validation, signature, pharmacy routing and dispensation.
Key features
Clinical workflows
Create and manage electronic prescriptions.
Digital signature
Create an immutable signed prescription snapshot.
Pharmacy routing
Send signed prescriptions to the patient’s selected pharmacy.
Recurring treatment
Support long-term and recurring medication plans.
Dispensation
Record partial or complete medication handover.
Auditability
Keep a complete immutable event history.
Base URL
Base URL
https://api.mediloop.com/v1/prescriptionsAuthentication
| Scope | Purpose |
|---|---|
| prescriptions.read | Read prescriptions |
| prescriptions.write | Create and update drafts |
| prescriptions.sign | Sign validated prescriptions |
| prescriptions.route | Route to pharmacies |
| prescriptions.dispense | Record dispensation |
| prescriptions.audit.read | Read audit history |
Common workflows
| Workflow | Sequence |
|---|---|
| Standard e-prescription | Create → validate → sign → route → dispense |
| Draft correction | Create → update → validate |
| Recurring treatment | Create recurring plan → generate occurrences → dispense |
| Hospital/EHR integration | Create/update via API → mirror FHIR resources |
Prescription lifecycle
draftCreated by provider
clinically_validatedClinically validated
signedDigitally signed
routedSent to pharmacy
dispensedDispensed to patient