SORMAS-Project
SORMAS-Project copied to clipboard
S2S_ Revision of the share-box on a case/contact
Problem Description
Currently the display of the share-box on a case or contact is confusing.
Proposed Change
- The box always shows the most recent two transfers. The most recent share is at the top.
- The shares are separated from each other by a horizontal line.
- If there are more than two shares, arrows and page numbers appear at the bottom of the box with which you can scroll forwards and backwards through the events (in two steps).
A share is displayed according to the following principle:
{Direction}: {District} {Reason} {Status} Sent by: {last name}, {first name} On: {date} - {time}
| Placeholder | Description |
|---|---|
| Direction | "Shared with" (German: Übergeben an) if the current instance has initiated the transfer. "Received from" (German: Erhalten von) if the current instance is the recipient of the share |
| District | The name of the counterpart of the share. Display corresponds to the name configured in the infrastructure data. |
| Reason | "With ownership" if ownership was also handed over at the time of delivery. "to view" if the share was only for viewing. |
| Status | The status of the share. Status is dynamic and changes depending on the current status of the share request. |
| Last name | The last name of the person who originally initiated the share. |
| First name | The first name of the person who originally initiated the share. |
| Date | The date on which the share was initiated. Localised according to the current language of the logged-in user. |
| Time | The time at which the share was initiated. Format: HH:MM |
Acceptance Criteria
Implementation Details
There are no shares (This case [contact] is not shared = Dieser Fall [Kontakt] wurde bisher nicht übergeben) :

Behaviour button "share"
- By OnClick the 'share' window opens.
There are 2 shares:

Behaviour button "eye"
- By OnClick the share directory opens and the case/contact ID is filled in the filter options. So only the share requests for this case or contact are shown in the share directory.
Behaviour button "revoke"
- Only visible in source system if the status of the share is 'pending'.
- By OnClick: The share is cancelled and completely deleted in target and source system. There is no option to see the process on the surface. Not in the share-box nor in the share directory.
- Important: Before the deletion is completed, the current status of the share must be checked again to ensure that processing has not already begun in the meantime. If the second check shows that the status of the transfer is now not equal to "Open", the following error message appears:
| Locale Code | Value |
|---|---|
| de_DE | Es wurde bereits mit der Bearbeitung der Übergabe begonnen. Sie kann nicht mehr abgebrochen werden. Bitte nehmen Sie Kontakt zu der empfangenden Stelle auf falls es sich um eine fehlerhafte Übergabe handelt. |
| default | The shared data can not be revoked as it was already processed. Please contact the receiving party if you shared this data by accident |
There are more than two shares

Behaviour "arrow-buttons"
- The "Left arrow" button is deactivated when the user is on the first page. If the user is on the second page or further: By OnClick: The previous page for displaying the share is displayed. (Relative to the current page)
- The button "Arrow Right" is deactivated when the user is on the last page. If the user is not on the last page: By OnClick: The following page for displaying the shares is displayed. (Relative to the current page)
Behaviour "page number button"
- The "Page number" buttons show the page in the list that is jumped to when clicking on it. By OnClick on the button "page number" the share is shown which represents the number on the button "page number".
- A maximum of five "Page number" buttons are displayed next to each other. Always the current page (in dark blue) and the two pages before and after it, if they exist.
Additional Information
Please notice:
-As soon as a a new share is initiated, so as soon as the button 'share' on the following place is pressed successfully, a new entry in the share-box is generated in source system with the direction "shared with".

- As soon as a new share request is accepted in target system a new entry in the share-box is generated in target system with the direction "received from".
- The status is dynamic and changes depending on the current status of the share request.
@JaquM-HZI