SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
With the implementation of samples being attached to persons, it should be possible while processing messages to add them to a person instead of a case/contact/Event participant (EP). Therefore, the user needs to be able to decide whether a new person should be created or an existing person is chosen with or without creating a case/contact/EP.
With the issue https://github.com/hzi-braunschweig/SORMAS-Project/issues/10757 new buttons are added to the pick or create person window. Thus, checking the button create new person only would lead to the create person window which should be structured similar to the create new case window.
Proposed Change
[ ] add create new person window which is structured similar to the create new case window when processing a message.
The window itself should be structured as followed:
[ ] add heading create new person
[ ] add content of person view, if available fields automatically filled with content of message
[ ] add processed message to the left side of the window
Tab Person is structured as followed:
[ ] add button back on the left side which leads the user back to the pick or create person window
[ ] add button discard on the right side of the window which discards the whole process of processing a message and leads the user back to the lab message directory
[ ] add button next on the right next to the discard button which will lead the user to the next slide of the window which should be immunization
[ ] add a second page/tab to the navigation bar with immunization next to person
Tab Immunization is structured as followed:
[ ] add the same layout as the immunization tab of the create new case window
[ ] similar to the create new case window the create person window should be scrollable
[ ] add button save and create case next to the discard button which leads the user to the create new case window
[ ] add button save next to the save and create case button which leads the user to the existing create new sample window
Feature Description
With the implementation of samples being attached to persons, it should be possible while processing messages to add them to a person instead of a case/contact/Event participant (EP). Therefore, the user needs to be able to decide whether a new person should be created or an existing person is chosen with or without creating a case/contact/EP. With the issue https://github.com/hzi-braunschweig/SORMAS-Project/issues/10757 new buttons are added to the pick or create person window. Thus, checking the button create new person only would lead to the create person window which should be structured similar to the create new case window.
Proposed Change
The window itself should be structured as followed:
Tab Person is structured as followed:
Tab Immunization is structured as followed:
Please note, that when the message is successfully processed the sample is added to the person page as described in issue https://github.com/hzi-braunschweig/SORMAS-Project/issues/10714.
Acceptance Criteria
The window create new person is implemented as described above.
Additional Information