POST Prescription
Add prescription
Request Information
URI Parameters
None.
Body Parameters
prescriptionAPIHelperModelPost| Name | Description | Type | Additional information |
|---|---|---|---|
| doctor_id | integer |
None. |
|
| patient_id | integer |
None. |
|
| session_id | string |
None. |
|
| script_comment | string |
None. |
|
| script_line | Collection of prescriptionAPIHelperScriptLinePost |
None. |
Request Formats
application/json, text/json
Sample:
{
"doctor_id": 1,
"patient_id": 2,
"session_id": "sample string 3",
"script_comment": "sample string 4",
"script_line": [
{
"quantity": 1,
"instructions": "sample string 2",
"product_id": "sample string 3",
"supply_id": 1,
"repeat_number": 4,
"repeat_date": "2025-11-29T20:46:37.8412497+00:00"
},
{
"quantity": 1,
"instructions": "sample string 2",
"product_id": "sample string 3",
"supply_id": 1,
"repeat_number": 4,
"repeat_date": "2025-11-29T20:46:37.8412497+00:00"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
replyPrescriptionRef| Name | Description | Type | Additional information |
|---|---|---|---|
| reference_no | integer |
None. |
|
| document_key | string |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"reference_no": 1,
"document_key": "sample string 2",
"status": 3,
"message": "sample string 4"
}