Push Prescription
To push prescription with items and its quantity.
Push Prescription
POST
https://api.evitalrx.in/v1/doctor/orders/push_prescription
Request Body
Name | Type | Description |
---|---|---|
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. dosage details can be passed through directions in 1-1-1-1 (morning-noon-evening-night) format. i.e. [{ "medicine_id":"haaLvntZX7KmadCtJa314w==", "quantity":10, "discount_percentage": 5, "directions": "0-1-0.5-2" }] |
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. |
Last updated