SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 143 forks source link

Enhance National Health ID Search Functionality Across Modules and Address Duplication Issues [3] #13181

Open markusmann-vg opened 2 weeks ago

markusmann-vg commented 2 weeks ago

Problem Description

This issue is related to Search by NationalID is not consistently working in all locations · Issue #13029.

Problem Summary: Duplication Issue: Occasionally, two different individuals associated with the same National Health ID are created. It was observed this while manually processing a lab message. The duplication may stem from variations in the first and last names of these individuals.

Search Limitation in Person Module: When attempting to merge these records in the Person module, you cannot search by the National Health ID. Instead, the search results display a completely different individual, which suggests that the National Health ID search functionality may not have been included in the scope of issue #13029.

Proposed Change

  1. Enable Comprehensive National Health ID Search Across Modules:

Implement a search feature extension allowing users to search by National Health ID across the Case, Person, Contacts Sample, and Message modules. This would allow consistent and accurate retrieval of records associated with a particular National Health ID. In the Person module, specifically, enhance the search functionality to prioritize National Health ID results, reducing confusion when merging records.

  1. Prevent Duplicate Record Creation Based on National Health ID:

Implement validation logic to check for existing National Health ID entries when processing new records (e.g., lab messages) to prevent duplicate entries due to minor name variations. Display a warning or notification if a duplicate National Health ID is detected, prompting users to review and confirm before creating a new record.

Added Value/Benefit

Acceptance Criteria

Enhanced National Health ID Search Functionality Across Modules

Implementation Details

No response

Mockups

No response

Additional Information

No response