Create Prescription
Create a new prescription for a patient as a clinician, specifying medications, dosage, frequency, duration, instructions, and quantity. Returns the created prescription record.
Overview
- Method: POST
- Path:
/clinician/prescription/create-prescription - Tags: clinician
Parameters
No parameters required.
Request Body
- Content Type:
application/json - Required: Yes
Fields
| Field | Type | Required | Details |
|---|---|---|---|
| customerId | string | Yes | |
| clinicianId | string | Yes | |
| medications | string | Yes | |
| dosage | string | Yes | |
| frequency | string | Yes | |
| duration | string | Yes | |
| instructions | string | Yes | |
| quantity | number | Yes |
Responses
200
Successful response
Content Type: application/json
{
"id": "string",
"prescriptionNumber": "string",
"customerId": "string",
"clinicianId": "string",
"status": {},
"medications": "string",
"medicationName": "string",
"dosage": "string",
"frequency": "string",
"duration": "string",
"instructions": "string",
"quantity": 123,
"price": 123
}400
Bad Request
Content Type: application/json
{}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/clinician/prescription/create-prescription \
-H "Content-Type: application/json" \
-d '{"example": "data"}'