VSN-2114 : Fixing implementation due to newly introduced user states in mapping , saving , updating & filters.
Merge Request Description
Refactor: Filters
This commit improves the filtering logic by refining how types, observations, and circuit codes are handled. The changes ensure that filters are more consistent and reliable, reducing ambiguity in data retrieval and processing.
Refactor: Mapping Imperfections
This commit addresses issues in the mapping process by removing unjustified associations with representative circuit codes. It also introduces a test to validate the emptiness of the contacts array, ensuring data integrity and preventing incorrect mappings.
Refactor: Mass Importation
This commit enhances the mass importation process by setting the default state of imported records to "brouillon". This adjustment ensures that newly imported data is properly flagged for review before being finalized.
Refactor: State Filtering
This commit rectifies the state filtering mechanism to align with newly introduced state values. The update guarantees that filtering operations correctly reflect the expanded set of states, improving accuracy in data handling.
Feature: State Enumeration Updated
This commit updates the state enumeration to reference the latest common version in the project configuration. It also revises the state enumeration mapping within utility files, ensuring compatibility with the new state definitions and maintaining consistency across the application.
Closes VSN-2114