Service for sending data to server
🆕 Feature
Prepare a service that takes FHIR data and sends it to a server.
Related ClickUp ID: #313d0m5, #3197pkw
Affected app variants: Study (REPOSE)
Summary
Study versions (here: REPOSE) should be able to send user data to a remote server in addition to saving it locally, so researchers can access it.
Background
A service within the repose
workspace should make HTTP requests to a Nextcloud server. The data is a REPORT
in FHIR format.
Ideas
See ClickUp.
Tasks
Define specific tasks in the order they need to be done in. Reference files or specific lines of code that need to be changed.
-
Create a service in the repose
workspace -
Make a successful PUT or POST request to the Nextcloud server, i.e. figure out how to send files to it -
Zip the FHIR data before sending, send the ZIP file and make sure it still works when downloading from Nextcloud, i.e. decrypt and unzip it
Note: The original branch 194-service-for-sending-data-to-server
is stale and may be deleted since my approach has changed since then. 194-service-for-sending-data-to-server-2
is the branch under development that will eventually be merged.