Push Prescription

To push prescription with items and its quantity.

Push Prescription

POST https://api.evitalrx.in/v1/doctor/orders/push_prescription

Request Body

NameTypeDescription

patient_id*

String

Id to uniquely identify the patient for whom the order is placed.

Pass blank ('') if mobile and patient_name is passed in the request body. it will automatically create the patient.

items*

Array

List of items with quantity (in pills) and medicine_id and discount_percentage. Max 99% discount is allowed.

i.e. [{"medicine_id":"haaLvntZX7KmadCtJa314w==", "quantity":10, "discount_percentage": 5}]

apikey*

String

Authentication token

patient_name

String

Name of the Patient.

Only required if patient_id is passed blank.

doctor_name

String

Name of the Prescribing doctor

batch_with

String

Must be yes or no yes will Auto feed the batches based on the shortest expiry & stock availability no will keep the batch details empty

delivery_type

String

Must be one of pickup or delivery.

remark

String

Note for the Prescription.

parent_patient_id

String

If billing for family member, then pass parent patient's ID here.

shipping

Number

Delivery or Extra charges to be added in the order. default: 0

mobile

String

Mobile of the Patient.

Only required if patient_id is passed blank.

{
    "status_code": "1",
    "status_message": "Order placed successfully",
    "datetime": "2022-12-07 14:18:11",
    "data": {
        "order_id": "jcdPUtlOBIBZY6xfDXJ6Gw==",
        "order_number": "ODLBDER3UQ"
    }
}

Last updated