num-codex / codex-processes-ap1

Business processes for the NUM CODEX project (AP1) as plugins for the HiGHmed Data Sharing Framework
Apache License 2.0
3 stars 6 forks source link

Support of dynamic data store selection #134

Open mnutsua opened 3 months ago

mnutsua commented 3 months ago

Data received using the "receive" process can only be sent to a single data store. In order to support multiple projects, the data store where the FHIR bundles are sent to has to be selected based on metadata transfered together with the data.

Each data transfer hast to utilize an ID ("study-ID" or "project-ID") that is used to identify the targeted data store. This ID has to be selected when the data transfer ist started and transferred to the "receive" process. Within the "receive" process, a dynamic data store selection has to be implemented. The corresponding data store will be selected depending on the ID. If no store can be selected (i. e. the ID is misspelled, wrong or missing), the data is not accepted an the sender will be notified.