I understand as an HIU, we are not allowed to store health data into the database and should always go through the entire health information flow to view the data.
The flow is asynchronous and data can be pushed by HIP at any time to the HIU server. This data needs to be hold somewhere till it is consumed and viewed on the mobile side.It can be holded temporarily in memory (disadvantage can be scalability as the health data size can be large ?).
What are your suggestions ?
(Correct me If I am wrong.) On a related note, I think the Project EKA reference implementation (https://github.com/ProjectEKA/health-information-user) stores the data into the file system till the consent allows it. Is this okay to do?