Skip to main content

Orders and Prescriptions

This page explains the complete lifecycle of an order in RxScale — from the moment a patient places it to the moment they receive their medication.

How Orders Flow Through the System

When a patient places an order through your shop, it triggers a series of steps managed by RxScale:
Patient places order
        |
        v
   Order created (init)
        |
        v
   Processing started (started)
        |
        v
   Waiting for doctor review
        |
        v
   Doctor approves prescription
        |
        v
   Prescription signed (QES)
        |
        v
   Order sent to pharmacy (waiting for pharmacy)
        |
        v
   Pharmacy processes order
        |
        v
   Order shipped
        |
        v
   Order completed

Order Lifecycle Step by Step

1

Order created

The patient completes a checkout in your shop. An order is created in RxScale with a status of “init”. The system validates the order and begins processing.
2

Processing started

The system verifies the order details, checks product availability, and prepares the prescription request for doctor review.
3

Waiting for doctor

The prescription is placed in a doctor’s review queue. The doctor reviews the patient’s questionnaire responses and medical information.
4

Doctor decision

The doctor either approves, declines, or places the prescription on hold.
  • Approved — The prescription moves to signing.
  • Declined — The order is updated and the patient is notified.
  • On hold — The prescription is paused for additional information.
5

Prescription signed

The doctor electronically signs the prescription using a qualified electronic signature (QES). This makes it legally valid.
6

Sent to pharmacy

The system routes the order to an appropriate pharmacy based on product availability and location.
7

Pharmacy processing

The pharmacy reviews the order, prepares the medication, and ships it to the patient.
8

Order completed

The patient receives their medication and the order is marked as completed.

Prescription Management

Prescription Creation

A prescription is created automatically when an order enters the doctor review stage. You do not need to create prescriptions manually — the system handles this based on the products in the order.

Prescription Statuses

StatusWhat It Means
waiting for doctorA doctor has not yet reviewed this prescription.
approvedThe doctor approved the prescription. It will be signed next.
signedThe prescription has been electronically signed and is legally valid.
declinedThe doctor declined this prescription.
ON_HOLDThe prescription is on hold for additional review.
cancelledThe prescription was cancelled.
For detailed status descriptions, see Prescription Statuses.

Working with Pharmacy Partners

Once a prescription is signed, RxScale handles pharmacy assignment automatically. The system considers:
  • Product availability — Whether the pharmacy has the required products in stock.
  • Location — Geographic proximity to the patient for faster delivery.
  • Capacity — The pharmacy’s current workload.
You do not need to manage pharmacy relationships directly. RxScale takes care of routing orders to the right pharmacy.

Monitoring Orders

You can monitor order progress through:
  • Webhooks — Receive real-time notifications when order or prescription statuses change. See Webhooks and Notifications.
  • Management API — Query order and prescription details programmatically. See Management API.