Search Immunization
Search Immunization using FHIR R4 4.0.1.
Resource category: Immunization.
Endpoint
| Method | Endpoint |
|---|---|
GET | /api/fhir/r4/Immunization |
POST | /api/fhir/r4/Immunization/_search |
Use the R4 base URL from your DDFS instance. Send Authorization: Bearer <access-token> and accept application/fhir+json.
GET uses query parameters. POST search uses the same supported parameters in an application/x-www-form-urlencoded body and requires the same search permission. Follow the server-provided Bundle.link URL with relation next unchanged. See shared search controls.
Parameters
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
identifier | Query or form body | No | token | Matches the resource's top-level identifiers using value, system|value, |value (no system), or system|. Supports one unmodified token only: multipleAnd=false and multipleOr=false. Modifiers are not supported. Canonical parameter URI: http://hl7.org/fhir/SearchParameter/clinical-identifier. |
_count | Query or form body | No | number | Limit the number of matches returned per page. See shared search controls for supported values and count-only behavior. |
_total | Query or form body | No | token | Request supported total handling; the control name does not imply support for every FHIR total mode. |
_id | Query or form body | No | token | Filter by logical resource ID. Canonical parameter URI: http://hl7.org/fhir/SearchParameter/Resource-id. |
_lastUpdated | Query or form body | No | date | Filter by _lastUpdated using the supported date search semantics. Definition: ddfs-r4-last-updated-date.json. |
_profile | Query or form body | No | uri | Filter by profile URI. Canonical parameter URI: http://hl7.org/fhir/SearchParameter/Resource-profile. |
_tag | Query or form body | No | token | Filter by a resource metadata tag. Canonical parameter URI: http://hl7.org/fhir/SearchParameter/Resource-tag. |
patient | Query or form body | No | reference | Filter by patient using the supported reference search semantics. Definition: ddfs-r4-patient-reference-identifier-modifier.json. |
status | Query or form body | No | token | Filter by status using the supported token search semantics. Canonical parameter URI: http://hl7.org/fhir/SearchParameter/Immunization-status. |
vaccine-code | Query or form body | No | token | Filter by vaccine-code using the supported token search semantics. Canonical parameter URI: http://hl7.org/fhir/SearchParameter/Immunization-vaccine-code. |
date | Query or form body | No | date | Filter by date using the supported date search semantics. Definition: ddfs-r4-date-date.json. |
_revinclude | Query or form body | No | special | Allowed values: Provenance:target. Matching Provenance read permission is also required. |
Authorization
| Context | Resource scope |
|---|---|
| Resource-server definition / issued token | system/Immunization.s |
| Client grant / token request | ddfssystem/Immunization.s |
Resource constraints still apply. Use the least privilege needed for this operation; see authentication and scope configuration.
Behavior
Return matching Immunization resources in a searchset Bundle. Filters and caller constraints determine which matches can be returned. Do not infer unsupported modifiers, chains, repeated values or result-control modes from the base FHIR specification.
- Shared search behavior: shared operation semantics.
- Immunization resource guidance: resource-specific requirements and restrictions.
- R4 CapabilityStatement and R4 metadata: supported capabilities.
Example Request
Replace the example logical IDs, version IDs and connection values with values for your workflow.
GET /api/fhir/r4/Immunization?patient=Patient/example&vaccine-code=http://hl7.org/fhir/sid/cvx%7C207&status=completed&date=ge2026-01-01&date=lt2027-01-01
Responses
| Successful status | Meaning |
|---|---|
| 200 | A searchset Bundle. |
For common error statuses and FHIR-formatted error bodies, see OperationOutcome errors. Authentication/authorization responses follow the shared policy; a protected resource can be concealed as 404. See also interaction responses.
FHIR Definition
FHIR R4 definition: https://hl7.org/fhir/R4/immunization.html. Canonical profile URI: http://hl7.org/fhir/StructureDefinition/Immunization.