SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
persisting a template on PostgreSQL along with meta data (here: the workflow for which the template is relevant)
reading a template from PostgreSQL
reading a list of templates available for a workflow
deleting a template
Templates are docx files. "List of templates" means list of identifiers as used for reading a template from DB. Workflow identifiers have to be agreed upon.
Goal: Provide a mechanism to file generated documents. Documents can be filed per case and are secured against manipulation (revisionssicher). In a first step, the mechanism applies for generated documents related to quarantine. In the long run however, it should be open to arbitrary documents, cf. SORMAS issue Option to attach document.