Log in Request access

MedicationRequest

Prescriptions and medication orders for the patient.

Patient-context only: patient/MedicationRequest.rs is confined to the launched patient's medication orders. Filter by status to separate active prescriptions from completed or stopped ones.

Advertises a validated CA Core+ profile.

Access

Mode Interactions Scopes
App launch read + search patient/MedicationRequest.rs
Backend services

Search parameters

Search results are searchset Bundles; follow the Bundle's next link for cursor pagination.

Parameter Type Description
_id token Match a specific logical resource id.
_lastUpdated date Filter by last modification time; supports FHIR date prefixes such as ge and lt.
_count number Page size hint for the searchset Bundle.
_page_token string Opaque pagination cursor. Never construct one — follow the Bundle's next link.
patient reference Medication requests for a specific Patient.
status token active, completed, stopped, cancelled, and other request statuses.

Active medications for the launched patient

GET /MedicationRequest?patient={id}&status=active 200 OK
Request
curl "https://sandbox.avaemr.ca/fhir/r4/{partition_id}/MedicationRequest?patient=Patient/synthetic-patient-1&status=active" \
  -H "Authorization: Bearer $SMART_ACCESS_TOKEN" \
  -H "Accept: application/fhir+json"
Response · launch context
{
  "resourceType": "Bundle",
  "type": "searchset",
  "link": [
    { "relation": "self", "url": "https://sandbox.avaemr.ca/fhir/r4/{partition_id}/MedicationRequest?patient=Patient/synthetic-patient-1&status=active" }
  ],
  "entry": [
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "synthetic-medicationrequest-1",
        "status": "active",
        "intent": "order",
        "medicationCodeableConcept": { "coding": [{ "system": "http://snomed.info/sct", "code": "325278007", "display": "Metformin 500 mg oral tablet" }] },
        "subject": { "reference": "Patient/synthetic-patient-1" },
        "authoredOn": "2026-06-01",
        "requester": { "reference": "Practitioner/synthetic-practitioner-1" }
      },
      "search": { "mode": "match" }
    }
  ]
}