Skip to content
Partner Developer Portal

Definition

The Immunization resource represents an immunisation recorded in a patient’s EMIS Web record. Immunisations are stored in EMIS Web as observation records of the immunisation type, and the platform returns every such record held for the patient as a FHIR Immunization with a status of completed.

Immunisations are retrieved for a patient identified by their ERN, either ern:emis:patient:uuid:{EMIS patient GUID} or ern:nhs:patient:number:{NHS number}. The resource id is the EMIS observation GUID in upper case. Each Immunization carries a SNOMED CT code and display term recorded in EMIS Web (or the UNK null flavour when no code was recorded).

Searching for a patient’s immunisations returns a searchset Bundle ordered by descending EMIS observation ID, not by immunisation or recorded date, with up to 50 entries per page. When more results are available the Bundle contains a next link carrying a cursor query parameter that can be used to fetch the following page. Every read and search is recorded in the EMIS Web access audit.

Every Immunization returned by the FHIR Platform declares the https://fhir.partner.emis-x.uk/StructureDefinition/emis-x-immunisation-1 profile in meta.profile.

Paths are relative to the FHIR Platform base URL. Every request needs a bearer token with the listed scope. Responses are application/fhir+json by default, or application/fhir+xml when requested in the Accept header. Errors are returned as an OperationOutcome.

GET /R4/1/Patient/ern:{Vendor}:patient:{Type}:{Identifier}/Immunization/{ImmunisationId}

Returns a single Immunization, by id, for the given patient.

  • Scope: fpx-imm.read
  • Returns: Immunization
Name In Type Required Description
Vendor path string Yes The vendor for the patient identifier. Validation accepts emis, nhs, jhs and gha, but only emis (with Type uuid) and nhs (with Type number) currently resolve a patient; other combinations return 404 Not Found.
Type path string Yes The identifier type for the patient identifier. Must be a valid combination with Vendor: emis with uuid; nhs with number, chi, hospital or hcn; jhs with ssn; gha with number. Only emis:uuid and nhs:number currently resolve a patient.
Identifier path string Yes The patient identifier. For Type uuid this must be a non-empty GUID (the EMIS patient GUID); for Type number this must be a valid 10-digit NHS number.
ImmunisationId path uuid Yes The id (GUID) of the Immunization to return.
_elements query string No Comma-separated list of top-level Immunization elements to return. id and meta are always returned, along with mandatory FHIR elements (status, vaccineCode, patient and any populated occurrence[x]). Filtered resources are tagged as SUBSETTED.
{
"resourceType": "Immunization",
"id": "0535AAD3-B5CE-4914-8C60-09B47F96F2C2",
"meta": {
"profile": [
"https://fhir.partner.emis-x.uk/StructureDefinition/emis-x-immunisation-1"
]
},
"language": "en",
"status": "completed",
"vaccineCode": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "39114911000001105",
"display": "COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) 5x10,000,000,000 viral particles/0.5ml dose solution for injection multidose vials (AstraZeneca UK Ltd)"
}
]
},
"patient": {
"reference": "650fa751-87d9-4543-9adb-7b0878dd0117",
"type": "Patient"
},
"occurrenceDateTime": "2025-04-09T08:24:00+00:00"
}
GET /R4/1/Patient/ern:{Vendor}:patient:{Type}:{Identifier}/Immunization

Returns all immunisations recorded for the given patient.

  • Scope: fpx-imm.read
  • Returns: Bundle of Immunization
Name In Type Required Description
Vendor path string Yes The vendor for the patient identifier. Validation accepts emis, nhs, jhs and gha, but only emis (with Type uuid) and nhs (with Type number) currently resolve a patient; other combinations return 404 Not Found.
Type path string Yes The identifier type for the patient identifier. Must be a valid combination with Vendor: emis with uuid; nhs with number, chi, hospital or hcn; jhs with ssn; gha with number. Only emis:uuid and nhs:number currently resolve a patient.
Identifier path string Yes The patient identifier. For Type uuid this must be a non-empty GUID (the EMIS patient GUID); for Type number this must be a valid 10-digit NHS number.
_elements query string No Comma-separated list of top-level Immunization elements to return. id and meta are always returned, along with mandatory FHIR elements (status, vaccineCode, patient and any populated occurrence[x]). Filtered resources are tagged as SUBSETTED.
cursor query string No Opaque pagination cursor. Use the value from the Bundle’s next or previous link to fetch another page. A maximum of 50 entries are returned per page.
{
"resourceType": "Bundle",
"id": "E7DD2E8D-1193-47ED-886A-62183440DB40",
"meta": {
"profile": [
"https://fhir.partner.emis-x.uk/StructureDefinition/emis-x-bundle-searchset-1"
]
},
"language": "en",
"type": "searchset",
"timestamp": "2025-04-09T08:24:00+00:00",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://fhir.emis-x.com/FHIR/R4/1/Patient/ern:emis:patient:uuid:650fa751-87d9-4543-9adb-7b0878dd0117/Immunization?cursor=eyJwYWdlIjoxLCJjb3VudCI6NTB9"
}
],
"entry": [
{
"fullUrl": "https://fhir.emis-x.com/FHIR/R4/1/Patient/ern:emis:patient:uuid:650fa751-87d9-4543-9adb-7b0878dd0117/Immunization/0535AAD3-B5CE-4914-8C60-09B47F96F2C2",
"resource": {
"resourceType": "Immunization",
"id": "0535AAD3-B5CE-4914-8C60-09B47F96F2C2",
"meta": {
"profile": [
"https://fhir.partner.emis-x.uk/StructureDefinition/emis-x-immunisation-1"
]
},
"language": "en",
"status": "completed",
"vaccineCode": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "39114911000001105",
"display": "COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) 5x10,000,000,000 viral particles/0.5ml dose solution for injection multidose vials (AstraZeneca UK Ltd)"
}
]
},
"patient": {
"reference": "650fa751-87d9-4543-9adb-7b0878dd0117",
"type": "Patient"
},
"occurrenceDateTime": "2025-04-09T08:24:00+00:00"
},
"search": { "mode": "match" }
}
]
}