Get a list of immunizations the user has had so far
Returns a list of medical immunizations
GET https://api.humanapi.co/v1/human/medical/immunizations
Returns a single immunization
GET https://api.humanapi.co/v1/human/medical/immunizations/{id} 
# Returns a json array of immunizations:
[{
  "id": "5443d24d0d2a0e0c4b3672e8",
  "name": "Tetanus+Dip ADULT (Td)",
  "source": "emr-1-320",
  "dates": ["2005-09-27T04:00:00.000Z", "1995-01-01T05:00:00.000Z"],
  "patient": {
    "name": "Maxwell Forrest"
  },
  "updatedAt": "2014-10-19T21:02:17.949Z",
  "createdAt": "2014-10-19T21:02:17.949Z",
  "organization": {
    "id": "53c050ac51c69003200aa998",
    "name": "Cleveland Clinic",
    "href": "/medical/organizations/53c050ac51c69003200aa998"
  }
}, {
  "id": "5443d24d0d2a0e0c4b3672eb",
  "name": "Pneumococcal Conjugate PCV13",
  "source": "emr-1-320",
  "dates": ["2014-03-14T04:00:00.000Z"],
  "patient": {
    "name": "Maxwell Forrest"
  },
  "updatedAt": "2014-10-19T21:02:17.949Z",
  "createdAt": "2014-10-19T21:02:17.949Z",
  "organization": {
    "id": "53c050ac51c69003200aa998",
    "name": "Cleveland Clinic",
    "href": "/medical/organizations/53c050ac51c69003200aa998"
  },
  "codes": []
}]
# Get all immunizations associated with the user
curl -H "Authorization: Bearer demo" "https://api.humanapi.co/v1/human/medical/immunizations"
Response Properties
| Property | Type | Description | 
|---|---|---|
| id | String | The id of the resource | 
| source | String | The name of the originating service | 
| updatedAt | Date | The time the record was updated on the Human API server | 
| createdAt | Date | The time the record was created on the Human API server | 
| dates | Array[Date] | (optional) The dates immunization was given. | 
| name | String | (optional) The name of the immunization (e.g. ‘Tetanus+Dip ADULT (Td)’, 'Varicella’, 'Influenza Virus Vaccine’) | 
| patient | Object | (optional) Patient information (“name” and other optional attributes) | 
| organization | Object | (optional) See organizations object | 
| codes | Array[Object] | (optional) See codes | 
