> ## 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

> This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.

## Properties

| Name                | Required | Type                                                                                                                                                                                   | Description                                            |
| ------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| identifier          | No       | [Identifier](/medical-api/fhir/data-types/identifier)\[]                                                                                                                               | Business identifier for this medication                |
| code                | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)                                                                                                                        | Codes that identify this medication                    |
| status              | No       | code                                                                                                                                                                                   | active / inactive / entered-in-error                   |
| manufacturer        | No       | Reference\<[Organization](/medical-api/fhir/resources/organization)>                                                                                                                   | Manufacturer of the item                               |
| form                | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)                                                                                                                        | powder / tablets / capsule +                           |
| amount              | No       | [Ratio](/medical-api/fhir/data-types/ratio)                                                                                                                                            | Amount of drug in package                              |
| ingredient          | No       | MedicationIngredient                                                                                                                                                                   | Active or inactive ingredient                          |
| - id                | No       | string                                                                                                                                                                                 | Unique id for inter-element referencing                |
| - extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                 | Additional content defined by implementations          |
| - modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                 | Extensions that cannot be ignored even if unrecognized |
| - item\[x]          | Yes      | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept), Reference\<[Substance](/medical-api/fhir/resources/substance) / [Medication](/medical-api/fhir/resources/medication)> | The actual ingredient or content                       |
| - isActive          | No       | boolean                                                                                                                                                                                | Active ingredient indicator                            |
| - strength          | No       | [Ratio](/medical-api/fhir/data-types/ratio)                                                                                                                                            | Quantity of ingredient present                         |
| batch               | No       | MedicationBatch                                                                                                                                                                        | Details about packaged medications                     |
| - id                | No       | string                                                                                                                                                                                 | Unique id for inter-element referencing                |
| - extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                 | Additional content defined by implementations          |
| - modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                 | Extensions that cannot be ignored even if unrecognized |
| - lotNumber         | No       | string                                                                                                                                                                                 | Identifier assigned to batch                           |
| - expirationDate    | No       | dateTime                                                                                                                                                                               | When batch will expire                                 |

## Search Parameters

| Name            | Type      | Description                                              | Expression                      |
| --------------- | --------- | -------------------------------------------------------- | ------------------------------- |
| code            | token     | Returns medications for a specific code                  | Medication.code                 |
| expiration-date | date      | Returns medications in a batch with this expiration date | Medication.batch.expirationDate |
| form            | token     | Returns medications for a specific dose form             | Medication.form                 |
| identifier      | token     | Returns medications with this external identifier        | Medication.identifier           |
| ingredient      | reference | Returns medications for this ingredient reference        | Medication.ingredient.item      |
| ingredient-code | token     | Returns medications for this ingredient code             | Medication.ingredient.item      |
| lot-number      | token     | Returns medications in a batch with this lot number      | Medication.batch.lotNumber      |
| manufacturer    | reference | Returns medications made or sold for this manufacturer   | Medication.manufacturer         |
| status          | token     | Returns medications for this status                      | Medication.status               |

## Inherited Properties

| Name              | Required | Type                                                   | Description                                            |
| ----------------- | -------- | ------------------------------------------------------ | ------------------------------------------------------ |
| id                | No       | string                                                 | Logical id of this artifact                            |
| meta              | No       | [Meta](/medical-api/fhir/data-types/meta)              | Metadata about the resource                            |
| implicitRules     | No       | uri                                                    | A set of rules under which this content was created    |
| language          | No       | code                                                   | Language of the resource content                       |
| text              | No       | [Narrative](/medical-api/fhir/data-types/narrative)    | Text summary of the resource, for human interpretation |
| contained         | No       | Resource\[]                                            | Contained, inline Resources                            |
| extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations          |
| modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored                      |

To view the FHIR specification for this resource, see [Medication](https://www.hl7.org/fhir/StructureDefinition/Medication).
