SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
Create new case, contact
Duplicate Detection / Merging
Added Value/Benefit
With this ticket users can manually process self reported messages
Acceptance Criteria
High level requirements
[x] in Self reports directory reports with Completed investigation status have a "Process" button
[x] Reports of type Case are processed into a case
[x] Reports of type Contact are processed int contacts
[x] After finished processing a case self report with case reference number and there are contacts with the same reference number and not linked to any cases, the user is asked to link those contacts to the newly created case (the user can chose to don't link)
TBD handle contacts with same ref number already linked to other cases: we could make a copy of the contact and link to the new case
Contact self report with case reference number can be linked to a case with same reference number
no case found = not linked
multiple cases found = not linked
TBD if there are multiple cases maybe offer the user to choose one
[x] a single case found = the user is asked to link the contact to it, the user has the options to choose not to link to
[x] an unprocessed case report with same reference number found = the user is asked to process that one first, the user has the option to continue the processing of the contact or stop the processing
[x] After processing a self report it is linked to a case or contact depending on it's type and it's possible to navigate to the entity resulted from processing the self report
Processing steps
1. Case
[x] Search for similar persons using the person data from the report (same as for external messages)
[x] no persons found = show case creation popup pre-filled with data from the report
[x] person(s) found = show "pick or create person" popup (same as for external messages)
[x] pick person = search for similar cases (same as for external messages)
[x] case found = show "pick or create case" popup (same as for external messages)
[x] pick case = go to next step
[x] create case = show case creation popup pre-filled
[x] no case found = show case creation popup: person data taken from the chosen person, the rest from the self report
[x] create person = show case creation popup pre-filled
[x] no person found = show case creation popup pre-filled
[x] link the case to the self report
[x] search for contact with same reference number and no case linked to
[x] if contacts found = ask the user to link them to the case
2. Contact
[x] Search for case self report with the same reference number
[x] case report found = show a confirmation popup with a recommendation to process the case report first
[x] ok = stop the processing
[x] continue = go to next step
[x] no case report found = go to next step
[x] Search for similar persons using the person data from the report (same as for external messages)
[x] no persons found = show contact creation popup pre-filled with data from the report
[x] person(s) found = show "pick or create person" popup (same as for external messages)
[x] pick person = search for similar contacts (same as for external messages)
[x] contact found = show "pick or create contact" popup (same as for external messages)
[x] pick contact = go to next step
[x] create contact = show contact creation popup pre-filled
[x] no contact found = show contact creation popup: person data taken from the chosen person, the rest from the self report
[x] create person = show contact creation popup pre-filled
[x] no person found = show contact creation popup pre-filled
[x] link the contact to the self report
[x] In both cases the last step should have a button to navigate to the resulted intity
Feature Description
Create new case, contact Duplicate Detection / Merging
Added Value/Benefit
With this ticket users can manually process self reported messages
Acceptance Criteria
High level requirements
Completed
investigation status have a "Process" buttonCase
are processed into a caseContact
are processed int contactscase
self report withcase reference number
and there are contacts with the same reference number and not linked to any cases, the user is asked to link those contacts to the newly created case (the user can chose to don't link)Contact
self report withcase reference number
can be linked to a case with same reference numbercase
report with same reference number found = the user is asked to process that one first, the user has the option to continue the processing of thecontact
or stop the processingProcessing steps
1. Case
2. Contact
Implementation Details
No response
Mockups
No response
Additional Information
No response