{
  "resourceType": "Bundle",
  "id": "bundle-pharmacy-searchset",
  "meta": {
    "profile": [
      "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-bundle-searchset"
    ]
  },
  "type": "searchset",
  "timestamp": "2026-06-01T17:45:00Z",
  "total": 1,
  "link": [
    {
      "relation": "self",
      "url": "http://ontariohealth.ca/fhir/ehr/Immunization?patient.identifier=9876543210&_include=*"
    }
  ],
  "entry": [
    {
      "fullUrl": "http://ontariohealth.ca/fhir/ehr/Immunization/immz-002",
      "resource": {
        "resourceType": "Immunization",
        "id": "immz-002",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2025-12-16T12:05:00Z",
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-immunization"
          ]
        },
        "extension": [
          {
            "url": "http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-immunization-basedOn",
            "valueReference": {
              "reference": "MedicationRequest/medreq-1"
            }
          }
        ],
        "identifier": [
          {
            "system": "http://ontariohealth.ca/fhir/NamingSystem/ca-on-pharmacy-1987654-immunization-id",
            "value": "RX-IMM-002"
          }
        ],
        "status": "completed",
        "vaccineCode": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "23011000087103",
              "display": "SHINGRIX 50 micrograms per 0.5 milliliter powder and suspension for suspension for injection GlaxoSmithKline Inc. (real clinical drug)"
            }
          ]
        },
        "patient": {
          "reference": "Patient/patient-michael"
        },
        "occurrenceDateTime": "2025-12-16T12:00:00Z",
        "lotNumber": "9N4K7",
        "expirationDate": "2027-10-31",
        "site": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "16217701000119102",
              "display": "Structure of left deltoid muscle (body structure)"
            }
          ]
        },
        "route": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "78421000",
              "display": "Intramuscular route (qualifier value)"
            }
          ]
        },
        "doseQuantity": {
          "value": 0.5,
          "unit": "mL",
          "system": "http://unitsofmeasure.org",
          "code": "mL"
        },
        "performer": [
          {
            "actor": {
              "reference": "PractitionerRole/practitioner-role-emily"
            }
          }
        ],
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "8171000087105",
                "display": "Routine immunization (finding)"
              }
            ]
          }
        ],
        "fundingSource": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
              "code": "DRUGPOL",
              "display": "drug policy"
            }
          ]
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/fhir/ehr/Patient/patient-michael",
      "resource": {
        "resourceType": "Patient",
        "id": "patient-michael",
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "JHN"
                }
              ]
            },
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
            "value": "9876543210"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MR"
                }
              ]
            },
            "system": "http://ehealthontario.ca/fhir/NamingSystem/id-pharmacy-mrn",
            "value": "4564564567"
          }
        ],
        "name": [
          {
            "family": "Riley",
            "given": [
              "Michael"
            ]
          }
        ],
        "gender": "male",
        "birthDate": "1958-10-15",
        "telecom": [
          {
            "system": "phone",
            "value": "416-456-1111"
          }
        ],
        "address": [
          {
            "line": [
              "525 University Ave"
            ],
            "city": "Toronto",
            "state": "ON",
            "postalCode": "M5G2L3",
            "country": "CAN"
          }
        ]
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/fhir/ehr/PractitionerRole/practitioner-role-emily",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "practitioner-role-emily",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole"
          ]
        },
        "practitioner": {
          "reference": "Practitioner/practitioner-emily"
        },
        "organization": {
          "reference": "Organization/org-pharmacy"
        },
        "telecom": [
          {
            "system": "phone",
            "value": "416-555-0987",
            "use": "work"
          }
        ]
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/fhir/ehr/Practitioner/practitioner-emily",
      "resource": {
        "resourceType": "Practitioner",
        "id": "practitioner-emily",
        "identifier": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-pharmacist",
            "value": "2220000"
          }
        ],
        "name": [
          {
            "family": "Nugyen",
            "given": [
              "Emily"
            ],
            "suffix": [
              "RPh"
            ]
          }
        ]
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/fhir/ehr/Organization/org-pharmacy",
      "resource": {
        "resourceType": "Organization",
        "id": "org-pharmacy",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-pharmacy",
            "value": "1987654"
          }
        ],
        "name": "Ontario Pharmacy"
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/fhir/ehr/MedicationRequest/medreq-1",
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "medreq-1",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationRequest"
          ]
        },
        "identifier": [
          {
            "system": "http://ontariohealth.ca/fhir/NamingSystem/ca-on-pharmacy-1987654-medicationrequest-id",
            "value": "987654321"
          }
        ],
        "status": "unknown",
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "23011000087103",
              "display": "SHINGRIX 50 micrograms per 0.5 milliliter powder and suspension for suspension for injection GlaxoSmithKline Inc. (real clinical drug)"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-michael"
        },
        "requester": {
          "reference": "PractitionerRole/practitioner-role-sarah-md"
        }
      },
      "search": {
        "mode": "include"
      }
    }
  ]
}