The Discontinued Medication Object

{
    "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
}
AttributeTypeAllowed ValuesDescription
idintThe id of the discontinue medication
last_medication_orderintThe id of the last medication ordered before we discontinued this thread of med orders
med_orderintThis id of the medication which we discontinued
thread.dc_datedatetimeThe datetime at which the medication order thread was discontinued, should usually be the same as discontinue date
thread.is_permanentbooleanIf the medication was a permanent prescription, not intended to be temporary
discontinue_datedateThe date when the medication was discontinued
reasonstringThe discontinue reason
prescribing_physicianintThe physician who prescribed the medication
supervising_physicianintIf the prescribing physician requires supervision, this will reference the physician who is in that role
is_documentedbooleanif documented
medicationobjectThe medication that was discontinued
documenting_personnelintThe user who documented this discontinue
document_datedatetimeThe timestamp at which we've documented this discontinue occurred
chart_datedatetimeThe timestamp at which this discontinue was available in the patient's chart.
created_datedatetimeThe timestamp at which this discontinue was created in our database
deleted_datedatetimeThe timestamp at which the discontinue was marked as deleted, usually occurs when a user wants to "undiscontinue" the medication.
signed_datedatetimeThe timestamp at which a user signed off on the discontinune
patientintThe id of the patient chart
practiceintThe id of the practice