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

S2S_ Revision of the initiation of a share (case and contact)

Open SahaLinaPrueger opened this issue 2 years ago • 1 comments

Problem Description

The current view does not make the distinction between 'to view' and 'with ownership' clear.

Proposed Change

image

Acceptance Criteria

element type TAB Order Description
To view Radio Button 1 On click
- The value of the button is set to true and the value of "To view" is set to false.
- The checkbox "Exclude personal data" is set to "false" and activated
- The checkboxes "share samples" and "share immunisations" are set to "true" and activated
To set the value of the radio button, you can click on the button itself as well as on the corresponding label.
Is set to "true" by default when the window is opened.
Control with keyboard
- If the field has the focus, both "Space" and "Enter" trigger the same behaviour as a click.
With ownership Radio button 2 On click
- The value of the button is set to true and the value of "To view" is set to false.
- The checkbox "Exclude personal data" is set to "false" and deactivated
- The checkboxes "Share samples" and "Share immunizations" are set to "true" and deactivated.
To set the value of the radio button, you can click on the button itself as well as on the corresponding label.
Control with keyboard
-If the field has the focus, both "Space" and "Enter" trigger the same behaviour as a click.
Organization Dropdown 3 with click
- A list of values opens. The values include all districts that are part of this S2S cluster and can receive transfers.
Filtering values
-By entering characters in the field, it is possible to filter the list of selectable elements.
- Only entries containing the entered characters in this order remain visible. It does not matter whether they are at the beginning, in the middle or at the end.
- The basis for filtering is the display name of the entry, depending on the localisation.
- Upper and lower cases are ignored.
- Example: When entering "uRg" in the dropdown field, both "LK Würzburg" and "LK Altenburger Land" appear as valid options.
When the field loses focus
- If the list of selectable items contains more than one entry, the field is cleared and no value is selected.
- If the list of selectable elements contains exactly one entry, this is automatically taken as the value of the field without the user having to click on it.
Control with keyboard
- The dropdown field can be controlled with the arrow keys of the keyboard. With the "Up" and "Down" arrows, the user can scroll through all active entries in the field and select the currently highlighted entry with "Enter".
- If an entry is marked in the list and the user changes to the next field with "Tab", the currently selected entry is automatically taken over.
Is mandatory field
exclude personal data Checkbox 4 On click
- The checkbox changes between "true" and "false" depending on the current value.
Control with keyboard
- If the field has the focus, both "Space" and "Enter" trigger the same behaviour as a click.
share samples Checkbox 5 On click
- The checkbox is set to 'true' by default and only changes from 'true' to 'false' by clicking (if the button is active, if the button is inactive then there is no possibility to change from 'true' to 'false' or from 'false' to 'true'.)
Control with keyboard
- If the field has the focus, both "Space" and "Enter" trigger the same behaviour as a click.
share immunizations Checkbox 6 On click
- The checkbox changes between "true" and "false" depending on the current value. (if the button is active, if the button is inactive then there is no possibility to change from 'true' to 'false' or from 'false' to 'true'.)
Control with keyboard
- If the field has the focus, both "Space" and "Enter" trigger the same behaviour as a click.
Comment Checkbox 7 - Maximum number of characters: 2000
- Is mandatory field (When checking for filling of the field, trim spaces at the beginning and end of the string to prevent a single space from counting as input)
- When hovering the mouse pointer over the comment field the following message appears to the user: "Reminder: All comments entered must comply with the DSGVO rules as described during login."
Discard Button 8 On click
- All entered data is discarded
- The window closes
Share Button 9 On click
- If not all mandatory fields are filled in, an error message appears indicating that a mandatory entry is missing. The missing fields are marked in red
- If sending to reporting tool is activated in the local instance AND the case is to be shared with ownership AND the case has already been sent to the reporting software at least once: Display message no. 1 with a "Yes" button and a "No" button. If the user clicks on "Yes", the process continues. If the user clicks on "No", no submission is initiated, the pop-up with the message closes, but the submission window remains open.
- If all mandatory fields are filled in, a transfer with the selected parameters is created in the target system and the window closes.

message no. 1: image

Implementation Details

image

Additional Information

Please leave in all rules that have already been made like #9125 or #8576

SahaLinaPrueger avatar Jul 26 '22 20:07 SahaLinaPrueger

@JaquM-HZI

SahaLinaPrueger avatar Jul 26 '22 20:07 SahaLinaPrueger