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.
We also have no control over what data the source systems send to us. Some source systems send various clinical data for a patient that could be a combination of patient demographics, allergies, adverse reactions, immunization history, immunization recommendations, conditions and reasons for deferring or refusing a vaccination; that’s in one response to a search call. The specific source system that provides us immunization records has a slow response time. We want to ensure our FHIR request is efficient. So we were thinking an http GET operation would be a good candidate at our FHIR Server to submit one request to get all data we need but we were not sure which type it could be,
resource type (GET [base]/Immunization/$immusys?patient=[patient_id]) or
resource instance (GET [base]/Patient/[patient_id]/$immusys)