This resource contains a list of a patient’s current prescribed medications, as documented by one organization. What this doesn’t contain: any details about how much a patient has taken of what they were prescribed.
You can review or retrieve a list of current medications for a patient.
_search
Query for a list of current medications for a patient. Review tips for medication searches.
For data on demand searches, you must include this query parameter:
- FHIR® resource ID for Patient resource (learn about FHIR® references or review HL7's docs on references)
cURL request example
Request Body Schema
- patientArray of string
Returns prescriptions for a specific patient
- patient.identifierArray of string
One or more external identifiers for the patient
- intentArray of string
Returns prescriptions with different intents
- statusArray of string
Status of the prescription
- recorderArray of string
Person who entered the request
- authoredonArray of string
When request was initially authored
- requesterArray of string
Person who prescribed this medication
- encounterArray of string
Encounter during which the medication was prescribed
- encounter.identifierArray of string
Identifier(s) by which this encounter is known
- resourceTyperequired, string
Identifies the type of the resource
Value:Bundle
- typerequired, string
Identifies this bundle as a response to a search
Value:searchset
- totalrequired, number
The total number of matches
- entryArray of MedicationRequest or Other
A resource matching the search criteria or related to a matching resource
- resourcerequired, object
A record of a medication that has been prescribed/ordered.
- resourceTyperequired, string
Identifies the type of the resource
Value:MedicationRequest
- statusrequired, string
A code specifying the current state of the order. Generally, this will be active or completed state.
Possible Values:active
,on-hold
,cancelled
,completed
,entered-in-error
,stopped
,draft
,unknown
- _statusrequired, object
This element contains extensions for
status
. Depending on the extensions present it could be used in place ofstatus
or contain additional information aboutstatus
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- intentrequired, string
Whether the request is a proposal, plan, or an original order.
Possible Values:proposal
,plan
,order
,original-order
,reflex-order
,filler-order
,instance-order
,option
- subjectrequired, object
A link to a resource representing the person or set of individuals to whom the medication will be given.
Must be a resource of type
Patient
.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- requesterrequired, object
The individual, organization, or device that initiated the request and has responsibility for its activation.
The requester will usually be a reference to a Practitioner resource or a PractitionerRole resource containing the practitioner and additional information. In rare instances, the requester may only be an identifier for the resource, such as an NPI.
Must reference one of the following types of resources:
Practitioner
Organization
PractitionerRole
- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource. - identifierobject
An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
- extensionArray of Boolean, String, CodeableConcept, Coding
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
- valueBooleanboolean
A single value for the extension.
- usestring
The purpose of this identifier.
Possible Values:usual
,official
,temp
,secondary
,old (If known)
- systemstring
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
- valuestring
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
- medicationCodeableConceptrequired, object
Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- idstring
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
- identifierArray of object
Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.
- extensionArray of Boolean, String, CodeableConcept, Coding
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
- valueBooleanboolean
A single value for the extension.
- usestring
The purpose of this identifier.
Possible Values:usual
,official
,temp
,secondary
,old (If known)
- systemstring
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
- valuestring
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
- prioritystring
Indicates how quickly the Medication Request should be addressed with respect to other requests.
Possible Values:routine
,urgent
,asap
,stat
- encounterobject
The Encounter during which this [x] was created or to which the creation of this record is tightly associated.
Must be a resource of type
Encounter
.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- recorderobject
The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.
Must be a resource of type
Practitioner
.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- reasonCodeArray of object
The reason or the indication for ordering or not ordering the medication.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- dosageInstructionArray of object
Indicates how the medication is to be used by the patient.
- textstring
Free text dosage instructions e.g. SIG.
- timingobject
When medication should be administered.
- repeatobject
A set of rules that describe when the event is scheduled.
- frequencynumber
The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.
- frequencyMaxnumber
If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
- periodnumber
Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.
- _periodobject
This element contains extensions for
period
. Depending on the extensions present it could be used in place ofperiod
or contain additional information aboutperiod
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- periodMaxnumber
If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
- _periodMaxobject
This element contains extensions for
periodMax
. Depending on the extensions present it could be used in place ofperiodMax
or contain additional information aboutperiodMax
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- periodUnitstring
The units of time for the period in UCUM units.
Possible Values:s
,min
,h
,d
,wk
,mo
,a - unit of time (UCUM)
- _periodUnitobject
This element contains extensions for
periodUnit
. Depending on the extensions present it could be used in place ofperiodUnit
or contain additional information aboutperiodUnit
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- whenArray of string
An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
- _whenobject
This element contains extensions for
when
. Depending on the extensions present it could be used in place ofwhen
or contain additional information aboutwhen
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- boundsPeriodobject
Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
- startstring
The start of the period. The boundary is inclusive.
- endstring
The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
- routeobject
How drug should enter body.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- doseAndRateArray of object
The amount of medication administered.
- doseQuantityobject
Amount of medication per dose.
- valuenumber
The value of the measured amount. The value includes an implicit precision in the presentation of the value.
- systemstring
The identification of the system that provides the coded form of the unit.
- codestring
A computer processable form of the unit in some unit representation system.
- dispenseRequestobject
Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
- validityPeriodobject
This indicates the validity period of a prescription (stale dating the Prescription).
- startstring
The start of the period. The boundary is inclusive.
- endstring
The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
- numberOfRepeatsAllowednumber
An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus "3 repeats", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense.
- quantityobject
The amount that is to be dispensed for one fill.
- valuenumber
The value of the measured amount. The value includes an implicit precision in the presentation of the value.
- systemstring
The identification of the system that provides the coded form of the unit.
- codestring
A computer processable form of the unit in some unit representation system.
- performerobject
Indicates the intended dispensing Organization specified by the prescriber.
Must be a resource of type
Organization
.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- searchrequired, object
Information about the search process that lead to the creation of this entry.
- moderequired, string
Identifies the MedicationRequest as matching the search parameters
Value:match
Response to a MedicationRequest search operation