Process Data Transfer Description v1.0.x.x - medizininformatik-initiative/mii-process-data-transfer GitHub Wiki
The data-transfer process can be used to send data from a Data Integration Center (DIC) to a Data Management Site (DMS). The infrastructure and communincation messages on which the process is based can be seen in the following figure. The organizations use the Data Sharing Framework (DSF) for deployment and execution of the process.
In the following descriptions is important to differentiate between the DSF FHIR server and the CDS FHIR store. The DSF FHIR server contains all FHIR resources of the DSF needed for process flow and the CDS FHIR store (shown as database symbol in the process figure) contains the project results (i.e. the actual data) to be transmitted. These are two different FHIR servers.
The data-transfer process in v1.0.x.x
is composed of 2 different subprocesses:
The data-transfer send process is used at a DIC to prepare and initiate a data transmission of a specific project result to a DMS. This subprocess performs the following steps:
- Read the project results from a dedicated CDS FHIR store.
- Validate the project results and create a data transfer Bundle.
- Download the public-key from the DMS and encrypt the data transfer Bundle.
- Provide the encrypted data transfer Bundle on the local DSF FHIR server for the DMS.
- Receive and store a receipt whether the DMS was able to successfully or erroneous retrieve the data transfer Bundle from the local DSF FHIR server.
- If configured: Notification of the DIC via e-mail about the successful or erroneous provisioning of the transfer Bundle. An error message is sent if errors occur.
- Automatically delete the encrypted data transfer Bundle on the local DSF FHIR server after 45 minutes.
The data-transfer receive process is used at a DMS to download and store a result of a specific project from a participating DIC. This subprocess performs the following steps:
- During process deployment: store a public-key Bundle on the local DSF FHIR server (if not already exists) to be used by a DIC for encryption of results to be transmitted.
- Download a data transfer Bundle from a DIC DSF FHIR server.
- Decrypt the data transfer Bundle using the private-key of the DMS.
- Validate the data transfer Bundle.
- Store the resources contained in the data transfer Bundle on the local CDS FHIR store.
- If configured: Notification of the DMS via e-mail about the successful storage of resources included in the data transfer Bundle and the corresponding links to access these resources. An error message is sent if errors occur.
- Send a receipt whether the DMS was able to successfully or erroneous download the data transfer Bundle from the DIC DSF FHIR server.