Get a list of medication requests
get
/MedicationRequest
Note: The FHIR API endpoints described below are currently pending production deployment for electronic health record (EHR) environments. Developers are welcome and encouraged to develop against the specifications in anticipation of production availability, which will be announced at a later date.
Retrieves a list of medication requests that meet the supplied query parameters.
Request
Query Parameters
-
_id: string
The logical resource ID.
-
_revinclude: string
The related Provenance resources to include in the search bundle.Allowed Values:
[ "Provenance:target" ] -
intent: string
The intent of the prescriptions.
-
patient: string
The patient who has the prescriptions.
-
status: string
The status of the prescriptions.
Header Parameters
-
accept(required): string
The media type to be requested.
Example:
application/fhir+json -
authorization(required): string
The credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
There's no request body for this operation.
Back to TopResponse
200 Response
Successful search response.
Root Schema : schema
Type:
Show Source
object-
entry: array
entry
-
id(required): string
-
link: array
link
-
resourceType(required): string
Allowed Values:
[ "Bundle" ] -
type(required): string
Nested Schema : MedicationRequest
Type:
Show Source
object-
authoredOn: string
(date-time)
(USCDI) When the request was initially authored.
-
category: array
category
(USCDI) The type of medication usage.
-
dispenseRequest:
dispenseRequest
(USCDI) The medication supply authorization.
-
dosageInstruction: array
dosageInstruction
(USCDI) How the medication should be taken.
-
encounter:
encounter
(USCDI) The encounter created as part of the encounter, admission, or stay.
-
id(required): string
-
intent(required): string
(USCDI) The following values are supported:
proposalplanorderoriginal-orderreflex-orderfiller-orderinstance-orderoption
-
medicationCodeableConcept(required):
medicationCodeableConcept
(USCDI) The medication to be taken.
-
reasonCode: array
reasonCode
(USCDI) The reason or indication for ordering or not ordering the medication.
-
reasonReference: array
reasonReference
(USCDI) The U.S. Core condition or observation that supports the prescription.
-
reportedBoolean: boolean
(USCDI) The reported rather than primary record.
-
requester:
requester
(USCDI) Who or what requested the medication.
-
resourceType(required): string
Allowed Values:
[ "MedicationRequest" ] -
status(required): string
(USCDI) The following values are supported:
activeon-holdcancelledcompletedentered-in-errorstoppeddraftunknown
-
subject(required):
subject
(USCDI) Who or what group the medication request is for.
-
substitution:
substitution
Any restrictions on medication substitution.
Nested Schema : dispenseRequest
(USCDI) The medication supply authorization.
Match All
(USCDI) The medication supply authorization.
Show Source
Nested Schema : dosageInstruction
Type:
array(USCDI) How the medication should be taken.
Show Source
Nested Schema : encounter
(USCDI) The encounter created as part of the encounter, admission, or stay.
Match All
(USCDI) The encounter created as part of the encounter, admission, or stay.
Show Source
Nested Schema : medicationCodeableConcept
(USCDI) The medication to be taken.
Match All
(USCDI) The medication to be taken.
Show Source
Nested Schema : reasonCode
Type:
array(USCDI) The reason or indication for ordering or not ordering the medication.
Show Source
Nested Schema : reasonReference
Type:
array(USCDI) The U.S. Core condition or observation that supports the prescription.
Show Source
Nested Schema : requester
(USCDI) Who or what requested the medication.
Match All
(USCDI) Who or what requested the medication.
Show Source
Nested Schema : subject
(USCDI) Who or what group the medication request is for.
Match All
(USCDI) Who or what group the medication request is for.
Show Source
Nested Schema : substitution
Any restrictions on medication substitution.
Match All
Any restrictions on medication substitution.
Show Source
Nested Schema : MedicationRequestDispenseRequest
Type:
Show Source
object-
numberOfRepeatsAllowed: integer
(USCDI) The number of refills authorized.
-
quantity:
quantity
(USCDI) The amount of medication to supply per dispense.
Nested Schema : quantity
(USCDI) The amount of medication to supply per dispense.
Match All
(USCDI) The amount of medication to supply per dispense.
Show Source
Nested Schema : Dosage
Type:
Show Source
object-
doseAndRate: array
doseAndRate
(USCDI) The amount of medication administered.
-
text: string
(USCDI) The free-text dosage instructions, for example, SIG.
-
timing: object
timing
(USCDI) When the medication should be administered.
Nested Schema : timing
Type:
object(USCDI) When the medication should be administered.
Nested Schema : DosageDoseAndRate
Type:
Show Source
object-
doseQuantity:
doseQuantity
(USCDI) The amount of medication per dose.
Nested Schema : doseQuantity
(USCDI) The amount of medication per dose.
Match All
(USCDI) The amount of medication per dose.
Show Source
Nested Schema : MedicationRequestSubstitution
Type:
Show Source
object-
allowedBoolean(required): boolean
Whether substitution is allowed.
Nested Schema : BundleLink
Type:
Show Source
object-
relation: string
Allowed Values:
[ "self", "next", "previous" ] -
url: string
(uri)
Default Response
An OperationOutcome
describing any error that occurred.
Root Schema : OperationOutcome
Type:
Show Source
object-
issue(required): array
issue
-
resourceType(required): string
Allowed Values:
[ "OperationOutcome" ]