This page is part of the FHIR Specification (v4.3.0: R4B -  STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
. Page versions: R5 R4B R4 R3
| FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments | 
Raw JSON (canonical form + also see JSON Format Specification)
Retrieve a patients medications, allergies, problems and immunizations
{
  "resourceType": "Bundle",
  "id": "bundle-request-medsallergies",
  "type": "batch",
  "entry": [
    {
      "request": {
        "method": "GET",
        "url": "/Patient/example"
      }
    },
    {
      "request": {
        "method": "GET",
        "url": "/MedicationStatement?patient=example&_list=$current-medications"
      }
    },
    {
      "request": {
        "method": "GET",
        "url": "/AllergyIntolerance?patient=example&_list=$current-allergies"
      }
    },
    {
      "request": {
        "method": "GET",
        "url": "/Condition?patient=example&_list=$current-problems"
      }
    },
    {
      "request": {
        "method": "GET",
        "url": "/MedicationStatement?patient=example¬given:not=true"
      }
    }
  ]
}
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.