> ## Documentation Index
> Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Discontinued Medication Object

```json theme={null}
{
    "id": 140758491332635,
    "last_medication_order": 140758489235482,
    "med_order": 140758489235482,
    "thread": 140758489169943,
    "discontinue_date": "2022-05-13",
    "reason": null,
    "prescribing_physician": 983042,
    "supervising_physician": null,
    "is_documented": false,
    "medication": {
        "id": 5465899055,
        "rxnorm_cuis": [
            "402014"
        ],
        "ndcs": [
            "00113-0915-55",
            "00113-0915-30",
            "00363-0915-30",
            "00363-0915-74",
            "37205-0837-15",
            "36800-0915-30",
            "36800-0915-55",
            "37205-0837-74",
            "45802-0888-55",
            "36800-0915-74",
            "00113-0915-74",
            "37205-0837-06",
            "00363-0915-55",
            "00904-5834-71",
            "00904-5834-42",
            "30142-0915-74",
            "00904-5834-41",
            "30142-0915-30",
            "30142-0915-55",
            "45802-0888-30",
            "00363-0915-03",
            "36800-0915-01",
            "36800-0915-03",
            "00363-0915-01",
            "37205-0837-66",
            "57896-0760-42",
            "70000-0356-04",
            "70000-0356-03",
            "70000-0356-02",
            "57896-0960-42",
            "70000-0356-01",
            "00363-0007-03",
            "51660-0029-14",
            "51660-0029-44",
            "51660-0029-27",
            "68001-0441-39",
            "68001-0441-40",
            "68001-0441-98"
        ],
        "active_ndcs": [
            "00113-0915-55",
            "00113-0915-30"
        ],
        "name": "Omeprazole Tab delayed rel 20 mg",
        "brand_name": "Omeprazole",
        "generic_name": "Omeprazole delayed rel Tab 20 mg",
        "is_controlled": false,
        "type": "otc",
        "route": "Oral",
        "strength": "20 mg",
        "form": "Tab delayed rel"
    },
    "documenting_personnel": 983042,
    "document_date": "2022-05-13T11:34:02.228894Z",
    "chart_date": "2022-05-13T11:34:02.244652Z",
    "created_date": "2022-05-13T11:34:02.237090Z",
    "deleted_date": null,
    "signed_date": "2022-05-13T11:34:02.244652Z",
    "signed_by": 32,
    "patient": 140754479349761,
    "practice": 140754475089924
}
```

| Attribute               | Type     | Allowed Values | Description                                                                                                                       |
| :---------------------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------------- |
| id                      | int      |                | The id of the discontinue medication                                                                                              |
| last\_medication\_order | int      |                | The id of the last medication ordered before we discontinued this thread of med orders                                            |
| med\_order              | int      |                | This id of the medication which we discontinued                                                                                   |
| thread.dc\_date         | datetime |                | The datetime at which the medication order thread was discontinued, should usually be the same as discontinue date                |
| thread.is\_permanent    | boolean  |                | If the medication was a permanent prescription, not intended to be temporary                                                      |
| discontinue\_date       | date     |                | The date when the medication was discontinued                                                                                     |
| reason                  | string   |                | The discontinue reason                                                                                                            |
| prescribing\_physician  | int      |                | The physician who prescribed the medication                                                                                       |
| supervising\_physician  | int      |                | If the prescribing physician requires supervision, this will reference the physician who is in that role                          |
| is\_documented          | boolean  |                | if documented                                                                                                                     |
| medication              | object   |                | The medication that was discontinued                                                                                              |
| documenting\_personnel  | int      |                | The user who documented this discontinue                                                                                          |
| document\_date          | datetime |                | The timestamp at which we've documented this discontinue occurred                                                                 |
| chart\_date             | datetime |                | The timestamp at which this discontinue was available in the patient's chart.                                                     |
| created\_date           | datetime |                | The timestamp at which this discontinue was created in our database                                                               |
| deleted\_date           | datetime |                | The timestamp at which the discontinue was marked as deleted, usually occurs when a user wants to "undiscontinue" the medication. |
| signed\_date            | datetime |                | The timestamp at which a user signed off on the discontinune                                                                      |
| patient                 | int      |                | The id of the patient chart                                                                                                       |
| practice                | int      |                | The id of the practice                                                                                                            |
