> ## 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 History Download Fill Object

```json theme={null}
{
    "id": 1,
    "patient": 140744516042753,
    "practice": 655364,
    "create_date": "2013-04-09T18:44:40Z",
    "medication_order": 4915226,
    "history_download": 140744519450846,
    "medication": 9423683631,
    "medication_description": "Amoxicillin 125 MG/5 ML suspension",
    "quantity": "150",
    "quantity_unit": "MILLILITER",
    "quantity_note": "Quantity received",
    "days_supply": "10",
    "directions": null,
    "note": null,
    "substitutions": null,
    "last_fill_date": "2019-11-04T08:00:00Z",
    "written_date": null,
    "refills": [
        140744518139924
    ],
    "diagnoses": [
        140744518270995
    ],
    "prior_auth": null,
    "prior_auth_qualifier": null,
    "pharmacy_ncpdpid": null,
    "prescriber": 140744518074505,
    "prescribing_physician": null,
    "requesting_physician_action": "ReqAct",
    "is_active": false,
    "requesting_physician": 720898
}
```

| Attribute                     | Type     | Allowed Values                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| :---------------------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                            | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| patient                       | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| practice                      | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| create\_date                  | datetime |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| medication\_order             | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| history\_download             | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| medication                    | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| medication\_description       | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| quantity                      | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| quantity\_unit                | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| quantity\_note                | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| days\_supply                  | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| directions                    | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| note                          | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| substitutions                 | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| last\_fill\_date              | datetime |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| written\_date                 | datetime |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| refills                       | list     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| diagnoses                     | list     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| prior\_auth                   | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| prior\_auth\_qualifier        | string   | "94" - "Pharmacy or Prescriber File ID",  <br />"0B" - "State License Number",  <br />"1C" - "Medicare Number",  <br />"1D" - "Medicaid Number",  <br />"1E" - "Dentist License Number",  <br />"1G" - "UPIN",  <br />"1J", "Facility ID Number",  <br />"1M" - "PPO Number",  <br />"2U" - "Payer Identification Number",  <br />"ADI" - "Processor Identification Number",  <br />"BO" - "BIN Location Number",  <br />"C1" - "Commercial",  <br />"EA" - "Medical Record Identification Number",  <br />"EJ" - "Patient Account Number",  <br />"D3" - "NCPDP Provider ID Number",  <br />"DH" - "DEA Number",  <br />"G1" - "Prior Authorization",  <br />"GI" - "Secondary Provider Number",  <br />"HI" - "HIN",  <br />"HPI" - "National Provider ID",  <br />"IP" - "Individual Policy Number",  <br />"NC" - "Secondary Coverage Company Number",  <br />"NF" - "National Association of Insurance Commissioner Code",  <br />"PD" - "Promotion Number",  <br />"SY" - "Social Security Number",  <br />"WI" - "Waiver",  <br />"ZZ" - "Mutually Defined" |
| pharmacy\_ncpdpid             | string   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| prescriber                    | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| prescribing\_physician        | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| requesting\_physician\_action | string   | "ReqAct" - "Requiring Action",  <br />"Addressed" - "Addressed"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| is\_active                    | bool     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| requesting\_physician         | int      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
