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

# Medication Statement

> Schema documentation for the Medication Statement table in the Metriport data model

A medication statement record represents a record of a medication that is being consumed by a patient. This includes details about the medication, its current status, and any relevant clinical information.

**Reference Table:**

The `medication_statement_references` table contains normalized references from the medication statement to other entities. It supports the following reference properties:

* **medication\_reference** (required): links to the medication referenced in the statement
* **subject** (required): links to the patient who is taking the medication

For detailed information about reference table structure and indexing, see the [Reference Tables documentation](/medical-api/handling-data/schema-v000/reference-tables).

**Medication Statement Table:**

**Primary Keys:**

* medication\_statement\_id

**Foreign Keys:**

* patient\_id
* medication\_id

| Column                    | Data Type | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| medication\_statement\_id | varchar   | Unique identifier for the medication statement                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| patient\_id               | varchar   | Unique identifier for the patient                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| medication\_id            | varchar   | Unique identifier for the medication                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| status                    | varchar   | Status of the medication statement. Possible values:<br />– <code>active</code>: The medication is still being taken.<br />– <code>completed</code>: The medication is no longer being taken.<br />– <code>entered-in-error</code>: The statement was entered in error.<br />– <code>intended</code>: The medication was intended to be taken.<br />– <code>stopped</code>: The medication has been stopped.<br />– <code>on-hold</code>: The medication is temporarily not being taken.<br />– <code>unknown</code>: The authoring/source system does not know the status.<br />– <code>not-taken</code>: The medication was not taken (this element is not used in most systems). |
| effective\_date           | date      | Start date of the medication statement                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| end\_date                 | date      | End date of the medication statement                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| dose\_unit                | varchar   | Unit of measurement for the dose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| dose\_amount              | varchar   | Amount of medication                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| note\_text                | varchar   | Additional notes about the statement                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| meta\_source              | varchar   | Source document filename from FHIR meta.source                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\_source              | varchar   | **Deprecated.** Use `meta_source` instead.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\_source\_ext         | varchar   | Integration source of the data, derived from FHIR extension                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
