In our current project we need the ability to save a report to the database.
Because of the sensitive medicale data that we are processing we need to clean our database as soon as possible. After a client has filled a questionaire we need to generate a PDF with the provided answers. We offer this PDF as download for the client and later on need to move that PDF to a document management system.
We have been told that the only way currently available is to build a API endpoint that generates the report and call upon that API endpoint so we can store the generated PDF into the database. This feels like a suboptimal approach with the potentiel that we’re exposing and endpoint that has access to sensitive data.
Having the ability to generate a report and store that report into the database directly would be very benificial to our processes and I can imagine helpfull for others as well.