Bundle structure
The example published by the NHS Health Check online service is a FHIR document Bundle. It contains a Composition that describes the completed assessment and references the Encounter, Observations and RiskAssessments included alongside it.
Example bundle
The downloadable example contains:
| Resource type | Number of entries | What they contain |
|---|---|---|
Composition |
1 | The NHS Health Check Assessment Report and its sections |
Encounter |
1 | The health check encounter |
Observation |
14 | Vital signs, social history, physical activity and laboratory results |
RiskAssessment |
2 | Risk assessment results |
The example does not contain DiagnosticReport or QuestionnaireResponse resources.
Bundle contents
The bundle identifier uses the same UUID as the bundle id, expressed as a urn:uuid: value. The timestamp records when the bundle was assembled; it is distinct from the date on the Composition, which records the report date.
| Element | Description |
|---|---|
resourceType |
Always Bundle |
id |
Identifier of this Bundle resource |
identifier |
Business identifier for this bundle, represented in the example as a UUID URN |
type |
document, indicating that the bundle is a clinical document |
timestamp |
When the bundle was assembled, including its timezone offset |
entry |
The resources that make up the document, with the Composition first |
Entries and references
Each entry contains a resource directly. In this document Bundle, entries do not have fullUrl or request elements:
{
"resource": {
"resourceType": "Encounter",
"id": "ab2acd48-6411-4004-b636-d6cbf6fb5deb"
}
}
Resources refer to each other using ResourceType/id references. For example, the Composition refers to the Encounter with Encounter/ab2acd48-6411-4004-b636-d6cbf6fb5deb, and its section entries point to the Observations and RiskAssessments that are part of the report.
Composition sections
The first entry is a Composition titled NHS Health Check Assessment Report. Its sections organise the other resources as follows:
- Encounter Information: the Encounter for the health check.
- Vital Signs: height, weight, body mass index, blood pressure and related vital-sign observations.
- Social History: smoking, alcohol use and social-history narrative observations.
- Physical Activity: the General Practice Physical Activity Questionnaire activity index.
- Laboratory Results: cholesterol and HDL results, cholesterol ratio and finding, and HbA1c.
- Risk Assessments: two RiskAssessment resources.
The Composition’s section.entry references identify the resources in each section. The resources are also included as separate entries in the Bundle.
Timestamps
Bundle and resource dates use FHIR date/time values with timezone information where present. The Bundle timestamp indicates when the Bundle was assembled; the Composition date indicates when the report was composed. These represent different events and should not be treated as interchangeable.
Processing expectations
For FHIR servers (NHS Patient Data Manager)
- Process the bundle as an atomic transaction- Resolve all internal references- Apply conditional creates (
ifNoneMatch)- Return a transaction response bundle with outcomes
For consuming partners
- Retrieve resources via FHIR API queries- Navigate from Composition to find related resources- Follow references to build complete picture- Handle missing resources gracefully
Retrieving Health Check Data from PDM
Using the $document operation
To retrieve a complete NHS Health Check as a single bundle, use the FHIR $document operation on the Composition resource. This operation returns all resources referenced by the Composition in a single document Bundle.
Error Handling
If retrieving or validating the Bundle fails, check the FHIR API response and any returned OperationOutcome for error details.
Edit this page on GitHub