API reference
GETImmunization
Vaccines given or not given (CVX, with NDC when known).
Conforms to US Core Immunization. Scope: system/Immunization.rs (or system/Immunization.read).
GET
[base]/Immunization/{id}Read one Immunization.GET
[base]/Immunization?{parameters}Search Immunization. Returns a Bundle.POST
[base]/Immunization/_searchSearch with the parameters in a form body.Search parameters
| Parameter | Type | Description |
|---|---|---|
_id | token | The resource id. Comma-separate for several. |
patient | reference | Patient/{id}. |
date | date | Date (FHIR date, with prefixes; repeat for a range). |
status | token | Status code; comma-separate for several. |
_count | number | Results per page (default 50, at most 200). See paging. |
Repeat a parameter to AND its values; separate values with commas to OR them.
Immunization must be searched by patient:
Immunization?patient=Patient/{id} (or by _id).Ids start with the patient's key, so reads work directly. Add _revinclude=Provenance:target to get each resource's Provenance.
Example
curl "https://dev3.somahealth.com/api/fhir/r4/your-practice/Immunization?" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/fhir+json"{}Examples use made-up data. Elements appear only when the practice has recorded them.