---
type: "search-params"
title: "MedicationStatement Search Parameters"
resource: "MedicationStatement"
---
# MedicationStatement Search Parameters
## adherence
**Description:** Returns statements based on adherence or compliance
**Type:** token
**Expression:** MedicationStatement.adherence.code
**Path:** MedicationStatement.takenAsOrdered
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-adherence
## category
**Description:** Returns statements of this category of MedicationStatement
**Type:** token
**Expression:** MedicationStatement.category
**Path:** MedicationStatement.category
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-category
## code
**Description:** Return statements of this medication code
**Type:** token
**Expression:** MedicationStatement.medication.concept
**Path:** MedicationStatement.medication.concept
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-code
## effective
**Description:** Date when patient was taking (or not taking) the medication
**Type:** date
**Expression:** MedicationStatement.effective.ofType(dateTime) | MedicationStatement.effective.ofType(Period)
**Path:** MedicationStatement.effective[x]
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-effective
## encounter
**Description:** Returns statements for a specific encounter
**Type:** reference
**Expression:** MedicationStatement.encounter
**Path:** MedicationStatement.encounter
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-encounter
## identifier
**Description:** Return statements with this external identifier
**Type:** token
**Expression:** MedicationStatement.identifier
**Path:** MedicationStatement.identifier
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-identifier
## medication
**Description:** Return statements of this medication reference
**Type:** reference
**Expression:** MedicationStatement.medication.reference
**Path:** MedicationStatement.medication.reference
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-medication
## patient
**Description:** Returns statements for a specific patient.
**Type:** reference
**Expression:** MedicationStatement.subject.where(resolve() is Patient)
**Path:** MedicationStatement.subject
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-patient
## source
**Description:** Who or where the information in the statement came from
**Type:** reference
**Expression:** MedicationStatement.informationSource
**Path:** MedicationStatement.informationSource
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-source
## status
**Description:** Return statements that match the given status
**Type:** token
**Expression:** MedicationStatement.status
**Path:** MedicationStatement.status
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-status
## subject
**Description:** The identity of a patient, animal or group to list statements for
**Type:** reference
**Expression:** MedicationStatement.subject
**Path:** MedicationStatement.subject
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/MedicationStatement-subject