SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Add an Export (basic & detailed) and Import to Self Reporting [3]

Open markusmann-vg opened this issue 10 months ago • 0 comments

Feature Description

With the new Module Self-Reporting the users with the needed rights can also export Self-reported messages and import self-reported messags. The export can be done as basic or detailed export

Added Value/Benefit

As it's currently the only way how self-reported messages can enter the system, the import is essential. The export is a basic functionality which we offer for every entity

Acceptance Criteria

  • [ ] Import is possible, an import template can be provided, error handling for failed imports is available (as we do it for other imports
  • [ ] Basic Export is possible
  • [ ] Detailed Export is possible
  • [ ] Add user rights for Import/Export

Implementation Details

Here is the structure of the file received when a self-report is made

PositiveCase { "surName": null, "firstName": null, "socialSecurityNumber": null, "postalAddress": null, "email": null, "phone": null, "dateOfTheTest": "0001-01-01T00:00:00", "dateOfSymptoms": "0001-01-01T00:00:00", "workplace": null, "dateWorkplace": "0001-01-01T00:00:00", "referenceNumber": null, "isolationDate": "0001-01-01T00:00:00", "positiveContacts": null }

PositiveCaseContact { "surname": null, "firstName": null, "socialSecurityNumber": null, "email": null, "phone": null, "contactDate": "0001-01-01T00:00:00", "positiveCaseId": 0 }

The file is processed by an ETL job in the "Care+" section.

Mockups

No response

Additional Information

No response

markusmann-vg avatar Apr 09 '24 06:04 markusmann-vg