# Prescription Remove

| **API URL**     | {{url}}/spice-service/prescription-request/create |
| --------------- | ------------------------------------------------- |
| **Method**      | POST                                              |
| **Description** | Prescription create for the patient               |

#### **Input:** <a href="#prescriptionremove-v2-input" id="prescriptionremove-v2-input"></a>

| **Field Name**         | **Type** | **Mandatory** | **Example**                                                                                                                             |
| ---------------------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| discontinuedReason     | String   | Yes           | Discontinued Reason                                                                                                                     |
| prescriptionId         | Bigint   | Yes           | Prescription Id                                                                                                                         |
| provenance             | String   | Yes           | Provenance details of the organization                                                                                                  |
| modifiedDate           | Date     | Yes           | Modified Date of investigation                                                                                                          |
| organizationId         | Bigint   | Yes           | Organization Id                                                                                                                         |
| spiceUserId            | Bigint   | Yes           | SpiceUser Id                                                                                                                            |
| userId                 | Bigint   | Yes           | User Id                                                                                                                                 |
| Authorization (Header) | String   | Yes           | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
| client                 | String   | Yes           | mob                                                                                                                                     |

#### **Sample Input:** <a href="#prescriptionremove-v2-sampleinput" id="prescriptionremove-v2-sampleinput"></a>

{\
"discontinuedReason": "577ug",\
"prescriptionId": "11",\
"provenance": {\
"modifiedDate": "2025-01-22T06:42:00.557Z",\
"organizationId": "91",\
"spiceUserId": 22,\
"userId": "3"\
}\
}

#### **Output:** <a href="#prescriptionremove-v2-output" id="prescriptionremove-v2-output"></a>

| **Field Name** | **Type** | **Comments**                      |
| -------------- | -------- | --------------------------------- |
| message        | String   | Removed Prescription Successfully |
| status         | Boolean  | Response status                   |

#### **Sample Output:** <a href="#prescriptionremove-v2-sampleoutput" id="prescriptionremove-v2-sampleoutput"></a>

```
{
  "message": "Removed Prescription Successfully.",
  "entity": null,
  "status": true,
  "entityList": null,
  "responseCode": 200,
  "totalCount": null
}
```
