# Immunization

Source: https://www.flexpa.com/docs/fhir/immunization
Description: Immunization is the FHIR resource for vaccines given or reported. Fields, examples and how Flexpa returns immunization records.

GET `https://api.flexpa.com/fhir/Immunization`

* [Immunization](https://www.hl7.org/fhir/Immunization.html) is a base FHIR Resource ( [JSON example](https://www.hl7.org/fhir/Immunization-example.json))
* Commonly available via [US Core Immunization Profile](http://hl7.org/fhir/us/core/structuredefinition-us-core-Immunization.html)

**Immunization** is a clinical FHIR Resource that describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.

While some payers may make this information available, most do not have this data unless it is submitted to the payer by providers for quality measures or other provider/payer data exchange programs, as it is not included with or derived from core claims generation.

## Search parameters
The full list of search parameters can be found [here](http://hl7.org/FHIR/immunization.html#search). Some of the most important are:

**Parameters**

- `patient` (string):
The ID of the patient who received the immunization. We recommend using this search parameter along with the `$PATIENT_ID` [wildcard](https://www.flexpa.com/docs/records#wildcard-parameters)

## Sample request

**Note:**
While some servers may support a resource-level search without any parameters, not all do. We recommend using the format below with the patient ID via the `$PATIENT_ID` [wildcard](https://www.flexpa.com/docs/records#wildcard-parameters) as a search parameter.

This is a sample request using `curl`

```shell
ACCESS_TOKEN=patient-access-token

curl "https://api.flexpa.com/fhir/Immunization?patient=$PATIENT_ID" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

## Sample response

This is a sample response from Humana using Flexpa API in [test mode](https://www.flexpa.com/docs/test-mode#health-insurers)
