We are building a middleware system that
- delivers user requests to the corresponding source systems
- upon receiving responses, it consolidates the data and maps to FHIR resource.
- returns the FHIR resources as response (in a Bundle) to the caller.
During the process, we are not allowed to store any data due to legislation rules. For certain source systems, it returns the full list of resources and does not provide capability to search an individual resource. To provide FHIR search for an individual resource is doable however it’s not efficient as in the background, we still need to call the full list resource transaction to the source system and then discard some of the resources that are not needed.