---
title: "Aggregated Endpoint"
canonical: "https://wiki.patientsknowbest.com/space/api/4644405272/Aggregated%20Endpoint"
format: markdown
---
> Macro (toc)


# The Aggregated FHIR Store 

Is where all of the data in PKB is combined, regardless of the source.  You can think of it as the sum of all the data on all of PKB’s APIs and any data added into the UI by patients or professionals or device integrations.  For example, the data entered by an acute healthcare organisation, data entered by a patient, and the data received from a patient’s primary doctor ([see information about PKB’s integration with England GP systems](https://wiki.patientsknowbest.com/space/MAN/4143251489/GP+data+for+any+adult+in+England)) are all available in PKB’s Aggregated FHIR store.

The Aggregated FHIR store endpoint is called purely for read / search queries to return patient data across multiple customers, subject to authorisation rules and access control.

Organisations have access to the aggregate of privacy label access that all of their teams have.  For example, if one team has General Health access only and another team has General and Mental Health access, the Organisation has access to both General and Mental Health in the Aggregated FHIR store when extracting data.

> Macro (excerpt)
> 
> > ℹ️ # Clinical Data Types Available in PKB’s Aggregated Endpoint
> > ℹ️ 
> > ℹ️ - Appointments from all sources
> > ℹ️ - AllergyIntolerance from upstream / customer FHIR data stores
> > ℹ️ - Conditions from all sources
> > ℹ️ - Encounter from upstream / customer FHIR data stores
> > ℹ️ - Medications from all sources
> > ℹ️ - Observations from upstream / customer FHIR data stores
> > ℹ️ - QuestionnaireResponses from all sources

# Useful Links

- [FHIR API Network Connectivity](https://wiki.patientsknowbest.com/space/api/4348444939/FHIR+API+-+Network+Connectivity)
- PKB uses the [FHIR R4 specification](https://hl7.org/fhir/R4/).
- The full [Aggregated FHIR store capability statement](https://wiki.patientsknowbest.com/space/api/3364389010/Capabilities:+Aggregated+Endpoint#MedicationStatement) is available on our developer wiki.
- Read more about how [PKB maps any non-FHIR data (HL7 or UI entered) to FHIR](https://wiki.patientsknowbest.com/space/api/3364946016/Structure+Definitions)